<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Building Mesa GLX with Meson for macOS fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111016#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Building Mesa GLX with Meson for macOS fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111016">bug 111016</a>
from <span class="vcard"><a class="email" href="mailto:mjbauer95@gmail.com" title="Matthew Bauer <mjbauer95@gmail.com>"> <span class="fn">Matthew Bauer</span></a>
</span></b>
<pre><span class="quote">> The three software rasterizers (swrast, softpipe/llvmpipe, and swr) work on macos. This configuraiton looks really strange though, because you're going to end up with gallium state trackers (vdpau and xvmc), as well as a libgles, but no drivers.</span >
Ah ok! I did not realize that those worked on macOS. The configure flags do
look incorrect, and might be the source of this issue. Some of this code is
shared between Linux and macOS so that is where those values are coming from.
Looking at it now, we should probably rely on the auto setting which will do
the correct thing in most of these cases.
<span class="quote">> Out of curiosity, what were the autotools options you were using on macos?</span >
Here are the flags for autotools, which I have verified works:
```
--disable-static
--disable-dependency-tracking
--prefix=/nix/store/...-mesa-18.3.4
--bindir=/nix/store/...-mesa-18.3.4/bin
--sbindir=/nix/store/h6q3fg99xyl2bxcxxs9jq0ha2i7m0lfz-mesa-18.3.4/sbin
--includedir=/nix/store/7hxd1gvph3fy9h8ffrashfjy7msvjpbk-mesa-18.3.4-dev/include
--oldincludedir=/nix/store/7hxd1gvph3fy9h8ffrashfjy7msvjpbk-mesa-18.3.4-dev/include
--mandir=/nix/store/h6q3fg99xyl2bxcxxs9jq0ha2i7m0lfz-mesa-18.3.4/share/man
--infodir=/nix/store/h6q3fg99xyl2bxcxxs9jq0ha2i7m0lfz-mesa-18.3.4/share/info
--docdir=/nix/store/h6q3fg99xyl2bxcxxs9jq0ha2i7m0lfz-mesa-18.3.4/share/doc/mesa
--libdir=/nix/store/h6q3fg99xyl2bxcxxs9jq0ha2i7m0lfz-mesa-18.3.4/lib
--libexecdir=/nix/store/h6q3fg99xyl2bxcxxs9jq0ha2i7m0lfz-mesa-18.3.4/libexec
--localedir=/nix/store/h6q3fg99xyl2bxcxxs9jq0ha2i7m0lfz-mesa-18.3.4/share/locale
--sysconfdir=/run/opengl-driver/etc
--localstatedir=/var
--with-dri-driverdir=\$\(drivers\)/lib/dri
--with-dri-searchpath=/run/opengl-driver/lib/dri
--with-platforms=x11
--with-gallium-drivers=
--with-dri-drivers=
--with-vulkan-drivers=
--enable-texture-float
--disable-dri3
--disable-nine
--disable-libglvnd
--enable-dri
--enable-driglx-direct
--enable-gles1
--enable-gles2
--enable-glx
--enable-glx-tls
--disable-gallium-osmesa
--enable-llvm
--disable-egl
--disable-xa
--disable-gbm
--enable-xvmc
--enable-vdpau
--enable-shared-glapi
--enable-llvm-shared-libs
--disable-omx-bellagio
--disable-va
--disable-opencl
```
Full log: <a href="https://hydra.nixos.org/build/95461472">https://hydra.nixos.org/build/95461472</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>