summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2024-02-08 16:27:01 +0100
committerGitHub <noreply@github.com>2024-02-08 16:27:01 +0100
commitdb1a7406ca9de97f7e46bdafe791e5be2da1e168 (patch)
tree0888c67e6c3cff3b2f21f5835fdebd16aef226e2
parentecc9145d2ce9e348a74e7d03964759951c8c3cf1 (diff)
downloadspack-db1a7406ca9de97f7e46bdafe791e5be2da1e168.tar.gz
spack-db1a7406ca9de97f7e46bdafe791e5be2da1e168.tar.bz2
spack-db1a7406ca9de97f7e46bdafe791e5be2da1e168.tar.xz
spack-db1a7406ca9de97f7e46bdafe791e5be2da1e168.zip
pastix: fix self-referential dependencies (#42546)
-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")