summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-01-13 00:11:50 +0100
committerTamara Dahlgren <dahlgren1@llnl.gov>2021-02-17 17:07:41 -0800
commitffa8479004a844b55ea4c1b04029aba28a5aff7d (patch)
tree70a47c7d50bf04214733d7fbd8184f0adbb07b28
parentc99850dd5842cc74382d2b61777797178ca921ed (diff)
downloadspack-ffa8479004a844b55ea4c1b04029aba28a5aff7d.tar.gz
spack-ffa8479004a844b55ea4c1b04029aba28a5aff7d.tar.bz2
spack-ffa8479004a844b55ea4c1b04029aba28a5aff7d.tar.xz
spack-ffa8479004a844b55ea4c1b04029aba28a5aff7d.zip
libyogrt: remove conflicts triggered by an invalid value (#20794)
fixes #20611 The conflict was triggered by an invalid value of the 'scheduler' variant. This causes Spack to error when libyogrt facts are validated by the ASP-based concretizer.
-rw-r--r--var/spack/repos/builtin/packages/libyogrt/package.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/libyogrt/package.py b/var/spack/repos/builtin/packages/libyogrt/package.py
index a1ed17b3f1..c3612026db 100644
--- a/var/spack/repos/builtin/packages/libyogrt/package.py
+++ b/var/spack/repos/builtin/packages/libyogrt/package.py
@@ -34,13 +34,11 @@ class Libyogrt(AutotoolsPackage):
variant('scheduler', default='system',
description="Select scheduler integration",
values=['system', 'slurm'], multi=False)
- depends_on('slurm', when='scheduler=slurm')
-
- conflicts('scheduler=lsf', when='@:1.22')
-
variant('static', default='False',
description="build static library")
+ depends_on('slurm', when='scheduler=slurm')
+
def url_for_version(self, version):
if version < Version(1.21):
return "https://github.com/LLNL/libyogrt/archive/%s.tar.gz" % version