From 335c5ed5cb9fad47e9c3af3055ae2d554eb0797e Mon Sep 17 00:00:00 2001 From: G-Ragghianti <33492707+G-Ragghianti@users.noreply.github.com> Date: Mon, 18 Jan 2021 17:34:21 -0500 Subject: Updated with requirements for openblas dependency (#20956) * Updated with requirements for openblas dependency * Python style fixes --- var/spack/repos/builtin/packages/blaspp/package.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/var/spack/repos/builtin/packages/blaspp/package.py b/var/spack/repos/builtin/packages/blaspp/package.py index 9609a14cea..78532c1fb1 100644 --- a/var/spack/repos/builtin/packages/blaspp/package.py +++ b/var/spack/repos/builtin/packages/blaspp/package.py @@ -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 -- cgit v1.2.3-70-g09d2