'meson configure' returns 'auto' for a lot of options. I'm interested
in what meson chose.

Marek

On Mon, Sep 17, 2018 at 6:09 PM, Caio Marcelo de Oliveira Filho
<caio.olive...@intel.com> wrote:
> On Mon, Sep 17, 2018 at 05:18:52PM -0400, Marek Olšák wrote:
>> If I configure meson, how can I know which state trackers, APIs, and
>> backends are enabled?
>
> 'meson configure' in the build directory gives you that information
> (at least some of it).  That might give you some information.  Part of
> the output looks like
>
>     Project options:
>       Option             Current Value Possible Values                        
>                                                                               
>           Description
>       ------             ------------- ---------------                        
>                                                                               
>           -----------
>       asm                true          [true, false]                          
>                                                                               
>           Build assembly code if possible
>       build-tests        true          [true, false]                          
>                                                                               
>           Build unit tests. Currently this will build *all* unit tests, which 
> may build more than expected.
>       d3d-drivers-path                                                        
>                                                                               
>           Location of D3D drivers. Default: $libdir/d3d
>       dri-drivers        []            [, auto, i915, i965, r100, r200, 
> nouveau, swrast]                                                              
>                 List of dri drivers to build. If this is set to auto all 
> drivers applicable to the target OS/architecture will be built
>       dri-drivers-path                                                        
>                                                                               
>           Location to install dri drivers. Default: $libdir/dri.
>       dri-search-path                                                         
>                                                                               
>           Locations to search for dri drivers, passed as colon separated 
> list. Default: dri-drivers-path.
>       dri3               auto          [auto, true, false]                    
>                                                                               
>           enable support for dri3
>       egl                auto          [auto, true, false]                    
>                                                                               
>           Build support for EGL platform
>       gallium-drivers    [iris]        [, auto, pl111, radeonsi, r300, r600, 
> nouveau, freedreno, swrast, v3d, vc4, etnaviv, imx, tegra, i915, svga, virgl, 
> swr, iris] List of gallium drivers to build. If this is set to auto all 
> drivers applicable to the target OS/architecture will be built
>       gallium-extra-hud  false         [true, false]                          
>                                                                               
>           Enable HUD block/NIC I/O HUD status support
>       gallium-nine       false         [true, false]                          
>                                                                               
>           build gallium "nine" Direct3D 9.x state tracker.
>       gallium-omx        auto          [auto, disabled, bellagio, tizonia]    
>                                                                               
>           enable gallium omx state tracker.
>       gallium-opencl     disabled      [icd, standalone, disabled]            
>                                                                               
>           build gallium "clover" OpenCL state tracker.
>       gallium-va         auto          [auto, true, false]                    
>                                                                               
>           enable gallium va state tracker.
>       gallium-vdpau      auto          [auto, true, false]                    
>                                                                               
>           enable gallium vdpau state tracker.
>       gallium-xa         auto          [auto, true, false]                    
>                                                                               
>           enable gallium xa state tracker.
>       gallium-xvmc       auto          [auto, true, false]                    
>                                                                               
>           enable gallium xvmc state tracker.
>       gbm                auto          [auto, true, false]                    
>                                                                               
>           Build support for gbm platform
>       gles1              true          [true, false]                          
>                                                                               
>           Build support for OpenGL ES 1.x
>       gles2              true          [true, false]                          
>                                                                               
>           Build support for OpenGL ES 2.x and 3.x
>       glvnd              false         [true, false]                          
>                                                                               
>           Enable GLVND support.
>       glx                auto          [auto, disabled, dri, xlib, 
> gallium-xlib]                                                                 
>                      Build support for GLX platform
>       glx-read-only-text false         [true, false]                          
>                                                                               
>           Disable writable .text section on x86 (decreases performance)
>       libunwind          auto          [auto, true, false]                    
>                                                                               
>           Use libunwind for stack-traces
>       llvm               auto          [auto, true, false]                    
>                                                                               
>           Build with LLVM support.
>       lmsensors          auto          [auto, true, false]                    
>                                                                               
>           Enable HUD lmsensors support.
>       omx-libs-path                                                           
>                                                                               
>           path to put omx libraries. defaults to omx-bellagio pkg-config 
> pluginsdir.
>       opengl             true          [true, false]                          
>                                                                               
>           Build support for OpenGL (all versions)
>       osmesa             none          [none, classic, gallium]               
>                                                                               
>           Build OSmesa.
>       osmesa-bits        8             [8, 16, 32]                            
>                                                                               
>           Number of channel bits for OSMesa.
>       platforms          [auto]        [, auto, x11, wayland, drm, 
> surfaceless, haiku, android]                                                  
>                      comma separated list of window systems to support. If 
> this is set to auto all platforms applicable to the OS will be enabled.
>       power8             auto          [auto, true, false]                    
>                                                                               
>           Enable power8 optimizations.
>       selinux            false         [true, false]                          
>                                                                               
>           Build an SELinux-aware Mesa
>       shader-cache       true          [true, false]                          
>                                                                               
>           Build with on-disk shader cache support
>       shared-glapi       true          [true, false]                          
>                                                                               
>           Whether to build a shared or static glapi
>       swr-arches         [avx, avx2]   [avx, avx2, knl, skx]                  
>                                                                               
>           Architectures to build SWR support for.
>       tools              [intel]       [freedreno, glsl, intel, intel-ui, 
> nir, nouveau, xvmc, all]                                                      
>               List of tools to build.
>       va-libs-path                                                            
>                                                                               
>           path to put va libraries. defaults to $libdir/dri.
>       valgrind           auto          [auto, true, false]                    
>                                                                               
>           Build with valgrind support
>       vdpau-libs-path                                                         
>                                                                               
>           path to put vdpau libraries. defaults to $libdir/vdpau.
>       vulkan-drivers     []            [, auto, amd, intel]                   
>                                                                               
>           List of vulkan drivers to build. If this is set to auto all drivers 
> applicable to the target OS/architecture will be built
>       vulkan-icd-dir                                                          
>                                                                               
>           Location relative to prefix to put vulkan icds on install. Default: 
> $datadir/vulkan/icd.d
>       xlib-lease         auto          [auto, true, false]                    
>                                                                               
>           Enable VK_EXT_acquire_xlib_display.
>       xvmc-libs-path
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to