Skip to content

Commit

Permalink
Update Pythia6 to version 6.4.28 (#470)
Browse files Browse the repository at this point in the history
- add path for Pythia6 to AGILE_GEN_PATH
- adapt library path used by geant3_vmc-examples
  • Loading branch information
qgp authored and Dario Berzano committed Jul 21, 2016
1 parent e87dc96 commit 5f21169
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion geant3_vmc-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Geant3_DIR=`echo ${GEANT3_ROOT}/lib64/Geant3-*`
cmake -DVMC_WITH_Geant3=ON \
-DVMC_WITH_Geant4=OFF \
-DGeant3_DIR=$Geant3_DIR \
-DPythia6_LIBRARY=${PYTHIA6_ROOT}/lib/libPythia6.${LDSUFFIX} \
-DPythia6_LIBRARY=${PYTHIA6_ROOT}/lib/libpythia6.${LDSUFFIX} \
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
-DCMAKE_MODULE_PATH=${GEANT4_VMC_ROOT}/ \
-DGeant4VMC_DIR=${Geant4VMC_DIR} \
Expand Down
3 changes: 2 additions & 1 deletion pythia6.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# a pythia6 recipe based on the one from FairROOT
package: pythia6
version: "%(tag_basename)s%(defaults_upper)s"
tag: "alice/416"
tag: "alice/428"
source: https://github.com/alisw/pythia6.git
build_requires:
- CMake
Expand Down Expand Up @@ -33,6 +33,7 @@ module load BASE/1.0
# Our environment
setenv PYTHIA6_ROOT \$::env(BASEDIR)/$PKGNAME/\$version
prepend-path LD_LIBRARY_PATH \$::env(PYTHIA6_ROOT)/lib
prepend-path AGILE_GEN_PATH \$::env(PYTHIA6_ROOT)
$([[ ${ARCHITECTURE:0:3} == osx ]] && echo "prepend-path DYLD_LIBRARY_PATH \$::env(PYTHIA6_ROOT)/lib")
EoF

0 comments on commit 5f21169

Please sign in to comment.