summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2023-03-01 07:13:50 -0600
committerGitHub <noreply@github.com>2023-03-01 14:13:50 +0100
commitab999d5af90f1bff644b5134bb370b2716e1bcf0 (patch)
treea8bed2177fd33c9db38b6ec8f15f554a66e7b732
parent513ff34e6634bd84c562478347d72d36df1469f6 (diff)
downloadspack-ab999d5af90f1bff644b5134bb370b2716e1bcf0.tar.gz
spack-ab999d5af90f1bff644b5134bb370b2716e1bcf0.tar.bz2
spack-ab999d5af90f1bff644b5134bb370b2716e1bcf0.tar.xz
spack-ab999d5af90f1bff644b5134bb370b2716e1bcf0.zip
dd4hep: depends_on root +webgui when +ddeve ^root @6.28: (#35624)
-rw-r--r--var/spack/repos/builtin/packages/dd4hep/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/dd4hep/package.py b/var/spack/repos/builtin/packages/dd4hep/package.py
index d896dd12ec..3930756497 100644
--- a/var/spack/repos/builtin/packages/dd4hep/package.py
+++ b/var/spack/repos/builtin/packages/dd4hep/package.py
@@ -142,7 +142,10 @@ class Dd4hep(CMakePackage):
depends_on("boost +iostreams", when="+ddg4")
depends_on("boost +system +filesystem", when="%gcc@:7")
depends_on("root @6.08: +gdml +math +python")
- depends_on("root @6.08: +gdml +math +python +x +opengl", when="+ddeve")
+ with when("+ddeve"):
+ depends_on("root @6.08: +x +opengl")
+ depends_on("root +webgui", when="^root@6.28:")
+ depends_on("root @:6.27", when="@:1.23")
depends_on("root @6.08: +gdml +math +python +x +opengl", when="+utilityapps")
extends("python")