diff --git a/var/spack/repos/builtin/packages/strumpack/package.py b/var/spack/repos/builtin/packages/strumpack/package.py index 795fa1756babbf..348a74947e05b5 100644 --- a/var/spack/repos/builtin/packages/strumpack/package.py +++ b/var/spack/repos/builtin/packages/strumpack/package.py @@ -73,7 +73,7 @@ class Strumpack(CMakePackage, CudaPackage, ROCmPackage): depends_on("mpi", when="+mpi") depends_on("blas") depends_on("lapack") - depends_on("openblas threads=openmp", when="^openblas") + depends_on("openblas threads=openmp", when="^[virtuals=blas] openblas") depends_on("scalapack", when="+mpi") depends_on("metis") depends_on("parmetis", when="+parmetis")