summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/magma/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/magma/package.py b/var/spack/repos/builtin/packages/magma/package.py
index b6140bbd8a..ec2324290a 100644
--- a/var/spack/repos/builtin/packages/magma/package.py
+++ b/var/spack/repos/builtin/packages/magma/package.py
@@ -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',