Fixing problems caused by a comfused spack concretizer (#17797)

This commit is contained in:
G-Ragghianti
2020-07-30 23:01:48 -04:00
committed by GitHub
parent 6fb8946dd5
commit b86e620743

View File

@@ -36,7 +36,9 @@ class Magma(CMakePackage, CudaPackage):
depends_on('blas')
depends_on('lapack')
depends_on('cuda@8:', when='@2.5.1:') # See PR #14471
depends_on('cuda@:10', when='@:2.5.3') # incompatible with CUDA 11
depends_on('cuda@:10.99999') # incompatible with CUDA 11
# The previous line would ideally include "when='@:2.5.3'", but this
# doesn't work due to a problem with the concretizer.
conflicts('~cuda', msg='Magma requires cuda')
conflicts('cuda_arch=none',