summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2020-07-31 12:58:48 +0200
committerPeter Scheibel <scheibel1@llnl.gov>2020-08-10 11:59:05 -0700
commit193e8333fa23a2e9b44d44a80e153d9a27033860 (patch)
treeb2f8f03ced8aeb13694ff37085f0cd8c46e5e5e5 /etc
parent1398038beead1a1532fc337165e2b6bf9d58c284 (diff)
downloadspack-193e8333fa23a2e9b44d44a80e153d9a27033860.tar.gz
spack-193e8333fa23a2e9b44d44a80e153d9a27033860.tar.bz2
spack-193e8333fa23a2e9b44d44a80e153d9a27033860.tar.xz
spack-193e8333fa23a2e9b44d44a80e153d9a27033860.zip
Update packages.yaml format and support configuration updates
The YAML config for paths and modules of external packages has changed: the new format allows a single spec to load multiple modules. Spack will automatically convert from the old format when reading the configs (the updates do not add new essential properties, so this change in Spack is backwards-compatible). With this update, Spack cannot modify existing configs/environments without updating them (e.g. “spack config add” will fail if the configuration is in a format that predates this PR). The user is prompted to do this explicitly and commands are provided. All config scopes can be updated at once. Each environment must be updated one at a time.
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/darwin/packages.yaml13
1 files changed, 8 insertions, 5 deletions
diff --git a/etc/spack/defaults/darwin/packages.yaml b/etc/spack/defaults/darwin/packages.yaml
index b2bcd560c6..948e90ea5a 100644
--- a/etc/spack/defaults/darwin/packages.yaml
+++ b/etc/spack/defaults/darwin/packages.yaml
@@ -21,11 +21,14 @@ packages:
- gcc
- intel
providers:
- elf: [libelf]
- unwind: [apple-libunwind]
+ elf:
+ - libelf
+ unwind:
+ - apple-libunwind
apple-libunwind:
- paths:
+ buildable: false
+ externals:
# 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
+ - spec: apple-libunwind@35.3
+ prefix: /usr