summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2020-04-26 17:07:13 -0700
committerGitHub <noreply@github.com>2020-04-26 17:07:13 -0700
commit4f3cc19ec7dca204f3c3b75fb838142b567f27e0 (patch)
treeb4f16dd61dc76996a04460d24447265d86adb37c /var
parent199ce66a3c42c9351064019059a490809223c4e4 (diff)
downloadspack-4f3cc19ec7dca204f3c3b75fb838142b567f27e0.tar.gz
spack-4f3cc19ec7dca204f3c3b75fb838142b567f27e0.tar.bz2
spack-4f3cc19ec7dca204f3c3b75fb838142b567f27e0.tar.xz
spack-4f3cc19ec7dca204f3c3b75fb838142b567f27e0.zip
qt: fix macOS w/ AppleClang (mesa libs) (#16302)
Building the `py-jupyter` stack on macOS with AppleClang breaks on the `py-qtconsole` -> `py-qtconsole` -> `qt +opengl` package build environment setup with: ``` ==> Error: AttributeError: Query of package 'mesa' for 'libs' failed ... ==> Error: Failed to install qt due to ChildError: AttributeError: Query of package 'mesa' for 'libs' failed ``` This tries to add more library targets build by `mesa` to avoid this.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/mesa/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py
index 5a2893a645..b277a03d19 100644
--- a/var/spack/repos/builtin/packages/mesa/package.py
+++ b/var/spack/repos/builtin/packages/mesa/package.py
@@ -13,6 +13,7 @@ class Mesa(AutotoolsPackage):
- a system for rendering interactive 3D graphics."""
homepage = "http://www.mesa3d.org"
+ maintainers = ['v-dobrev']
# Note that we always want to build from the git repo instead of a
# tarball since the tarball has pre-generated files for certain versions
@@ -180,7 +181,8 @@ class Mesa(AutotoolsPackage):
@property
def libs(self):
for dir in ['lib64', 'lib']:
- libs = find_libraries('libGL', join_path(self.prefix, dir),
+ libs = find_libraries(['libGL', 'libOSMesa'],
+ join_path(self.prefix, dir),
shared=True, recursive=False)
if libs:
return libs