Skip to content

Commit

Permalink
Adjusting the recipies for dmpjet and starlight
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroz84 committed Nov 17, 2024
1 parent 4efa20f commit 76c2025
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
5 changes: 1 addition & 4 deletions dpmjet.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: DPMJET
version: "%(tag_basename)s"
tag: "v19.1.2-alice3"
tag: "v19.3.7-alice1"
source: https://github.com/alisw/DPMJET.git
requires:
- "GCC-Toolchain:(?!osx)"
Expand All @@ -22,9 +22,6 @@ cmake $SOURCEDIR \

make ${JOBS+-j $JOBS} install

cp -r $SOURCEDIR/include $INSTALLROOT/.
cp -r $SOURCEDIR/dpmdata $INSTALLROOT/.

# Modulefile
MODULEDIR="$INSTALLROOT/etc/modulefiles"
MODULEFILE="$MODULEDIR/$PKGNAME"
Expand Down
13 changes: 7 additions & 6 deletions starlight.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: STARlight
version: "20240617"
tag: 196adefb9b840587d374b675e288b2a98fb5df0e
version: "20241115"
tag: b845eb773cd5be1ed2286e236e575519d08fed4d
requires:
- DPMJET
- HepMC3
Expand All @@ -11,17 +11,18 @@ build_requires:
source: https://github.com/STARlightsim/STARlight.git
---
#!/bin/bash -ex
export DPMJET_DIR=$DPMJET_ROOT
cmake $SOURCEDIR -DCMAKE_INSTALL_PREFIX=$INSTALLROOT \
${CMAKE_GENERATOR:+-G "$CMAKE_GENERATOR"} \
-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
-DCMAKE_SKIP_RPATH=TRUE \
-DENABLE_HEPMC3=ON \
-DENABLE_DPMJET=ON \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DBUILD_SHARED_LIB=ON \
-DENABLE_DPMJET=ON \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DBUILD_SHARED_LIB=ON \
-DCMAKE_INSTALL_LIBDIR=lib \
-DHepMC3_DIR="$HEPMC3_ROOT" \
-DDPMJET_DIR="$DPMJET_ROOT"
-DDPMJET_DIR="$DPMJET_ROOT"

cmake --build . -- ${JOBS:+-j$JOBS} install
cp libDpmJetLib.so $INSTALLROOT/lib

Check notice on line 28 in starlight.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Double quote to prevent globbing and word splitting. [SC2086]
Expand Down

0 comments on commit 76c2025

Please sign in to comment.