Skip to content

Commit

Permalink
dd4hep: B-field fix patch (#484)
Browse files Browse the repository at this point in the history
### Briefly, what does this PR introduce?
This fixes the multipole field rotation, among other things. It
supersedes #445 as it is now based on develop, not releases/v0.19.
  • Loading branch information
wdconinc committed Jun 29, 2023
1 parent 1efb9fe commit 87545dd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/dd4hep/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,19 @@ class Dd4hep(BuiltinDd4hep):
sha256="73932633e95272f77c1f6ad8edf06d426b198c30a9c9467167c04f3a3f7f5d12",
when="@1.25.1",
)
patch(
"https://github.com/AIDASoft/DD4hep/pull/1080.patch?full_index=1",
sha256="2dde47795f8534fcbfb9454b3b729a5a758e2dc90b6bd9f5f8bdc8940e2da0f7",
when="@1.25.1",
)
@when('@1.25.1')
def setup_run_environment(self, env):
super().setup_run_environment(env)
env.set("CXXFLAGS", "-DDD4HEP_FIELD_TYPE_OVERRIDE=field_type")
@when('@1.25.1')
def setup_dependent_build_environment(self, env, dependent_spec):
super().setup_dependent_build_environment(env, dependent_spec)
env.set("CXXFLAGS", "-DDD4HEP_FIELD_TYPE_OVERRIDE=field_type")
patch(
"https://github.com/AIDASoft/DD4hep/commit/8693a29669d03dec5e06b61e6df7cc0df1e0aa5c.patch",
sha256="28fb1c17eb1c06c24b304511308fd3b0af708f2ba3aec3e4cb13d7da6abbc51c",
Expand Down

0 comments on commit 87545dd

Please sign in to comment.