summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Pritchard <hppritcha@gmail.com>2019-09-07 21:33:30 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2019-09-07 22:33:30 -0500
commit1a38285be91fdf2050d96b8cfafecd79a3fe82d9 (patch)
treefd3583d068e4a8507d35da2572325c967d136ef1
parentc3a25280229c50964d64fc139929c69d8ec570b3 (diff)
downloadspack-1a38285be91fdf2050d96b8cfafecd79a3fe82d9.tar.gz
spack-1a38285be91fdf2050d96b8cfafecd79a3fe82d9.tar.bz2
spack-1a38285be91fdf2050d96b8cfafecd79a3fe82d9.tar.xz
spack-1a38285be91fdf2050d96b8cfafecd79a3fe82d9.zip
mesa: disable use of libunwind for arm arch (#12735)
There are problems with libunwind for arm and trying to use it with mesa. See for example: https://github.com/grate-driver/mesa/issues/6 disabling use of libunwind for arm, allows the package to be built Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/mesa/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py
index 9cc0801dad..dba6c5d982 100644
--- a/var/spack/repos/builtin/packages/mesa/package.py
+++ b/var/spack/repos/builtin/packages/mesa/package.py
@@ -101,6 +101,9 @@ class Mesa(AutotoolsPackage):
args_gallium_drivers = ['swrast']
args_dri_drivers = []
+ if 'arm' in spec.architecture.target.lower():
+ args.append('--disable-libunwind')
+
num_frontends = 0
if '+osmesa' in spec:
num_frontends += 1