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.
This commit is contained in:
parent
823ab32c10
commit
b3419c06c5
1 changed files with 2 additions and 4 deletions
|
@ -34,13 +34,11 @@ class Libyogrt(AutotoolsPackage):
|
||||||
variant('scheduler', default='system',
|
variant('scheduler', default='system',
|
||||||
description="Select scheduler integration",
|
description="Select scheduler integration",
|
||||||
values=['system', 'slurm'], multi=False)
|
values=['system', 'slurm'], multi=False)
|
||||||
depends_on('slurm', when='scheduler=slurm')
|
|
||||||
|
|
||||||
conflicts('scheduler=lsf', when='@:1.22')
|
|
||||||
|
|
||||||
variant('static', default='False',
|
variant('static', default='False',
|
||||||
description="build static library")
|
description="build static library")
|
||||||
|
|
||||||
|
depends_on('slurm', when='scheduler=slurm')
|
||||||
|
|
||||||
def url_for_version(self, version):
|
def url_for_version(self, version):
|
||||||
if version < Version(1.21):
|
if version < Version(1.21):
|
||||||
return "https://github.com/LLNL/libyogrt/archive/%s.tar.gz" % version
|
return "https://github.com/LLNL/libyogrt/archive/%s.tar.gz" % version
|
||||||
|
|
Loading…
Reference in a new issue