Skip to content

Commit

Permalink
podio: apply patch for gcc 14 builds (spack#45854)
Browse files Browse the repository at this point in the history
* podio: apply patch for gcc 14 builds

Podio versions after 0.17.0 but before 1.0.0 are broken when using gcc
14 because of a missing include, which is addressed in the podio pull
request at AIDASoft/podio#600. This commit
patches pre-1.0.0 versions of Podio so they can be compiled with gcc 14,
which is important for building Acts.

* Style

* Style 2

* Fixes

* Add comment:

* Add sha256
  • Loading branch information
stephenswat authored and mvlopri committed Sep 4, 2024
1 parent 83cdb2c commit bab92b9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions var/spack/repos/builtin/packages/podio/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ class Podio(CMakePackage):

conflicts("+rntuple", when="@:0.16", msg="rntuple support requires at least podio@0.17")

# See https://github.com/AIDASoft/podio/pull/600
patch(
"https://github.com/AIDASoft/podio/commit/0222a077aaff817b21a46a590af0f8329dd27d67.patch?full_index=1",
when="@0.17:0.99",
sha256="9e42e0995634f2afdd358cd19383e882dc9143cce1b6afb0d2c4a1ec9add6e15",
)

# See https://github.com/AIDASoft/podio/pull/599 that landed after 0.99
extends("python", when="@1.0:")

Expand Down

0 comments on commit bab92b9

Please sign in to comment.