From 193e8333fa23a2e9b44d44a80e153d9a27033860 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Fri, 31 Jul 2020 12:58:48 +0200 Subject: Update packages.yaml format and support configuration updates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- etc/spack/defaults/darwin/packages.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'etc') 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 -- cgit v1.2.3-70-g09d2