Propagate SCR resource_manager flag to libyogrt dependency (#21168)
* When the SCR spec specifies a resource_manager=SLURM or LSF flag, propagate the spec through to the libyogrt scheduler=slurm or lsf * Use libyogrt default scheduler option when the SCR spec does not specify LSF or SLURM
This commit is contained in:
parent
0e2fa561f3
commit
966f6bc2d2
@ -50,6 +50,8 @@ class Scr(CMakePackage):
|
|||||||
|
|
||||||
variant('libyogrt', default=True,
|
variant('libyogrt', default=True,
|
||||||
description="Build SCR with libyogrt for get_time_remaining.")
|
description="Build SCR with libyogrt for get_time_remaining.")
|
||||||
|
depends_on('libyogrt scheduler=slurm', when="+libyogrt resource_manager=SLURM")
|
||||||
|
depends_on('libyogrt scheduler=lsf', when="+libyogrt resource_manager=LSF")
|
||||||
depends_on('libyogrt', when="+libyogrt")
|
depends_on('libyogrt', when="+libyogrt")
|
||||||
|
|
||||||
# MySQL not yet in spack
|
# MySQL not yet in spack
|
||||||
|
Loading…
Reference in New Issue
Block a user