-
Notifications
You must be signed in to change notification settings - Fork 206
external lib for HYDJET++ #7483
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
Changes from 2 commits
6faaf32
6c26a4d
fcac651
f6b9175
c8f5174
d593c4e
4175cf6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| ### RPM external hydjet2 2.x.y | ||
|
|
||
| Source: http://cern.ch/lokhtin/hydjet++/%{n}.tar.gz | ||
|
||
|
|
||
| BuildRequires: cmake gmake | ||
|
|
||
| Requires: pyquen pythia6 lhapdf root | ||
|
|
||
|
|
||
| %prep | ||
| %setup -q -n %{n} | ||
|
|
||
| %build | ||
|
|
||
| cmake . -DCMAKE_INSTALL_PREFIX=%i -DCMAKE_BUILD_TYPE=Release -DPYQUEN_DIR=${PYQUEN_ROOT} -DPYTHIA6_DIR=${PYTHIA6_ROOT} -DLHAPDF_ROOT_DIR=${LHAPDF_ROOT} -DROOTSYS=${ROOT_ROOT} | ||
| cmake --build . --clean-first -- %{makeprocesses} | ||
|
|
||
| %install | ||
|
|
||
| cmake --build . --target install -- %{makeprocesses} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| - Requested, AddedBy: | ||
| @wouf | ||
|
|
||
| - PR: | ||
| https://github.com/cms-sw/cmsdist/pull/7483 | ||
|
|
||
| - Description: | ||
| {hydjet2} is event generator for simulation of relativistic heavy ion AA collisions as a superposition of the soft, hydro-type state and the hard, multi-parton state. | ||
| - Documentation | ||
| http://cern.ch/lokhtin/hydjet++/documentation/ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <tool name="hydjet2" version="@TOOL_VERSION@"> | ||
| <lib name="hydjet2"/> | ||
| <client> | ||
| <environment name="HYDJET2_BASE" default="@TOOL_ROOT@"/> | ||
| <environment name="LIBDIR" default="$HYDJET2_BASE/lib"/> | ||
| </client> | ||
| <use name="pyquen"/> | ||
| <use name="pythia6"/> | ||
| <use name="lhapdf"/> | ||
| <use name="root"/> | ||
| </tool> |
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.
please provide the exact version
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.
Can we put here the link to the actual version instead of hardcoded number?
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.
what do you mean ? can you please give an example
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.
Something like
RPM external hydjet2 version
where the variable version would be determined from the link to the json file on the author's site, or just from the some text file, placed on the author's website.
Mayby ### RPM external hydjet2 http://..../version
Would it work?
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.
no, it will not work. One needs to explicitly provide the version to be used here and then you can use the version to auto generate the source url e.g.
So in future when you update the version to e.g.
2.4.4then package system will try to download http://cern.ch/lokhtin/hydjet++/hydjet2-2.4.4.tar.gzThere 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.
But only after PR, right? I'm looking a way to avoid of necessity to make PR for every minor update of HYDJET++
Uh oh!
There was an error while loading. Please reload this page.
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.
We do not want our build system to automatically pick up new updates which can break the whole release. imagine that we have tested one version in IBs and when we want to build a release then author updates the version which can break the whole system.
When there is a new version then it should be explicitly requested, tested via PR before we integrate it.
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.
Ok, I see, thanks!