Updated with requirements for openblas dependency (#20956)
* Updated with requirements for openblas dependency * Python style fixes
This commit is contained in:
parent
e91ff86882
commit
335c5ed5cb
@ -29,11 +29,8 @@ class Blaspp(CMakePackage, CudaPackage):
|
||||
depends_on('cmake@3.15.0:', type='build')
|
||||
depends_on('blas')
|
||||
|
||||
# This will attempt to use a supported version of OpenBLAS
|
||||
depends_on('openblas@:0.3.5', when='^openblas')
|
||||
# In some cases, the spack concretizer will fail to use a supported
|
||||
# version of OpenBLAS. In this case, present an error message.
|
||||
conflicts('^openblas@0.3.6:', msg='Testing errors in OpenBLAS >=0.3.6')
|
||||
# BLASpp tests will fail when using openblas > 0.3.5 without multithreading support
|
||||
conflicts('^openblas@0.3.6: threads=none', msg='BLASpp requires openblas multithreading support')
|
||||
|
||||
def cmake_args(self):
|
||||
spec = self.spec
|
||||
|
Loading…
Reference in New Issue
Block a user