diff --git a/starlight.sh b/starlight.sh index 852f762449..eb360e163a 100644 --- a/starlight.sh +++ b/starlight.sh @@ -1,7 +1,8 @@ package: STARlight -version: "20240617" -tag: 196adefb9b840587d374b675e288b2a98fb5df0e +version: "20241115" +tag: b845eb773cd5be1ed2286e236e575519d08fed4d requires: + - DPMJET - HepMC3 build_requires: - CMake @@ -10,17 +11,21 @@ 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 \ - -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" + -DHepMC3_DIR="$HEPMC3_ROOT" \ + -DDPMJET_DIR="$DPMJET_ROOT" cmake --build . -- ${JOBS:+-j$JOBS} install +cp libDpmJetLib.so $INSTALLROOT/lib cp -r $SOURCEDIR/config $INSTALLROOT/. cp -r $SOURCEDIR/include $INSTALLROOT/.