
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.
35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
# -------------------------------------------------------------------------
|
|
# This file controls default concretization preferences for Spack.
|
|
#
|
|
# Settings here are versioned with Spack and are intended to provide
|
|
# sensible defaults out of the box. Spack maintainers should edit this
|
|
# file to keep it current.
|
|
#
|
|
# Users can override these settings by editing the following files.
|
|
#
|
|
# Per-spack-instance settings (overrides defaults):
|
|
# $SPACK_ROOT/etc/spack/packages.yaml
|
|
#
|
|
# Per-user settings (overrides default and site settings):
|
|
# ~/.spack/packages.yaml
|
|
# -------------------------------------------------------------------------
|
|
packages:
|
|
all:
|
|
compiler:
|
|
- apple-clang
|
|
- clang
|
|
- gcc
|
|
- intel
|
|
providers:
|
|
elf:
|
|
- libelf
|
|
unwind:
|
|
- apple-libunwind
|
|
apple-libunwind:
|
|
buildable: false
|
|
externals:
|
|
# Apple bundles libunwind version 35.3 with macOS 10.9 and later,
|
|
# although the version number used here isn't critical
|
|
- spec: apple-libunwind@35.3
|
|
prefix: /usr
|