summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorGeoffrey Malcolm Oxberry <goxberry@gmail.com>2018-07-30 01:52:01 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2018-08-06 22:01:50 -0700
commitec0050a1bba50394126c454ad24cf1e3f4c37cad (patch)
treefb6159dde46328065f34d681014937a35936b0bd /etc
parent163fc4cd188cf644f06ef5680b35f7010a3b2059 (diff)
downloadspack-ec0050a1bba50394126c454ad24cf1e3f4c37cad.tar.gz
spack-ec0050a1bba50394126c454ad24cf1e3f4c37cad.tar.bz2
spack-ec0050a1bba50394126c454ad24cf1e3f4c37cad.tar.xz
spack-ec0050a1bba50394126c454ad24cf1e3f4c37cad.zip
darwin packages.yaml defaults: add unwind provider
This commit adds default unwind providers to the default packages.yaml for darwin. Compiler versions are supplied with the apple-unwind package so that apple-unwind is only used with Apple's clang fork, and not with LLVM's clang.
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/darwin/packages.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/spack/defaults/darwin/packages.yaml b/etc/spack/defaults/darwin/packages.yaml
index cc797c848d..1150f6bab7 100644
--- a/etc/spack/defaults/darwin/packages.yaml
+++ b/etc/spack/defaults/darwin/packages.yaml
@@ -18,3 +18,10 @@ packages:
compiler: [clang, gcc, intel]
providers:
elf: [libelf]
+ unwind: [apple-libunwind]
+ apple-libunwind:
+ paths:
+ # Apple bundles libunwind version 35.3 with macOS 10.9 and later,
+ # although the version number used here isn't critical
+ apple-libunwind@35.3: /usr
+ buildable: False