summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorpsakievich <psakiev@sandia.gov>2024-03-27 09:39:07 -0600
committerGitHub <noreply@github.com>2024-03-27 15:39:07 +0000
commit27a8eb0f68d6446b60623cbe05554103aacbe138 (patch)
treec6ad7d690201c23af8a994e86a7b0c204b007396 /etc
parent4cd993070f911680efb0e504a74ecb4d692addcb (diff)
downloadspack-27a8eb0f68d6446b60623cbe05554103aacbe138.tar.gz
spack-27a8eb0f68d6446b60623cbe05554103aacbe138.tar.bz2
spack-27a8eb0f68d6446b60623cbe05554103aacbe138.tar.xz
spack-27a8eb0f68d6446b60623cbe05554103aacbe138.zip
Add config option and compiler support to reuse across OS's (#42693)
* Allow compilers to function across compatible OS's * Add documentation in the default yaml Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> Co-authored-by: Gregory Becker <becker33@llnl.gov>
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/concretizer.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/spack/defaults/concretizer.yaml b/etc/spack/defaults/concretizer.yaml
index edefa552ce..5512cde24d 100644
--- a/etc/spack/defaults/concretizer.yaml
+++ b/etc/spack/defaults/concretizer.yaml
@@ -42,3 +42,8 @@ concretizer:
# "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: minimal
+ # Option to specify compatiblity between operating systems for reuse of compilers and packages
+ # Specified as a key: [list] where the key is the os that is being targeted, and the list contains the OS's
+ # it can reuse. Note this is a directional compatibility so mutual compatibility between two OS's
+ # requires two entries i.e. os_compatible: {sonoma: [monterey], monterey: [sonoma]}
+ os_compatible: {}