OSX Monterey (12.3) with mesa (or OpenGL)

52 views
Skip to first unread message

the.ren...@gmail.com

unread,
May 9, 2022, 7:57:37 PM5/9/22
to Spack
I recently upgraded to Monterey 12.3 (clang-13.1.6). So far, most of the packages I need have built just fine, lmod, libtiff, openvdb, ...I'm trying to build OpenImageIO with the qt viewer. In the package '+qt' pulls in opengl, which is choosing mesa as the provider.

I've run into a number of issues (listed later) that I found workarounds, but the mesa package is crashing in the meson build step with executables that seg fault. I have found nothing on mesa, meson, or anywhere else with this issue on the 'net. It may be a weird configuration with meson as at one point, it appeared to be configuring against gcc (can't find the log now).

As anyone seen this? And, if I wanted to switch the provider to built-in OpenGL, does anyone have an exemplar packages.yaml with an OpenGL config?

Mark

Issues:
- The LLVM (14) build crashes if I'm not using a mixed-compile chain. It seems to be a bug with it using an 'arm' target (along with x86_64) and -march=skylake on an intel mac. I tried knocking out the arm config in the package but that didn't work.
- I build gcc to get fortran. If gcc is active while building lmod, lua-luafilesystem crashes with a weird error
- On my mac, using 'spack external find --all' winds up causing a bunch of weird errors (don't remember which) later in the build process. I stopped using externals at all with monterey.
Reply all
Reply to author
Forward
0 new messages