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

feat: add version header #40

Merged
merged 11 commits into from
Aug 15, 2023
Merged

feat: add version header #40

merged 11 commits into from
Aug 15, 2023

Conversation

wdconinc
Copy link
Contributor

Briefly, what does this PR introduce?

This adds a version header to the installation of EDM4eic. This allows us to make downstream code behave differently based on the version.

Note: with .gitattributes (in particular export-subst) we could automate the filling of this version information with the most recent tag and such. Maybe something to look into.

@wdconinc wdconinc requested review from sly2j and veprbl August 11, 2023 18:36
CMakeLists.txt Outdated Show resolved Hide resolved
veprbl
veprbl previously approved these changes Aug 14, 2023
EDM4eicVersion.h.in Outdated Show resolved Hide resolved
@wdconinc wdconinc requested a review from veprbl August 15, 2023 13:30
@wdconinc wdconinc merged commit c12fbf7 into main Aug 15, 2023
3 checks passed
@wdconinc wdconinc deleted the version-header branch August 15, 2023 13:41
wdconinc added a commit to eic/EICrecon that referenced this pull request Aug 16, 2023
### Briefly, what does this PR introduce?
This will force rebuilding of the datamodel glue headers in local
development copies when the data model changes version.

Depends on:
- [x] upgrade eic-shell to EDM4hep 0.9,
https://eicweb.phy.anl.gov/containers/eic_container/-/merge_requests/689
- [x] roll out eic-shell with EDM4hep 0.9 to cvmfs and github actions
- [ ] ~~update minimum required EDM4hep version to 0.9~~ (compatibility
is ensured by febc5f7)
- [x] update EDM4eic to provide version header,
eic/EDM4eic#40,
- [x] release new EDM4eic version 2.1.0
- [x] upgrade eic-spack to provide EDM4eic version 2.1.0,
eic/eic-spack#521
- [x] upgrade eic-shell to EDM4eic 2.1,
https://eicweb.phy.anl.gov/containers/eic_container/-/merge_requests/690
- [x] roll out eic-shell with EDM4eic 2.1 to cvmfs and github actions
- [ ] ~~update minimum required EDM4hep version to 2.1~~ (compatibility
is ensured by febc5f7 )

### What kind of change does this PR introduce?
- [x] Bug fix (issue: `cmake --fresh` does not rebuild datamodel glue
header when switching datamodel versions)
- [ ] New feature (issue #__)
- [ ] Documentation update
- [ ] Other: __

### Please check if this PR fulfills the following:
- [ ] Tests for the changes have been added
- [ ] Documentation has been added / updated
- [ ] Changes have been communicated to collaborators

### Does this PR introduce breaking changes? What changes might users
need to make to their code?
No.

### Does this PR change default behavior?
No.

---------

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
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.

3 participants