dd4hep: add patch to fix missing hits when using LCIO (#37854)

Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
This commit is contained in:
Juan Miguel Carceller 2023-05-29 10:35:14 +02:00 committed by GitHub
parent 1e7a64ad85
commit 73ad3f729e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,12 @@ class Dd4hep(CMakePackage):
# Workaround for failing build file generation in some cases
# See https://github.com/spack/spack/issues/24232
patch("cmake_language.patch", when="@:1.17")
# Fix missing SimCaloHits when using the LCIO format
patch(
"https://patch-diff.githubusercontent.com/raw/AIDASoft/DD4hep/pull/1019.patch?full_index=1",
when="@1.19:1.23",
sha256="6466719c82de830ce728db57004fb7db03983587a63b804f6dc95c6b92b3fc76",
)
# variants for subpackages
variant("ddcad", default=True, description="Enable CAD interface based on Assimp")