Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not forward declare podio::ObjectID #31

Merged
merged 3 commits into from
Oct 19, 2023
Merged

Conversation

jmcarcell
Copy link
Contributor

@jmcarcell jmcarcell commented Oct 17, 2023

BEGINRELEASENOTES

  • Do not forward declare podio::ObjectID since this doesn't always build
  • Add a library alias for the k4EDM4hep2LcioConv target
  • Add podio to the list of required packages (it's already there in the spack recipe)

ENDRELEASENOTES

Building k4EDM4hep2LcioConv standalone in Alma 9 doesn't seem to be working (I can reproduce in lxplus) because of some issues with forward declaring. I'm not exactly sure why it works fine for builds with spack but doesn't work if you try to build it standalone (have some guesses because spack uses some different cmake variables). In this case anyway ObjectID.h has only podio::ObjectIDinside so I don't think anything can be gained from forward declaring since anyone using the struct will have to include this file, which I believe is the case before this PR if the chain of includes is untangled for the tests.

@tmadlener tmadlener merged commit f5bad31 into key4hep:main Oct 19, 2023
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants