diff --git a/hepmc.sh b/hepmc.sh index 3d316423a0..f6a752ad7f 100644 --- a/hepmc.sh +++ b/hepmc.sh @@ -1,40 +1,29 @@ package: HepMC version: "%(tag_basename)s" -tag: HEPMC_02_06_10 -source: https://gitlab.cern.ch/hepmc/HepMC.git +tag: HEPMC_02_06_10-alice1 +source: https://gitlab.cern.ch/alisw/HepMC.git build_requires: - CMake - GCC-Toolchain:(?!osx.*) + - alibuild-recipe-tools + - ninja --- #!/bin/bash -e - cmake $SOURCEDIR \ + -G Ninja \ -Dmomentum=GEV \ -Dlength=MM \ -Dbuild_docs:BOOL=OFF \ -DCMAKE_INSTALL_PREFIX=$INSTALLROOT -make ${JOBS+-j $JOBS} -make install +cmake --build . -- ${JOBS+-j $JOBS} install # Modulefile MODULEDIR="$INSTALLROOT/etc/modulefiles" MODULEFILE="$MODULEDIR/$PKGNAME" mkdir -p "$MODULEDIR" -cat > "$MODULEFILE" < "$MODULEFILE" +cat >> "$MODULEFILE" <