Updated with requirements for openblas dependency (#20956)

* Updated with requirements for openblas dependency

* Python style fixes
This commit is contained in:
G-Ragghianti 2021-01-18 17:34:21 -05:00 committed by GitHub
parent e91ff86882
commit 335c5ed5cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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