summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/pastix/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/pastix/package.py b/var/spack/repos/builtin/packages/pastix/package.py
index 06ec49caec..18877d58b1 100644
--- a/var/spack/repos/builtin/packages/pastix/package.py
+++ b/var/spack/repos/builtin/packages/pastix/package.py
@@ -46,7 +46,7 @@ class Pastix(CMakePackage, CudaPackage):
depends_on("hwloc")
depends_on("lapack")
# ensure openblas use threads=openmp to be thread-safe
- depends_on("openblas threads=openmp", when="^openblas")
+ depends_on("openblas threads=openmp", when="^[virtuals=lapack] openblas")
with when("+metis"):
depends_on("metis@5.1:")
depends_on("metis@5.1:+int64", when="+int64")