Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:15:26

0001 from spack.package import *
0002 from spack.pkg.builtin.dd4hep import Dd4hep as BuiltinDd4hep
0003 
0004 
0005 class Dd4hep(BuiltinDd4hep):
0006     variant("frames", default=True, description="Use podio frames", when="@1.25.1")
0007     variant("frames", default=True, description="Use podio frames", when="@1.24")
0008     patch(
0009         "https://github.com/AIDASoft/DD4hep/pull/1365.diff?full_index=1",
0010         sha256="fe28edb4059647e4f18141d08f7ba8470b5e99dc03048d4faf404170285d89fd",
0011         when="@=1.30",
0012     )
0013     patch(
0014         "https://github.com/AIDASoft/DD4hep/pull/1294.diff?full_index=1",
0015         sha256="252579cceb1f66edc20e4e14b3390d2b8ec231450aad0f9e1d3c585e34284a1c",
0016         when="@=1.29",
0017     )
0018     patch(
0019         "https://github.com/AIDASoft/DD4hep/pull/1283.diff?full_index=1",
0020         sha256="40124c528c68b4056d3c5af536683ed9f2f9e9bfa750d41e50471895aa58fc4b",
0021         when="@=1.29",
0022     )
0023     patch(
0024         "https://github.com/AIDASoft/DD4hep/pull/1190.diff?full_index=1",
0025         sha256="d6273e4f0367f72b9572b337338d1269a154b948b72f31ff69ad62f850e0d4ac",
0026         when="@=1.27",
0027     )
0028     patch(
0029         "https://github.com/AIDASoft/DD4hep/pull/1157/commits/1c79b1492373dd66b17ea2530a63ec434396afa9.patch?full_index=1",
0030         sha256="e544cc11c7e1ac9ccacf6688f3d966e912b1a2e1a7460f7c16212a0a4df5b05e",
0031         when="@=1.26",
0032     )
0033     patch(
0034         "https://github.com/AIDASoft/DD4hep/pull/1158/commits/fecf99a2732a3f6aafc5fbf0f4a05af5bac196f8.patch?full_index=1",
0035         sha256="ecc8e5534a5c7e9a4e3008508e17646a578ce7a44897df514dfd2c9a449968b1",
0036         when="@=1.26",
0037     )
0038     patch(
0039         "https://github.com/AIDASoft/DD4hep/pull/1168/commits/0cdf506db8a9f47698129b5c8f52b66f53429818.patch?full_index=1",
0040         sha256="a75d89c86ab44ef1f3f86201e083c85e4e8f0b3120785d5a76fdc81256a937ac",
0041         when="@=1.26",
0042     )
0043     patch(
0044         "https://github.com/AIDASoft/DD4hep/pull/1161.diff?full_index=1",
0045         sha256="4139360e84eb220f2067b85f2dc477b4cd179fb98d7e117a98f43b1fa0baa395",
0046         when="@=1.26",
0047     )
0048     patch(
0049         "https://github.com/AIDASoft/DD4hep/pull/1170.diff?full_index=1",
0050         sha256="dc6985f7f92cb2292b18cb5b7059226c475d3c930f834c40b49e415bbd7a2946",
0051         when="@=1.26",
0052     )
0053     patch(
0054         "https://github.com/AIDASoft/DD4hep/pull/1086.patch?full_index=1",
0055         sha256="6b049415e2c6989f3927ff2c56e4764de1650cad6ed301d8ac0f047f4e0039c5",
0056         when="@1.24:1.25.1",
0057     )
0058     patch(
0059         "https://github.com/AIDASoft/DD4hep/compare/f4c63132f509f80e7c81a624cdf46e024131cf2a..3c6ede06ea338e3ea6a01b664fb16089ac4548e5.patch?full_index=1",
0060         sha256="abefeb866a42baca653ea4329c984e19aeab349e5c610bf38a495083379f9ec5",
0061         when="@1.24",
0062     )
0063     patch(
0064         "revert-Geant4Output2EDM4hep-dd4hep-1-25-1-to-1-23.patch",
0065         sha256="1958c7951ed53538631ae6bc0d6663ea092e19f63367ed0fe1ab2bb00ddf4903",
0066         when="@1.25.1 -frames",
0067     )
0068     patch(
0069         "revert-Geant4Output2EDM4hep-dd4hep-1-24-to-1-23.patch",
0070         sha256="1c5697eabab65d4c2d49d710c14a33673e92b0349ed8299041c9da2d7878831b",
0071         when="@1.24 -frames",
0072     )
0073     patch(
0074         "https://github.com/AIDASoft/DD4hep/pull/1066.patch?full_index=1",
0075         sha256="c6df47768279c65f6a9d3cee57b038f37cb35c845deef22476876ea607ff14a1",
0076         when="@1.25.1",
0077     )
0078     patch(
0079         "https://github.com/AIDASoft/DD4hep/pull/1068.patch?full_index=1",
0080         sha256="401a349435ca6673a2817c32c39e2fa73ca17241fb2bf3f836c110a2f1c90431",
0081         when="@1.24:1.25.1",
0082     )
0083     patch(
0084         "https://github.com/AIDASoft/DD4hep/pull/1070.patch?full_index=1",
0085         sha256="d84db1f3a8eb3e8b9398db9aab3753569855bc5753f9f15faf62bfdbe28f8f5c",
0086         when="@1.24:1.25.1",
0087     )
0088     patch(
0089         "https://github.com/AIDASoft/DD4hep/pull/1071.patch?full_index=1",
0090         sha256="8a71caf957a4b0ecb05a2fc5e39265e79e0af0d98e89b75406957815442c7b30",
0091         when="@1.25.1",
0092     )
0093     patch(
0094         "https://github.com/AIDASoft/DD4hep/pull/1074.patch?full_index=1",
0095         sha256="1c0737cc941995c4f28591ac34b5007e8b3b23f7d54251d8db277e9aff8da411",
0096         when="@1.25.1",
0097     )
0098     patch(
0099         "https://github.com/AIDASoft/DD4hep/pull/1080.patch?full_index=1",
0100         sha256="2dde47795f8534fcbfb9454b3b729a5a758e2dc90b6bd9f5f8bdc8940e2da0f7",
0101         when="@1.25.1",
0102     )
0103     @when('@1.25.1')
0104     def setup_run_environment(self, env):
0105         super().setup_run_environment(env)
0106         env.set("CXXFLAGS", "-DDD4HEP_FIELD_TYPE_OVERRIDE=field_type")
0107     @when('@1.25.1')
0108     def setup_dependent_build_environment(self, env, dependent_spec):
0109         super().setup_dependent_build_environment(env, dependent_spec)
0110         env.set("CXXFLAGS", "-DDD4HEP_FIELD_TYPE_OVERRIDE=field_type")
0111     patch(
0112         "https://github.com/AIDASoft/DD4hep/pull/1081.patch?full_index=1",
0113         sha256="07522f7fac0fc38513cb08b663ef7425936e940c55f277eb2112916b194f5a68",
0114         when="@1.25.1",
0115     )
0116     patch(
0117         "https://github.com/AIDASoft/DD4hep/pull/1105.patch?full_index=1",
0118         sha256="bcfa71a74368034818ff4810cd5738a13fc56d1d49742b19abe7397de1531596",
0119         when="@1.19:1.25.1",
0120     )
0121     patch(
0122         "https://github.com/AIDASoft/DD4hep/pull/1106.patch?full_index=1",
0123         sha256="5a0ed96babc56d01663f157e50455a746bba63a4a7f27779325fa5e097cf7bb5",
0124         when="@:1.25.1",
0125     )
0126     patch(
0127         "https://github.com/AIDASoft/DD4hep/pull/1142.patch?full_index=1",
0128         sha256="12bca1354871caad6f6d86710ad926a44d3a8e4090f15b41e98a5c09faabf0de",
0129         when="@:1.25.1",
0130     )
0131     patch(
0132         "https://github.com/AIDASoft/DD4hep/commit/8693a29669d03dec5e06b61e6df7cc0df1e0aa5c.patch",
0133         sha256="28fb1c17eb1c06c24b304511308fd3b0af708f2ba3aec3e4cb13d7da6abbc51c",
0134         when="@1.21:1.22",
0135     )
0136     patch(
0137         "https://github.com/AIDASoft/DD4hep/pull/983.patch?full_index=1",
0138         sha256="969fbdd9a35a07fe91d6376517621d3ddba28f13668d139fd9405052e3e6f1a6",
0139         when="@:1.23",
0140     )
0141     patch(
0142         "https://github.com/AIDASoft/DD4hep/pull/989.patch?full_index=1",
0143         sha256="b29bec9faac4461f799f0ed12b85bf929ae4126fbf591fa8e2cca51fffae12e7",
0144         when="@1.23",
0145     )
0146     patch(
0147         "https://github.com/AIDASoft/DD4hep/pull/1011.patch?full_index=1",
0148         sha256="15f4b9cc6e36aea836191b2154c0609a1ab55f085a0836609dfca804cbe78c6d",
0149         when="@1.23",
0150     )
0151     patch(
0152         "https://github.com/AIDASoft/DD4hep/pull/1017.patch?full_index=1",
0153         sha256="66aa2be073a58cdc3c3cb912c2dcf943c65b4e7af91ebe7bb1479827433380b7",
0154         when="@1.23",
0155     )
0156     patch(
0157         "https://github.com/AIDASoft/DD4hep/pull/1357.patch?full_index=1",
0158         sha256="3858ac2bb558e410db994d4b42b68012d17fe83ae2247cb70bb5460009e2ae4d",
0159         when="@:1.30.1",
0160     )