-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
acts: remove podio@:0 version limit in upstream spack (#686)
### Briefly, what does this PR introduce? The spack `acts` package has a `depends_on("podio@:0")` (with some `when` conditions). If we want to support podio@0 locally, for transient purposes, then we need to remove this upstream dependency. This PR does that through some python hackery.
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from spack import * | ||
from spack.pkg.k4.k4fwcore import K4fwcore as BuiltinK4fwcore | ||
|
||
|
||
class K4fwcore(BuiltinK4fwcore): | ||
# Remove rootUtils.h header that has become unnecessary | ||
patch( | ||
"https://github.com/key4hep/k4FWCore/commit/70c9c113f48d941822066430f48eee8be007f49b.patch?full_index=1", | ||
sha256="165e809c24a807d0b3e29b575e913ca09bf79f7f8308de44bf955db7c99fc5b9", | ||
when="@1.0pre18:1.0pre19", | ||
) | ||
# Allow podio@1: in CMakeLists.txt | ||
patch( | ||
"https://github.com/key4hep/k4FWCore/commit/d6e72d1fe24fe3e1c28d667a84e9f97e295d8976.patch?full_index=1", | ||
sha256="55c77a1eb7b57d14e0901f178bdd630311bebdd75eb971d659e37657a90e5738", | ||
when="@1.0pre17:1.0pre19", | ||
) |