-
Notifications
You must be signed in to change notification settings - Fork 17
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
openPMD-api: new CMake Control (tests) #312
Conversation
Use the latest commit in openPMD-api (dev branch post 0.13.1) that adds control for per-project build options for tests. This saves us from building and running openPMD-api tests in the HiPACE superbuild.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks! See one comment below.
cmake/dependencies/openPMD.cmake
Outdated
@@ -62,7 +62,7 @@ if(HiPACE_OPENPMD) | |||
set(HiPACE_openpmd_repo "https://github.com/openPMD/openPMD-api.git" | |||
CACHE STRING | |||
"Repository URI to pull and build openPMD-api from if(HiPACE_openpmd_internal)") | |||
set(HiPACE_openpmd_branch "0.13.1" | |||
set(HiPACE_openpmd_branch "a9022ee30fe640a5ca1d92c30d0658cf2bfebec6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a plan to go back to a release version here? If so, should we wait before merging this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the plan is to use this until a new major release comes out.
It's still reproducible and fine and allows us to move fast.
This change is a bit invasive, so I am not 100% sure I can drop it in a 0.13.2 patch release (although I try to make it backwards compatible). Will check out, latest it will be in 0.14.0 :)
This actually needs another merge, forgot some options 😅 |
Ok then I'm fine with keeping the commit hash. Just to recap, is this what you propose?
That's fine with me. |
Includes follow-up PR 900 for the new controls
Exactly, 4. would be in a couple of weeks/month, once the next release comes out that includes this. Release tags are in the end a named alias for a commit, we now sit between two tags. |
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, thanks!
There will be a follow-up to this once openPMD/openPMD-api#930 is merged in |
Use the latest commit in openPMD-api (dev branch post 0.13.1, PR openPMD/openPMD-api#897) that adds control for per-project build options for tests.
This saves us from building and running openPMD-api tests in the HiPACE superbuild.
Fix #307
const
isconst
)