Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7483 from wouf/IB/CMSSW_12_2_X/master
external lib for HYDJET++
- Loading branch information
Showing
4 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
### RPM external hydjet2 2.4.3 | ||
|
||
Source: http://cern.ch/lokhtin/hydjet++/%{n}-%{realversion}.tar.gz | ||
|
||
|
||
BuildRequires: cmake gmake | ||
|
||
Requires: pyquen pythia6 lhapdf root | ||
|
||
|
||
%prep | ||
%setup -q -n %{n}-%{realversion} | ||
|
||
%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} | ||
|
||
mkdir -p %{i}/data/externals/hydjet2 | ||
mv %{i}/share/* %{i}/data/externals/hydjet2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<tool name="hydjet2" version="@TOOL_VERSION@"> | ||
<lib name="hydjet2"/> | ||
<client> | ||
<environment name="HYDJET2_BASE" default="@TOOL_ROOT@"/> | ||
<environment name="LIBDIR" default="$HYDJET2_BASE/lib64"/> | ||
<environment name="INCLUDE" default="$HYDJET2_BASE/include"/> | ||
</client> | ||
<runtime name="CMSSW_SEARCH_PATH" default="$HYDJET2_BASE/data" type="path"/> | ||
<runtime name="ROOT_INCLUDE_PATH" value="$INCLUDE" type="path"/> | ||
<use name="pyquen"/> | ||
<use name="pythia6"/> | ||
<use name="lhapdf"/> | ||
<use name="root"/> | ||
<flags SYSTEM_INCLUDE="1"/> | ||
</tool> |