[Mesa-dev] [Bug 111016] Building Mesa GLX with Meson for macOS fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jun 28 00:44:05 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=111016
--- Comment #2 from Matthew Bauer <mjbauer95 at gmail.com> ---
> 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.
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.
> Out of curiosity, what were the autotools options you were using on macos?
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: https://hydra.nixos.org/build/95461472
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190628/58faf091/attachment.html>
More information about the mesa-dev
mailing list