summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2024-02-06 14:41:27 +0100
committerGitHub <noreply@github.com>2024-02-06 14:41:27 +0100
commit4985f87a52f0271aa5597bde0c479e1429d2aebc (patch)
treeaa69d60bbfcf4d2c46305b4afa9c240f742a33e5
parentae000f963c797db007ac3f8401e6c4dbc1edff00 (diff)
downloadspack-4985f87a52f0271aa5597bde0c479e1429d2aebc.tar.gz
spack-4985f87a52f0271aa5597bde0c479e1429d2aebc.tar.bz2
spack-4985f87a52f0271aa5597bde0c479e1429d2aebc.tar.xz
spack-4985f87a52f0271aa5597bde0c479e1429d2aebc.zip
dbcsr: fix self-referential dependencies (#42482)
-rw-r--r--var/spack/repos/builtin/packages/dbcsr/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/dbcsr/package.py b/var/spack/repos/builtin/packages/dbcsr/package.py
index f8561aabc1..415b9fbb92 100644
--- a/var/spack/repos/builtin/packages/dbcsr/package.py
+++ b/var/spack/repos/builtin/packages/dbcsr/package.py
@@ -106,7 +106,7 @@ class Dbcsr(CMakePackage, CudaPackage, ROCmPackage):
# to INTEGER(8)
conflicts("^mpich@4.1:", when="@:2.5")
conflicts("~mpi_f08", when="^mpich@4.1:")
- depends_on("mpich+fortran", when="^mpich")
+ depends_on("mpich+fortran", when="^[virtuals=mpi] mpich")
generator("ninja")
depends_on("ninja@1.10:", type="build")