[Mesa-dev] Suggestions for improving meson-based builds

Lionel Landwerlin lionel.g.landwerlin at intel.com
Mon Dec 17 11:59:17 UTC 2018


On 17/12/2018 00:33, Jason Ekstrand wrote:
> On Sun, Dec 16, 2018 at 1:49 PM Ilia Mirkin <imirkin at alum.mit.edu 
> <mailto:imirkin at alum.mit.edu>> wrote:
>
>     1. Build creation command recovery. With autotools, "head config.log"
>     will tell you how you configured it. This is important when things get
>     screwed up, and so has to be available in plain text somewhere. There
>     are a variety of other occasions where this can be useful -- debugging
>     someone else's build, creating a second build for yourself with a few
>     options changed, etc.
>
>
> I'm not sure that this is necessary but I agree that it is useful.  I 
> think Dylan said someone was working on this?


build/build.ninja contains this line, seems to be close enough to what 
Ilia's looking for :


  COMMAND = /home/djdeath/.local/bin/meson --internal scanbuild 
/home/djdeath/src/mesa-src/mesa /home/djdeath/src/mesa-src/mesa/build 
/home/djdeath/.local/bin/meson -Dasm=true -Dbuild-tests=true 
-Dd3d-drivers-path= -Ddri-drivers-path= '-Ddri-drivers=['"'"'i915'"'"',$ 
'"'"'i965'"'"']' -Ddri-search-path= -Ddri3=auto -Degl=auto 
'-Dgallium-drivers=[]' -Dgallium-extra-hud=false -Dgallium-nine=false 
-Dgallium-omx=auto -Dgallium-opencl=disabled -Dgallium-va=auto 
-Dgallium-vdpau=false -Dgallium-xa=auto -Dgallium-xvmc=auto -Dgbm=auto 
-Dgles1=true -Dgles2=true -Dglvnd=false -Dglx-read-only-text=false 
-Dglx=dri -Dlibunwind=auto -Dllvm=auto -Dlmsensors=auto -Domx-libs-path= 
-Dopengl=true -Dosmesa-bits=8 -Dosmesa=none 
'-Dplatforms=['"'"'x11'"'"',$ '"'"'drm'"'"',$ '"'"'wayland'"'"',$ 
'"'"'surfaceless'"'"']' -Dpower8=auto -Dselinux=false 
-Dshader-cache=true -Dshared-glapi=true -Dshared-llvm=true 
'-Dswr-arches=['"'"'avx'"'"',$ '"'"'avx2'"'"']' 
'-Dtools=['"'"'intel-ui'"'"']' -Dva-libs-path= -Dvalgrind=auto 
-Dvdpau-libs-path= '-Dvulkan-drivers=['"'"'intel'"'"']' 
-Dvulkan-icd-dir= -Dxlib-lease=auto -Dxvmc-libs-path=


Sure we can probably make it more readable...


-

Lionel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181217/f93a2a1d/attachment-0001.html>


More information about the mesa-dev mailing list