-
Notifications
You must be signed in to change notification settings - Fork 314
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
Update FindPythia6.cmake #63
Conversation
Update FindPythia6.cmake
Hi @drbenmorgan, @gunterfolger, could you, please, have a look? |
cmake/Modules/FindPythia6.cmake
Outdated
find_library(PYTHIA6_LIBRARY NAMES Pythia6 pythia6-$ENV{PYTHIA6_VERSION} | ||
HINTS $ENV{PYTHIA6} $ENV{PYTHIA6}/lib) | ||
find_library(PYTHIA6_LIBRARY NAMES Pythia6 pythia6 pythia6-$ENV{PYTHIA6_VERSION} | ||
HINTS $ENV{PYTHIA6} $ENV{PYTHIA6}/lib $ENV{PYTHIA6}/lib64 ${PYTHIA8_ROOT_DIR}/lib ${PYTHIA8_ROOT_DIR}/lib64) |
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.
Should that be PYTHIA6
rather than PYTHIA8
in the last two variables?
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.
Hi @drbenmorgan, that was a very first PR to lay a fundament to switch examples from hepMC2 to HEpMC3.
Practically I can continue if you have some time.
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.
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.
Hi @drbenmorgan,
well, one would have to split #45 or #18 into smaller PRs:
- Some CI for github to understand the things are working
- Improvements for the Pythia6/Pythia8/LHAPDF - this is the most important part.
- The update of the examples
Andrii
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.
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.
Hi @drbenmorgan,
- CI -- see Add Actions CI with custom development container and compilation caching #67. That is quite a solid and fast solution.
- cmake modules for Pythia6/8/LHAPDF can be added within minutes, HepMC3 provides a config for
cmake
, so no module is needed. But this makes sense to do after the CI. - The examples themselves should come either togather with cmake modules or later, separately.
Amdrii
Many thanks @andriish, this patch is now merged upstream and will be in the next release and patch! |
Update FindPythia6.cmake to take into account that the libraries might be located in the lib64 subdirectory.