Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions acts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ requires:
- boost
- Eigen3
- alibuild-recipe-tools
env:
"ACTS_ROOT": "$ACTS_ROOT"
prepend_path:
"ROOT_INCLUDE_PATH": "$ACTS_ROOT/include"
"PYTHONPATH": "$ACTS_ROOT/python"
prefer_system_check: |
ls $ACTS_ROOT/include && ls $ACTS_ROOT/lib64/libActsCore.so
---
#!/bin/bash -e

Expand All @@ -26,7 +33,9 @@ cmake "$SOURCEDIR" -DCMAKE_INSTALL_PREFIX="$INSTALLROOT" \
-DACTS_BUILD_EXAMPLES_PYTHON_BINDINGS=ON \
-DACTS_BUILD_EXAMPLES_PYTHIA8=ON \
-DACTS_BUILD_EXAMPLES_GEANT4=OFF \
-DCMAKE_POLICY_DEFAULT_CMP0144=NEW \
-DCMAKE_VERBOSE_MAKEFILE=1 \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE}"


Expand Down
6 changes: 2 additions & 4 deletions boost.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
package: boost
version: "%(tag_basename)s"
tag: "v1.75.0"
tag: "v1.83.0"
source: https://github.com/alisw/boost.git
requires:
- "GCC-Toolchain:(?!osx)"
- Python
- libpng
- zlib
build_requires:
- lzma
- bz2
- alibuild-recipe-tools
prepend_path:
ROOT_INCLUDE_PATH: "$BOOST_ROOT/include"
prefer_system_check: |
printf "#include \"boost/version.hpp\"\n# if (BOOST_VERSION < 106400)\n#error \"Cannot use system's boost. Boost > 1.64.00 required.\"\n#endif\nint main(){}" \
printf "#include \"boost/version.hpp\"\n# if (BOOST_VERSION < 107700)\n#error \"Cannot use system's boost. Boost > 1.77.00 required.\"\n#endif\nint main(){}" \

Check warning on line 15 in boost.sh

View workflow job for this annotation

GitHub Actions / alidistlint

line too long (160 > 120 characters) [yl:line-length]
| gcc -I$BOOST_ROOT/include -xc++ - -o /dev/null
---
BOOST_PYTHON=
Expand Down
47 changes: 0 additions & 47 deletions defaults-actstracking.sh

This file was deleted.

2 changes: 2 additions & 0 deletions eigen3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ build_requires:
- "GCC-Toolchain:(?!osx)"
- CMake
- alibuild-recipe-tools
prefer_system_check: |
ls $EIGEN3_ROOT/include/eigen3/Eigen/Dense
---
#!/bin/bash -e
MODULEDIR="$INSTALLROOT/etc/modulefiles"
Expand Down
2 changes: 2 additions & 0 deletions fairroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ cmake $SOURCEDIR
${CMAKE_GENERATOR:+-G "$CMAKE_GENERATOR"} \
${MACOSX_RPATH:+-DMACOSX_RPATH=${MACOSX_RPATH}} \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_CATCH_DISCOVER_TESTS_DISCOVERY_MODE=PRE_TEST \
${CMAKE_BUILD_TYPE:+-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE} \
-DROOTSYS=$ROOTSYS \
-DPythia6_LIBRARY_DIR=$PYTHIA6_ROOT/lib \
Expand All @@ -73,6 +74,7 @@ cmake $SOURCEDIR
${CXXSTD:+-DCMAKE_CXX_STANDARD=$CXXSTD} \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_POLICY_DEFAULT_CMP0167=NEW \
-DCMAKE_INSTALL_PREFIX=$INSTALLROOT \
-DFairCMakeModules_ROOT=$FAIRCMAKEMODULES_ROOT

Expand Down
2 changes: 2 additions & 0 deletions fairship.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ requires:
- ROOT
- ROOTEGPythia6
- VMC
- HepMC3
- acts
build_requires:
- FairCMakeModules
env:
Expand Down
4 changes: 2 additions & 2 deletions gcc-toolchain.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: GCC-Toolchain
version: "%(tag_basename)s"
tag: alice/v11
tag: v13.2.0-alice1
source: https://github.com/alisw/gcc-toolchain
prepend_path:
"LD_LIBRARY_PATH": "$GCC_TOOLCHAIN_ROOT/lib64"
Expand All @@ -12,7 +12,7 @@
prefer_system_check: |
set -e
which gfortran || { echo "gfortran missing"; exit 1; }
which cc && test -f $(dirname $(which cc))/c++ && printf "#define GCCVER ((__GNUC__ << 16)+(__GNUC_MINOR__ << 8)+(__GNUC_PATCHLEVEL__))\n#if (GCCVER < 0x060000 || GCCVER > 0x100000)\n#error \"System's GCC cannot be used: we need GCC 6.X. We are going to compile our own version.\"\n#endif\n" | cc -xc++ - -c -o /dev/null
which gcc && test -f $(dirname $(which gcc))/c++ && printf "#define GCCVER ((__GNUC__ * 10000)+(__GNUC_MINOR__ * 100)+(__GNUC_PATCHLEVEL__))\n#if (GCCVER < 130000)\n#error \"System's GCC cannot be used: we need at least GCC $REQUESTED_VERSION We are going to compile our own version.\"\n#endif\n" | gcc -xc++ - -c -o /dev/null

Check notice on line 15 in gcc-toolchain.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Don't use variables in the printf format string. Use printf '..%s..' "$foo". [SC2059]

Check warning on line 15 in gcc-toolchain.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Quote this to prevent word splitting. [SC2046]

Check warning on line 15 in gcc-toolchain.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Quote this to prevent word splitting. [SC2046]

Check warning on line 15 in gcc-toolchain.sh

View workflow job for this annotation

GitHub Actions / alidistlint

line too long (328 > 120 characters) [yl:line-length]
---
#!/bin/bash -e

Expand Down
2 changes: 2 additions & 0 deletions hepmc3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
"HEPMC3": "$HEPMC3_ROOT"
prepend_path:
"ROOT_INCLUDE_PATH": "$HEPMC3_ROOT/include"
prefer_system_check: |
ls $HEPMC3_ROOT/include/HepMC3 && ls $HEPMC3_ROOT/lib/libHepMC3.so
---
#!/bin/bash -e
MODULEDIR="$INSTALLROOT/etc/modulefiles"
Expand Down
Loading