[Mesa-users] Mesa ./configure options

STEVEN WARD stevenward666 at hotmail.com
Tue Jun 28 12:04:34 PDT 2011




Hi all,
        I have been compiling Mesa from git. I have noticed there have been
a lot of changes to building the  gallium drivers using the ./configure
options.  The ones I'm currently using at the moment are:
./autogen.sh --prefix=/home/steve/xorg-git --enable-debug --enable-xcb
--enable-glx-tls --enable-asm --enable-xorg --with-dri-drivers=
--with-gallium-drivers=nouveau,swrast --with-expat=/home/steve/xorg-git/lib
--with-state-trackers=glx,dri,drm --disable-egl
 
The resulting output before running gmake is:
 
configure: WARNING: unrecognized options: --with-state-trackers
 
        prefix:          /home/steve/xorg-git
        exec_prefix:     ${prefix}
        libdir:          ${exec_prefix}/lib
        includedir:      ${prefix}/include
 
        OpenGL:          yes (ES1: no ES2: no)
        OpenVG:          no
 
        Driver:          dri
        OSMesa:          no
        DRI drivers:     no
        DRI driver dir:  ${libdir}/dri
        Use XCB:         yes
        Shared dricore:  no
 
        GLU:             yes
        GLw:             yes (Motif: no)
        glut:            yes
 
        EGL:             no
 
        llvm:            yes
        llvm-config:     /usr/bin/llvm-config
        llvm-version:    2.8
 
        Gallium:         yes
        Gallium dirs:    auxiliary drivers state_trackers
        Target dirs:     dri-nouveau dri-swrast xorg-nouveau 
        Winsys dirs:     i915/sw nouveau/drm sw sw/dri sw/xlib 
        Driver dirs:     failover galahad i915 i965 identity llvmpipe noop
nouveau nv50 nvc0 nvfx r300 rbug softpipe svga trace 
        Trackers dirs:   dri xorg 
 
        Shared libs:     yes
        Static libs:     no
 
        CFLAGS:          -g -O2 -Wall -Wmissing-prototypes -std=c99
-ffast-math -fno-strict-aliasing -g -fPIC
        CXXFLAGS:        -g -O2 -Wall -fno-strict-aliasing -g -fPIC
        Macros:          -D_GNU_SOURCE -DPTHREADS -DDEBUG
-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_XEXTPROTO_71 -DGALLIUM_LLVMPIPE
-D__STDC_CONSTANT_MACROS -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM
-DUSE_SSE_ASM
 
        PYTHON2:         python2
 
        Run 'gmake' to build Mesa
 
Gmake builds all of those  Driver dirs:     failover galahad i915 i965
identity llvmpipe noop nouveau nv50 nvc0 nvfx r300 rbug softpipe svga  I
only need to build the nvfx and the other stuff it depends on(I already have
got the latest DRM,Nouveau-kernel and the DDX driver built from git).
 
So to cut a long story short,which ./configure options I need to pass to
build just the nvfx and optionally,just the llvmpipe driver?
 
Regards,
            STEVE555
  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20110628/a154f587/attachment.htm>


More information about the mesa-users mailing list