Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d35307c
Bump cgal
davidrohr Feb 18, 2026
cb96af0
Remove fixed versions of cgal, which were fixed > 4 years ago
davidrohr Feb 18, 2026
05ab666
bump double-conversion
davidrohr Feb 17, 2026
73ef176
Bump glfw to 3.4
davidrohr Feb 17, 2026
3c98cff
Bump libuv
davidrohr Feb 17, 2026
e99289c
Bump lz4
davidrohr Feb 17, 2026
0d29648
Update json-c
davidrohr Feb 17, 2026
371e823
Make DPMJet compile with CMake 4
davidrohr Feb 17, 2026
1b1f69d
Bump utf8proc to 2.11.2
davidrohr Feb 17, 2026
82b7bc3
Disable wayland build of glfw, does not find wayland-scanner in build…
davidrohr Feb 17, 2026
c81be61
Force json-c to compile with cmake 4
davidrohr Feb 17, 2026
0a0a07b
Force c-ares to compile with cmake 4
davidrohr Feb 17, 2026
16be12f
Fix rapidjson with CMake 4
davidrohr Feb 17, 2026
818557a
Make ZeroMQ compile with CMake 4
davidrohr Feb 18, 2026
aab46f6
Bump libwebsockets to 4.5.2
davidrohr Feb 18, 2026
9ad4b18
Bump CMake to 4.1.4
davidrohr Feb 17, 2026
8a69f94
Bump boost to 1.90.0
davidrohr Feb 17, 2026
26769f3
Bump crmc, make it compile with cmake 4 and boost 1.90
davidrohr Feb 21, 2026
68dc2cf
Create a dummy libCGAL.so library, so that fastjet can find it
davidrohr Mar 2, 2026
eef555b
Fix gbl with cmake 4
davidrohr Mar 2, 2026
3286163
Fake cgal library on macos
davidrohr Mar 2, 2026
d125d9d
Bump upcgen to support CMake 4
davidrohr Mar 2, 2026
42b4118
Fix compilation with new boost and CMake in jetscape
davidrohr Mar 3, 2026
e33bd80
Bump DD to 1.6.10
davidrohr Mar 4, 2026
a316427
Fix libwebsocket compilation on slc7
davidrohr Mar 4, 2026
9e0ffad
Make roounfold compile with CMake 4
davidrohr Mar 5, 2026
1f6b6db
Bump Treelite to latest version compatible with AliPhysics and fix co…
davidrohr Mar 5, 2026
dd273bb
Use newer xgboost for python 3.10 for aarch64
davidrohr Mar 11, 2026
20a6e5a
Fix utf8proc libdir
davidrohr Mar 18, 2026
d0463e0
Do not use alidist curl on MacOS for cmake
davidrohr Mar 19, 2026
44d2a70
Bump DDS to 3.18
davidrohr Mar 25, 2026
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
4 changes: 2 additions & 2 deletions boost.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: boost
version: v1.83.0-alice2
tag: v1.83.0-alice2
version: v1.90.0-alice1
tag: v1.90.0-alice1
source: https://github.com/alisw/boost.git
requires:
- "GCC-Toolchain:(?!osx)"
Expand Down
2 changes: 1 addition & 1 deletion c-ares.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ prepend_path:
---
#!/bin/bash -e

cmake $SOURCEDIR -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$INSTALLROOT -DCMAKE_INSTALL_LIBDIR=lib
cmake $SOURCEDIR -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$INSTALLROOT -DCMAKE_INSTALL_LIBDIR=lib
make ${JOBS:+-j$JOBS} install

case $ARCHITECTURE in
Expand Down
10 changes: 8 additions & 2 deletions cgal.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package: cgal
version: "4.6.3"
version: "6.1.1"
requires:
- boost
license: GPL-3.0
Expand All @@ -16,7 +16,7 @@ case $ARCHITECTURE in
[[ ! $BOOST_ROOT ]] && BOOST_ROOT=`brew --prefix boost`
;;
esac
URL="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-$PKGVERSION/CGAL-$PKGVERSION.tar.xz"
URL="https://github.com/CGAL/cgal/releases/download/v$PKGVERSION/CGAL-$PKGVERSION.tar.xz"

curl -kLo cgal.tar.xz "$URL"
tar xJf cgal.tar.xz
Expand Down Expand Up @@ -75,6 +75,12 @@ find $INSTALLROOT/lib/ -name "*.dylib" -exec install_name_tool -add_rpath @loade
find $INSTALLROOT/lib/ -name "*.dylib" -exec install_name_tool -add_rpath ${INSTALLROOT}/lib {} \;
find $INSTALLROOT/lib/ -name "*.dylib" -exec install_name_tool -id {} {} \;

if [[ ${ALIBUILD_ARCHITECTURE} = osx* ]]; then
echo "" | cc -o $INSTALLROOT/lib/libCGAL.dylib -dynamiclib -x c++ -
else
echo "" | gcc -o $INSTALLROOT/lib/libCGAL.so -shared -x c++ -
fi

# Modulefile
MODULEDIR="$INSTALLROOT/etc/modulefiles"
MODULEFILE="$MODULEDIR/$PKGNAME"
Expand Down
4 changes: 2 additions & 2 deletions cmake.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package: CMake
version: "%(tag_basename)s"
tag: "v3.31.6"
tag: "v4.1.4"
source: https://github.com/Kitware/CMake
requires:
- "OpenSSL:(?!osx)"
- "GCC-Toolchain:(?!osx)"
- zlib
- curl
- "curl:(?!osx)"
license: BSD-3-Clause
build_requires:
- make
Expand Down
2 changes: 1 addition & 1 deletion crmc.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: CRMC
version: "%(tag_basename)s-correctHepMC"
tag: v1.7.0
tag: v1.7.0-alice1
source: https://github.com/alisw/crmc.git
requires:
- boost
Expand Down
2 changes: 1 addition & 1 deletion datadistribution.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: DataDistribution
version: "%(tag_basename)s"
tag: v1.6.9
tag: v1.6.10
source: https://github.com/AliceO2Group/DataDistribution
requires:
- "GCC-Toolchain:(?!osx)"
Expand Down
2 changes: 1 addition & 1 deletion dds.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: DDS
version: "%(tag_basename)s"
tag: "3.16"
tag: "3.18"
source: https://github.com/FairRootGroup/DDS
requires:
- boost
Expand Down
2 changes: 0 additions & 2 deletions defaults-ali.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ overrides:
- JAliEn-ROOT
vgm:
tag: "v5-2"
cgal:
version: 4.12.2
fastjet:
tag: v3.4.1_1.052-alice2
ROOT:
Expand Down
2 changes: 0 additions & 2 deletions defaults-o2-epn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ overrides:
- Vc
- ZeroMQ
- JAliEn-ROOT
cgal:
version: 4.12.2
fastjet:
tag: v3.4.0_1.045-alice1
DataDistribution:
Expand Down
2 changes: 0 additions & 2 deletions defaults-o2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ overrides:
- Vc
- ZeroMQ
- JAliEn-ROOT
cgal:
version: 4.12.2
---
# This file is included in any build recipe and it's only used to set
# environment variables. Which file to actually include can be defined by the
Expand Down
2 changes: 1 addition & 1 deletion double-conversion.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package: double-conversion
version: v3.1.5
version: v3.4.0
license: MIT
source: https://github.com/google/double-conversion
build_requires:
Expand Down
1 change: 1 addition & 0 deletions dpmjet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if [ $FVERSION -ge 10 ]; then
fi

cmake $SOURCEDIR \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_INSTALL_PREFIX=$INSTALLROOT \
${SPECIALFFLAGS:+-DCMAKE_Fortran_FLAGS="-fallow-argument-mismatch"}

Expand Down
2 changes: 1 addition & 1 deletion fastjet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pushd fastjet
FJTAG=${GIT_TAG#alice-}
if [[ $FJTAG < "v3.3.3" ]]
then
ADDITIONAL_FLAGS="${GMP_ROOT:+-L$GMP_ROOT/lib -lgmp} ${MPFR_ROOT:+-L$MPFR_ROOT/lib -lmpfr} $BOOST_LIBS ${CGAL_ROOT:+-L$CGAL_ROOT/lib -lCGAL -I$CGAL_ROOT/include} ${BOOST_ROOT:+-I$BOOST_ROOT/include} ${GMP_ROOT:+-I$GMP_ROOT/include} ${MPFR_ROOT:+-I$MPFR_ROOT/include} ${CGAL_ROOT:+-DCGAL_DO_NOT_USE_MPZF} -O2 -g"
ADDITIONAL_FLAGS="${GMP_ROOT:+-L$GMP_ROOT/lib -lgmp} ${MPFR_ROOT:+-L$MPFR_ROOT/lib -lmpfr} $BOOST_LIBS ${CGAL_ROOT:+-L$CGAL_ROOT/lib -I$CGAL_ROOT/include} ${BOOST_ROOT:+-I$BOOST_ROOT/include} ${GMP_ROOT:+-I$GMP_ROOT/include} ${MPFR_ROOT:+-I$MPFR_ROOT/include} ${CGAL_ROOT:+-DCGAL_DO_NOT_USE_MPZF} -O2 -g"
export CXXFLAGS="$CXXFLAGS $ARCH_FLAGS $ADDITIONAL_FLAGS"
export CFLAGS="$CFLAGS $ARCH_FLAGS $ADDITIONAL_FLAGS"
export CPATH="${BOOST_INC}${CGAL_ROOT:+$CGAL_ROOT/include:}${GMP_ROOT:+$GMP_ROOT/include:}${MPFR_ROOT:+$MPFR_ROOT/include}"
Expand Down
1 change: 1 addition & 0 deletions gbl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ build_requires:
cmake -S "${SOURCEDIR}/cpp/" -B "$BUILDDIR" \
-DCMAKE_BUILD_TYPE="$CMAKE_BUILD_TYPE" \
-DCMAKE_INSTALL_PREFIX="$INSTALLROOT" \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DEIGEN3_INCLUDE_DIR="$EIGEN3_ROOT/include/eigen3" \
-DSUPPORT_ROOT=ON
cmake --build . -- ${JOBS:+-j$JOBS}
Expand Down
5 changes: 3 additions & 2 deletions glfw.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: GLFW
version: "3.3.2"
tag: 3.3.2
version: "3.4"
tag: "3.4"
license: Zlib
source: https://github.com/glfw/glfw.git
build_requires:
Expand All @@ -20,6 +20,7 @@ cmake --debug-output $SOURCEDIR -DCMAKE_INSTALL_PREFIX=$INSTALLROOT \
-DGLFW_BUILD_EXAMPLES=OFF \
-DCMAKE_INSTALL_LIBDIR=lib \
-DGLFW_BUILD_TESTS=OFF \
-DGLFW_BUILD_WAYLAND=OFF \
-DGLFW_BUILD_DOCS=OFF

cmake --build . -- ${JOBS+-j $JOBS} install
Expand Down
2 changes: 1 addition & 1 deletion jetscape.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: JETSCAPE
version: "%(tag_basename)s"
tag: "v3.1.1-alice6"
tag: "v3.1.1-alice7"
source: https://github.com/alisw/JETSCAPE
requires:
- boost
Expand Down
5 changes: 3 additions & 2 deletions json-c.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: json-c
version: "v0.17.0"
tag: "json-c-0.17-20230812"
version: "v0.18.0"
tag: "json-c-0.18-20240915"
license: MIT
source: https://github.com/json-c/json-c
build_requires:
Expand All @@ -12,6 +12,7 @@ build_requires:

cmake "$SOURCEDIR" \
-DCMAKE_INSTALL_PREFIX="$INSTALLROOT" \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DBUILD_SHARED_LIBS=OFF \
${CMAKE_BUILD_TYPE:+-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE}

Expand Down
2 changes: 1 addition & 1 deletion libuv.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package: libuv
version: v1.40.0
version: v1.52.0
source: https://github.com/libuv/libuv
requires:
- "GCC-Toolchain:(?!osx)"
Expand Down
13 changes: 11 additions & 2 deletions libwebsockets.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: libwebsockets
version: "%(tag_basename)s"
tag: "v4.3.2"
tag: "v4.5.2"
source: https://github.com/warmcat/libwebsockets
requires:
- libuv
Expand Down Expand Up @@ -35,7 +35,16 @@
: "${OPENSSL_ROOT:=$(brew --prefix openssl@3)}" ;;
esac

cmake $SOURCEDIR \
if [[ "${ARCHITECTURE}" =~ ^slc7 ]]; then
mkdir -p srcdir
rsync -a --delete --exclude '**/.git' $SOURCEDIR/ ./srcdir/

Check notice on line 40 in libwebsockets.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Possible misspelling: SOURCEDIR may not be assigned. Did you mean SOURCEDIR2? [SC2153]
sed -i 's/^.*LWS_HAVE_LINUX_IPV6_H.*$/set(LWS_HAVE_LINUX_IPV6_H 0)/' ./srcdir/CMakeLists.txt
SOURCEDIR2="./srcdir/"
else
SOURCEDIR2="$SOURCEDIR"
fi

cmake $SOURCEDIR2 \
-GNinja \
-DCMAKE_C_FLAGS_RELEASE="-Wno-error" \
-DCMAKE_INSTALL_PREFIX="$INSTALLROOT" \
Expand Down
2 changes: 1 addition & 1 deletion lz4.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: lz4
version: "%(tag_basename)s"
tag: v1.9.3
tag: v1.10.0
license: BSD-2-Clause
source: https://github.com/lz4/lz4
build_requires:
Expand Down
4 changes: 2 additions & 2 deletions python-modules-list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ env:

xgboost == 0.82; python_version < '3.8'
xgboost == 1.3.3; python_version == '3.8'
xgboost == 1.2.0; python_version >= '3.9' and python_version < '3.11'
xgboost == 1.7.5; python_version >= '3.11'
xgboost == 1.2.0; python_version == '3.9'
xgboost == 1.7.5; python_version >= '3.10'

dryable == 1.0.3; python_version < '3.9'
dryable == 1.0.5; python_version >= '3.9'
Expand Down
1 change: 1 addition & 0 deletions rapidjson.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ prepend_path:
---
cmake $SOURCEDIR \
-G Ninja \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_INSTALL_PREFIX=$INSTALLROOT \
-DCMAKE_POLICY_DEFAULT_CMP0077=NEW \
-DRAPIDJSON_BUILD_TESTS=OFF \
Expand Down
1 change: 1 addition & 0 deletions roounfold.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ cmake $SOURCEDIR \
${CXXSTD:+-DCMAKE_CXX_STANDARD=$CXXSTD} \
${CMAKE_BUILD_TYPE:+-DCMAKE_BUILD_TYPE="$CMAKE_BUILD_TYPE"} \
-DROOT_DIR=$ROOT_ROOT \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_INSTALL_LIBDIR=lib
make ${JOBS:+-j$JOBS} install
#make test
Expand Down
17 changes: 15 additions & 2 deletions treelite.sh
Original file line number Diff line number Diff line change
@@ -1,28 +1,41 @@
package: treelite
version: "%(tag_basename)s"
tag: "8498081"
tag: "df6a892b7faf532aea13bacc0f30b8a4743f82cf"
source: https://github.com/dmlc/treelite
requires:
- "GCC-Toolchain:(?!osx)"
- fmt
- RapidJSON
license: Apache-2.0
build_requires:
- CMake
- "Xcode:(osx.*)"
---
#!/bin/bash -e

case $ARCHITECTURE in
osx*)
# If we preferred system tools, we need to make sure we can pick them up.
[[ ! $FMT_ROOT ]] && FMT_ROOT=`brew --prefix fmt`

Check notice on line 19 in treelite.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Use $(...) notation instead of legacy backticks `...`. [SC2006]

Check notice on line 19 in treelite.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Prefer explicit -n to check non-empty string (or use =/-ne to check boolean/integer). [SC2244]
;;
*) ;;
esac

rsync -a $SOURCEDIR/ src/
pushd src
git submodule update --init --recursive
sed -i.deleteme "s/RAPIDJSON_INCLUDE_DIRS/RapidJSON_INCLUDE_DIRS/g" cmake/ExternalLibs.cmake
popd

cmake src \
${CMAKE_GENERATOR:+-G "$CMAKE_GENERATOR"} \
-DCMAKE_POLICY_VERSION_MINIMUM=3.27 \
-DCMAKE_INSTALL_PREFIX="$INSTALLROOT" \
-DUSE_OPENMP=OFF

cmake --build . -- ${JOBS:+-j$JOBS} install

[[ -d $INSTALLROOT/lib64 ]] && [[ ! -d $INSTALLROOT/lib ]] && ln -sf ${INSTALLROOT}/lib64 $INSTALLROOT/lib
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The symlink lib -> lib64 is not relocated which is currently breaking the AliPhysics CI builds:

lib -> /sw/INSTALLROOT/6f8bcece55616f5b23671770a825fc8e1249b05f/slc7_x86-64/treelite/df6a892b7faf532aea13bacc0f30b8a4743f82cf-local1/lib64

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[[ -d $INSTALLROOT/lib64 ]] && [[ ! -d $INSTALLROOT/lib ]] && ln -sf ${INSTALLROOT}/lib64 $INSTALLROOT/lib
[[ -d $INSTALLROOT/lib64 ]] && [[ ! -d $INSTALLROOT/lib ]] && ln -sf lib64 $INSTALLROOT/lib

I guess a relative link should fix it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is actually a way to tell CMake to use lib rather than lib64. I would use that. @singiamtel can you have a look?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only vaguely remember, but I think I tried the CMake libdir setting, and it failed for some reason, that is why I put the symlink. We can of course try to fix it the "correct" way, but if that causes issues, I would just create a relative symlink.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see if #6213 fixes it.


# Modulefile
MODULEDIR="$INSTALLROOT/etc/modulefiles"
MODULEFILE="$MODULEDIR/$PKGNAME"
Expand Down
2 changes: 1 addition & 1 deletion upcgen.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: Upcgen
version: "%(tag_basename)s"
tag: upcgen-o2-25-12-24-1
tag: upcgen-o2-26-03-02-1
source: https://github.com/alisw/upcgen
requires:
- ROOT
Expand Down
6 changes: 3 additions & 3 deletions utf8proc.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: utf8proc
version: "v2.6.1"
tag: v2.6.1
version: "v2.11.2"
tag: v2.11.2
license: MIT
source: https://github.com/JuliaStrings/utf8proc
build_requires:
Expand All @@ -12,7 +12,7 @@
printf "#include <utf8proc.h>\n" | c++ -c -I$(brew --prefix utf8proc)/include -xc++ - -o /dev/null 2>&1;
if [ $? -ne 0 ]; then printf "Use brew install utf8proc"; exit 1; fi
---
cmake $SOURCEDIR -DCMAKE_INSTALL_PREFIX=$INSTALLROOT -DBUILD_SHARED_LIBS=ON
cmake $SOURCEDIR -DCMAKE_INSTALL_PREFIX=$INSTALLROOT -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_LIBDIR=lib

Check notice on line 15 in utf8proc.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]
make ${JOBS+-j $JOBS} install

mkdir -p etc/modulefiles
Expand Down
1 change: 1 addition & 0 deletions zeromq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ cmake $SOURCEDIR \
-G Ninja \
-DENABLE_WS=OFF \
-DBUILD_TESTS=OFF \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=$INSTALLROOT

Expand Down
Loading