summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-03-26 15:22:38 +0100
committerGitHub <noreply@github.com>2021-03-26 09:22:38 -0500
commit35c3a25ca68ad603e896a8e3424ae4d23e2befcc (patch)
treef693124c74c60a286431e4332fe581374895e9fb /var
parent730c030ee5ff631cee79c3a9d20cff9865b7c03c (diff)
downloadspack-35c3a25ca68ad603e896a8e3424ae4d23e2befcc.tar.gz
spack-35c3a25ca68ad603e896a8e3424ae4d23e2befcc.tar.bz2
spack-35c3a25ca68ad603e896a8e3424ae4d23e2befcc.tar.xz
spack-35c3a25ca68ad603e896a8e3424ae4d23e2befcc.zip
ASP-based solver: model disjoint sets for multivalued variants (#22534)
* ASP-based solver: avoid adding values to variants when they're set fixes #22533 fixes #21911 Added a rule that prevents any value to slip in a variant when the variant is set explicitly. This is relevant for multi-valued variants, in particular for those that have disjoint sets of values. * Ensure disjoint sets have a clear semantics for external packages
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin.mock/packages/mvapich2/package.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin.mock/packages/mvapich2/package.py b/var/spack/repos/builtin.mock/packages/mvapich2/package.py
new file mode 100644
index 0000000000..dd62fc4c71
--- /dev/null
+++ b/var/spack/repos/builtin.mock/packages/mvapich2/package.py
@@ -0,0 +1,15 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+class Mvapich2(Package):
+ homepage = "http://www.homepage.org"
+ url = "http://www.someurl"
+
+ version('1.5', '9c5d5d4fe1e17dd12153f40bc5b6dbc0')
+
+ variant(
+ 'file_systems',
+ description='List of the ROMIO file systems to activate',
+ values=auto_or_any_combination_of('lustre', 'gpfs', 'nfs', 'ufs'),
+ )