Skip to content
Merged
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
8 changes: 6 additions & 2 deletions abseil.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
package: abseil
version: "%(tag_basename)s"
tag: "20220623.1"
tag: "20240722.0"
requires:
- "GCC-Toolchain:(?!osx)"
build_requires:
- CMake
- ninja
- alibuild-recipe-tools
- ninja
source: https://github.com/abseil/abseil-cpp
prefer_system: "osx"
prefer_system_check: |
printf '#include <absl/container/flat_hash_map.h>' | c++ -std=c++17 -I"$(brew --prefix abseil)/include" -c -xc++ - >/dev/null
printf '#include <absl/container/flat_hash_map.h>' | c++ -std=c++20 -I"$(brew --prefix abseil)/include" -c -xc++ - >/dev/null

Check warning on line 14 in abseil.sh

View workflow job for this annotation

GitHub Actions / alidistlint

line too long (127 > 120 characters) [yl:line-length]
incremental_recipe: |
cmake --build . -- ${JOBS:+-j$JOBS} install
mkdir -p $INSTALLROOT/etc/modulefiles && rsync -a --delete etc/modulefiles/ $INSTALLROOT/etc/modulefiles
prepend_path:
PKG_CONFIG_PATH: "$ABSEIL_ROOT/lib/pkgconfig"
---
#!/bin/bash -e

mkdir -p $INSTALLROOT
cmake $SOURCEDIR \
-G Ninja \
${CXXSTD:+-DCMAKE_CXX_STANDARD=$CXXSTD} \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
Expand Down
2 changes: 2 additions & 0 deletions c-ares.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ source: https://github.com/c-ares/c-ares
incremental_recipe: |
make ${JOBS:+-j$JOBS} install
mkdir -p $INSTALLROOT/etc/modulefiles && rsync -a --delete etc/modulefiles/ $INSTALLROOT/etc/modulefiles
prepend_path:
PKG_CONFIG_PATH: "$C_ARES_ROOT/lib/pkgconfig"
---
#!/bin/bash -e

Expand Down
6 changes: 4 additions & 2 deletions datadistribution.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package: DataDistribution
version: "%(tag_basename)s"
tag: v1.6.6
tag: v1.6.7
source: https://github.com/AliceO2Group/DataDistribution
requires:
- "GCC-Toolchain:(?!osx)"
- boost
Expand All @@ -15,7 +16,6 @@ requires:
- fmt
build_requires:
- CMake
source: https://github.com/AliceO2Group/DataDistribution
incremental_recipe: |
# reduce number of compile slots if invoked by Jenkins
if [ ! "X$JENKINS_HOME" = X ]; then
Expand All @@ -38,13 +38,15 @@ esac
cmake $SOURCEDIR \
${CMAKE_GENERATOR:+-G "$CMAKE_GENERATOR"} \
${CMAKE_BUILD_TYPE:+-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE} \
-DCMAKE_CXX_STANDARD=20 \
-DCMAKE_INSTALL_PREFIX=$INSTALLROOT \
${BOOST_ROOT:+-DBoost_ROOT=$BOOST_ROOT} \
${FAIRLOGGER_ROOT:+-DFairLogger_ROOT=$FAIRLOGGER_ROOT} \
${INFOLOGGER_ROOT:+-DInfoLogger_ROOT=$INFOLOGGER_ROOT} \
${FAIRMQ_ROOT:+-DFairMQ_ROOT=$FAIRMQ_ROOT} \
${PPCONSUL_ROOT:+-Dppconsul_DIR=${PPCONSUL_ROOT}/cmake} \
${O2_ROOT:+-DO2_ROOT=$O2_ROOT} \
-Dprotobuf_MODULE_COMPATIBLE=ON \
${MONITORING_ROOT:+-DMonitoring_ROOT=$MONITORING_ROOT} \
${PROTOBUF_ROOT:+-DProtobuf_ROOT=$PROTOBUF_ROOT} \
${UCX_ROOT:+-DUCX_DIR=${UCX_ROOT}} \
Expand Down
4 changes: 3 additions & 1 deletion eigen3.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package: Eigen3
version: 3.4.0
version: 3.4.0-onnx1
# Needed to compile ONNXRuntime correctly
tag: e7248b26a1ed53fa030c5c459f7ea095dfd276ac
build_requires:
- "GCC-Toolchain:(?!osx)"
- CMake
Expand Down
18 changes: 15 additions & 3 deletions grpc.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: grpc
version: "%(tag_basename)s"
tag: v1.50.1
tag: v1.71.0
requires:
- protobuf
- c-ares
Expand All @@ -15,6 +15,11 @@
incremental_recipe: |
cmake --build . -- ${JOBS:+-j$JOBS} install
mkdir -p $INSTALLROOT/etc/modulefiles && rsync -a --delete etc/modulefiles/ $INSTALLROOT/etc/modulefiles
prefer_system: .*
prefer_system_check: |
printf "#include \"grpcpp/version_info.h\"\n" | cc -I$(brew --prefix grpc)/include -xc++ -std=c++20 - -c -o /dev/null

Check warning on line 20 in grpc.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Quote this to prevent word splitting. [SC2046]
prepend_path:
PKG_CONFIG_PATH: "$GRPC_ROOT/lib/pkgconfig"
---
#!/bin/bash -e
SONAME=so
Expand All @@ -23,21 +28,27 @@
SONAME=dylib
[[ ! $OPENSSL_ROOT ]] && OPENSSL_ROOT=$(brew --prefix openssl@3)
[[ ! $PROTOBUF_ROOT ]] && PROTOBUF_ROOT=$(brew --prefix protobuf)
[[ ! $ABSEIL_ROOT ]] && ABSEIL_ROOT=$(brew --prefix abseil)
# to avoid issues with rpath on mac
extra_cmake_variables="-DCMAKE_INSTALL_RPATH=$INSTALLROOT/lib \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \
-DCMAKE_SHARED_LINKER_FLAGS='-Wl,-undefined,dynamic_lookup' \
-DCMAKE_EXE_LINKER_FLAGS='-Wl,-undefined,dynamic_lookup' \
"
;;
esac

echo "OPENSSL_ROOT : $OPENSSL_ROOT"
echo "OPENSSL_REVISION: $OPENSSL_REVISION"




cmake $SOURCEDIR \
-G Ninja \
${CXXSTD:+-DCMAKE_CXX_STANDARD=$CXXSTD} \
-DCMAKE_INSTALL_PREFIX=$INSTALLROOT \
-DgRPC_PROTOBUF_PACKAGE_TYPE="CONFIG" \
-DCMAKE_PREFIX_PATH=$ABSEIL_ROOT/cmake:$PROTOBUF_ROOT/cmake \
-DgRPC_BUILD_TESTS=OFF \
-DBUILD_SHARED_LIBS=ON \
-DgRPC_SSL_PROVIDER=package \
Expand All @@ -48,7 +59,8 @@
-DgRPC_BENCHMARK_PROVIDER=package \
-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF \
-DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN=OFF \
-DgRPC_BUILD_GRPC_PHP_PLUGIN=OFF \
-DgRPC_BUILD_GRPC_PHP_PLUGIN=OFF \
-DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF \
-DgRPC_BUILD_GRPC_CPP_PLUGIN=ON \
-DgRPC_BUILD_CSHARP_EXT=OFF \
-DgRPC_RE2_PROVIDER=package \
Expand Down
2 changes: 1 addition & 1 deletion gsl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- alibuild-recipe-tools
prefer_system: (?!slc5)
prefer_system_check: |
printf "#include \"gsl/gsl_version.h\"\n#define GSL_V GSL_MAJOR_VERSION * 100 + GSL_MINOR_VERSION\n# if (GSL_V < 116)\n#error \"Cannot use system's gsl. Notice we only support versions from 1.16 (included)\"\n#endif\nint main(){}" | c++ -I$(brew --prefix gsl)/include -xc++ - -o /dev/null
printf "#include \"gsl/gsl_version.h\"\n#define GSL_V GSL_MAJOR_VERSION * 100 + GSL_MINOR_VERSION\n# if (GSL_V < 116)\n#error \"Cannot use system's gsl. Notice we only support versions from 1.16 (included)\"\n#endif\nint main(){}" | cc -xc - -I$(brew --prefix gsl)/include -c -o /dev/null

Check warning on line 12 in gsl.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Quote this to prevent word splitting. [SC2046]

Check warning on line 12 in gsl.sh

View workflow job for this annotation

GitHub Actions / alidistlint

line too long (291 > 120 characters) [yl:line-length]
---
#!/bin/bash -e
rsync -a --exclude '**/.git' --delete $SOURCEDIR/ $BUILDDIR
Expand Down
9 changes: 7 additions & 2 deletions mesos.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: mesos
version: v1.11.0
tag: 1.11.0-alice1
tag: 1.11.0-alice2
source: https://github.com/AliceO2Group/mesos.git
requires:
- zlib
Expand All @@ -11,6 +11,7 @@
- system-apr-util
- system-cyrus-sasl
- system-subversion
- boost
# We specifically CANNOT build against our own curl and OpenSSL on slc8, as
# those conflict with system-cyrus-sasl.
# - curl
Expand All @@ -24,7 +25,8 @@
PATH: "$MESOS_ROOT/sbin"
PYTHONPATH: $MESOS_ROOT/lib/python2.7/site-packages
---
export CXXFLAGS="-fPIC -O2 -std=c++14 -w"
export CXXFLAGS="-fPIC -O2 -std=c++20 -w"

Check notice on line 28 in mesos.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Missing script shebang. Use exactly "#!/bin/bash -e" to match aliBuild environment. You may see spurious errors until you fix the shebang. [ali:bad-shebang]
export LIBS="-L${ABSEIL_ROOT}/lib -L${C_ARES_ROOT}/lib -L${RE2_ROOT}/lib -L${GRPC_ROOT}/lib -L${PROTOBUF_ROOT}/lib $(pkg-config --libs-only-l absl_log absl_cord absl_log_internal_check_op absl_raw_hash_set absl_status absl_flags protobuf libcares upb grpc utf8_range) -laddress_sorting"

Check warning on line 29 in mesos.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Declare and assign separately to avoid masking return values. [SC2155]
# Needed for mesos grpc configure checks
export CPPFLAGS="-I${ABSEIL_ROOT}/include"
export CFLAGS="-I${ABSEIL_ROOT}/include"
Expand All @@ -33,10 +35,13 @@
./bootstrap
mkdir build
cd build
sed -i.bak -e's/c++11/c++20/' ../configure
../configure --prefix="$INSTALLROOT" \
--disable-python \
--disable-java \
--with-boost=${BOOST_ROOT} \
--with-protobuf=${PROTOBUF_ROOT} \
--with-re2=${RE2_ROOT} \
--with-grpc=${GRPC_ROOT} \
--with-glog=${GLOG_ROOT} \
--with-rapidjson=${RAPIDJSON_ROOT}
Expand Down
12 changes: 11 additions & 1 deletion o2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ valid_defaults:
#!/bin/sh
export ROOTSYS=$ROOT_ROOT

if [[ -n $ONNXRUNTIME_REVISION ]]; then
source $ONNXRUNTIME_ROOT/etc/ort-init.sh
echo "ORT_ROCM_BUILD: $ORT_ROCM_BUILD"
echo "ORT_CUDA_BUILD: $ORT_CUDA_BUILD"
fi

# Making sure people do not have SIMPATH set when they build fairroot.
# Unfortunately SIMPATH seems to be hardcoded in a bunch of places in
# fairroot, so this really should be cleaned up in FairRoot itself for
Expand Down Expand Up @@ -206,7 +212,11 @@ cmake $SOURCEDIR -DCMAKE_INSTALL_PREFIX=$INSTALLROOT
${ARROW_ROOT:+-DArrow_DIR=$ARROW_ROOT/lib/cmake/Arrow} \
${CLANG_REVISION:+-DCLANG_EXECUTABLE="$CLANG_ROOT/bin-safe/clang"} \
${CLANG_REVISION:+-DLLVM_LINK_EXECUTABLE="$CLANG_ROOT/bin/llvm-link"} \
${ITSRESPONSE_ROOT:+-DITSRESPONSE=${ITSRESPONSE_ROOT}}
${ITSRESPONSE_ROOT:+-DITSRESPONSE=${ITSRESPONSE_ROOT}} \
${ORT_ROCM_BUILD:+-DORT_ROCM_BUILD=${ORT_ROCM_BUILD}} \
${ORT_CUDA_BUILD:+-DORT_CUDA_BUILD=${ORT_CUDA_BUILD}} \
${ORT_MIGRAPHX_BUILD:+-DORT_MIGRAPHX_BUILD=${ORT_MIGRAPHX_BUILD}} \
${ORT_TENSORRT_BUILD:+-DORT_TENSORRT_BUILD=${ORT_TENSORRT_BUILD}}
# LLVM_ROOT is required for Gandiva

cmake --build . -- ${JOBS+-j $JOBS} install
Expand Down
1 change: 1 addition & 0 deletions onnx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ requires:
build_requires:
- CMake
- alibuild-recipe-tools
- Python
- ninja
---
#!/bin/bash -e
Expand Down
Loading