FS#26282 - [mesa] Configure options

Attached to Project: Arch Linux
Opened by Martin Stolpe (BertiBoeller) - Wednesday, 05 October 2011, 19:05 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 18 November 2011, 07:04 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello,

according to the mesa's configure.ac file the following options should be enabled by default so they could be removed from the PKGBUILD:
--enable-gallium-llvm: default=enabled on x86/x86_64
--enable-egl: default=enabled

The
--enable_egl
option seems (I didn't see it used somewhere else) only be needed by the OpenVG state tracker
--enablen-openvg
which is currently not enabled.


Best regards
Martin
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 18 November 2011, 07:04 GMT
Reason for closing:  Not a bug
Comment by Martin Stolpe (BertiBoeller) - Wednesday, 05 October 2011, 19:27 GMT
Forgot the following two options which are marked as deprecated, so they should be probably removed from the build script:
--with-driver=dri
--disable-glut
Comment by Andreas Radke (AndyRTR) - Monday, 31 October 2011, 17:38 GMT
In the 7.11 tree I get this ./configure --help for these options:


--enable-gallium-llvm build gallium LLVM support [default=enabled on
x86/x86_64]
--disable-egl disable EGL library [default=enabled]
--enable-openvg enable support for OpenVG API [default=no]
--with-driver=DRIVER driver for Mesa: xlib,dri,osmesa [default=dri when
available, or xlib]
--disable-glut enable GLUT library [default=enabled if source
available]

giving this as wanted:

prefix: /usr
exec_prefix: ${prefix}
libdir: ${exec_prefix}/lib
includedir: ${prefix}/include

OpenGL: yes (ES1: yes ES2: yes)
OpenVG: no

Driver: dri
OSMesa: no
DRI drivers: i915 i965 mach64 mga nouveau r128 r200 r300 r600 radeon savage tdfx unichrome swrast
DRI driver dir: /usr/lib/xorg/modules/dri
Use XCB: yes
Shared dricore: yes

GLU: yes
GLw: yes (Motif: no)
glut: no

EGL: yes
EGL platforms: x11
EGL drivers: builtin:egl_glx builtin:egl_dri2 egl_gallium
EGL Gallium STs: $(GL_LIB)

llvm: yes
llvm-config: /usr/bin/llvm-config
llvm-version: 2.9

Gallium: yes
Gallium dirs: auxiliary drivers state_trackers
Target dirs: egl-static dri-r300 dri-r600 dri-nouveau dri-swrast
Winsys dirs: sw sw/xlib sw/dri i915/sw radeon/drm r600/drm nouveau/drm
Driver dirs: softpipe failover galahad trace rbug noop identity llvmpipe i915 i965 r300 svga r600 nouveau nvfx nv50 nvc0
Trackers dirs: egl dri

Shared libs: yes
Static libs: no

CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC
CXXFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -fno-strict-aliasing -fPIC
Macros: -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DUSE_X86_64_ASM

PYTHON2: python2

Run 'make' to build Mesa


I don't see any "deprecated" info or usually configure tells about "unsupported" options. So I'd prefer to keep them all until the will be stated as unsupported by configure. Right now they don't touch our pkg in an unwanted way.

PS: I'd like to keep even the default options just to know what I want to configure and to be able to check what configure prints.
Comment by Martin Stolpe (BertiBoeller) - Tuesday, 01 November 2011, 09:33 GMT
Oh, I was using the git version of mesa, that could explain things. So my comment above won't be valid until mesa 7.12 is released...

Loading...