summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Madlener <thomas.madlener@desy.de>2023-11-22 20:29:46 +0100
committerGitHub <noreply@github.com>2023-11-22 20:29:46 +0100
commit2d71c6bb8e9816464f14f8878d1777e209784ad3 (patch)
treed741e7ebfb72d7fd4cd4bdeade7607ab6a979356
parent285de8ad4df880e0c1f712f93e5dabddc3d5536d (diff)
downloadspack-2d71c6bb8e9816464f14f8878d1777e209784ad3.tar.gz
spack-2d71c6bb8e9816464f14f8878d1777e209784ad3.tar.bz2
spack-2d71c6bb8e9816464f14f8878d1777e209784ad3.tar.xz
spack-2d71c6bb8e9816464f14f8878d1777e209784ad3.zip
dd4hep: add v1.27.1 (#41202)
* Make sure that geant4 comes with cxxstd that should be OK
-rw-r--r--var/spack/repos/builtin/packages/dd4hep/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dd4hep/package.py b/var/spack/repos/builtin/packages/dd4hep/package.py
index a9ca9fe12d..3309dcc537 100644
--- a/var/spack/repos/builtin/packages/dd4hep/package.py
+++ b/var/spack/repos/builtin/packages/dd4hep/package.py
@@ -24,6 +24,7 @@ class Dd4hep(CMakePackage):
tags = ["hep"]
version("master", branch="master")
+ version("1.27.1", sha256="e66ae726c0a9a55e5603024a7f8a48ffbc5613ea36e5f892e9a90d87833f92e0")
version("1.27", sha256="51fbd0f91f2511261d9b01e4b3528c658bea1ea1b5d67b25b6812615e782a902")
version("1.26", sha256="de2cc8d8e99217e23fdf0a55b879d3fd3a864690d6660e7808f1ff99eb47f384")
version("1.25.1", sha256="6267e76c74fbb346aa881bc44de84434ebe788573f2997a189996252fc5b271b")
@@ -189,6 +190,12 @@ class Dd4hep(CMakePackage):
)
conflicts("~ddrec+dddetectors", msg="Need to enable +ddrec to build +dddetectors.")
+ # Geant4 needs to be (at least) the same version as DD4hep, but we don't
+ # have a very good handle on that at this stage, because we make that
+ # dependent on roots cxxstd. However, cxxstd=11 will never work
+ # See https://github.com/AIDASoft/DD4hep/pull/1191
+ conflicts("^geant4 cxxstd=11", when="+ddg4")
+
@property
def libs(self):
# We need to override libs here, because we don't build a libdd4hep so