summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2023-06-29 11:26:25 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2023-08-15 15:54:37 -0700
commit9f8edbf6bf6bb86ac448f6132f766e65ae1424ef (patch)
tree27578f052f5d254d06014e85bb7f216c36859775 /etc
parenta4301badef44b52aa7cb15997be0b031bdfff6e3 (diff)
downloadspack-9f8edbf6bf6bb86ac448f6132f766e65ae1424ef.tar.gz
spack-9f8edbf6bf6bb86ac448f6132f766e65ae1424ef.tar.bz2
spack-9f8edbf6bf6bb86ac448f6132f766e65ae1424ef.tar.xz
spack-9f8edbf6bf6bb86ac448f6132f766e65ae1424ef.zip
Add a new configuration option to select among different concretization modes
The "concretizer" section has been extended with a "duplicates:strategy" attribute, that can take three values: - "none": only 1 node per package - "minimal": allow multiple nodes opf specific packages - "full": allow full duplication for a build tool
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/concretizer.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/spack/defaults/concretizer.yaml b/etc/spack/defaults/concretizer.yaml
index caf500eb1f..598bb8c349 100644
--- a/etc/spack/defaults/concretizer.yaml
+++ b/etc/spack/defaults/concretizer.yaml
@@ -36,3 +36,9 @@ concretizer:
# on each root spec, allowing different versions and variants of the same package in
# an environment.
unify: true
+ # Option to deal with possible duplicate nodes (i.e. different nodes from the same package) in the DAG.
+ duplicates:
+ # "none": allows a single node for any package in the DAG.
+ # "minimal": allows the duplication of 'build-tools' nodes only (e.g. py-setuptools, cmake etc.)
+ # "full" (experimental): allows separation of the entire build-tool stack (e.g. the entire "cmake" subDAG)
+ strategy: none \ No newline at end of file