summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-01-13 00:11:50 +0100
committerGitHub <noreply@github.com>2021-01-12 17:11:50 -0600
commitb3419c06c519b058a69401eaccd3f6e4a179d91d (patch)
treee260d4ec07b259e062f1eee8e28b1bce17e43f96 /var
parent823ab32c10612b3bc52589bbf5d02b7404f6f6a2 (diff)
downloadspack-b3419c06c519b058a69401eaccd3f6e4a179d91d.tar.gz
spack-b3419c06c519b058a69401eaccd3f6e4a179d91d.tar.bz2
spack-b3419c06c519b058a69401eaccd3f6e4a179d91d.tar.xz
spack-b3419c06c519b058a69401eaccd3f6e4a179d91d.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.
Diffstat (limited to 'var')
-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 0cc104225d..7d7c2c74ca 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