Skip to content
Closed
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
6 changes: 3 additions & 3 deletions alibuild-recipe-tools.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package: alibuild-recipe-tools
version: "v0.3.0"
tag: "v0.3.0"
version: "v0.4.0"
tag: "v0.4.0"
license: GPL-3.0
source: https://github.com/alisw/alibuild-recipe-tools
---
mkdir -p $INSTALLROOT/bin
install $SOURCEDIR/alibuild-generate-module $INSTALLROOT/bin
install $SOURCEDIR/alibuild-generate-module $SOURCEDIR/alibuild-generate-cmake-config $INSTALLROOT/bin

MODULEDIR="$INSTALLROOT/etc/modulefiles"
MODULEFILE="$MODULEDIR/$PKGNAME"
Expand Down
7 changes: 5 additions & 2 deletions freetype.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: FreeType
version: v2.10.1
tag: VER-2-10-1
version: v2.13.3
tag: VER-2-13-3
source: https://github.com/freetype/freetype
requires:
- zlib
Expand All @@ -20,6 +20,9 @@ type glibtoolize && export LIBTOOLIZE=glibtoolize
sh autogen.sh
./configure --prefix="$INSTALLROOT" \
--with-png=no \
--with-harfbuzz=no \
--with-brotli=no \
--with-bzip2=no \
${ZLIB_ROOT:+--with-zlib="$ZLIB_ROOT"}

make ${JOBS:+-j$JOBS}
Expand Down
1 change: 1 addition & 0 deletions onnx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ requires:
- "GCC-Toolchain:(?!osx)"
- protobuf
- abseil
- zlib
build_requires:
- CMake
- alibuild-recipe-tools
Expand Down
2 changes: 1 addition & 1 deletion onnxruntime.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: ONNXRuntime
version: "%(tag_basename)s"
tag: v1.22.0
tag: v1.24.4
license: MIT
source: https://github.com/microsoft/onnxruntime
requires:
Expand Down
6 changes: 6 additions & 0 deletions zlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ rsync -a --chmod=ug=rwX --delete --exclude '**/.git' --delete-excluded $SOURCEDI

make ${JOBS+-j $JOBS}
make install

# Upstream ships no CMake package config, so config-mode find_package(ZLIB) walks
# past us to the system one -- which on EL10 (zlib-ng-compat-devel) references a
# libz.a that only ships in CRB, and errors out when it is absent.
alibuild-generate-cmake-config --name ZLIB --lib z --static-target ZLIB::zlibstatic

# Modulefile
MODULEDIR="$INSTALLROOT/etc/modulefiles"
MODULEFILE="$MODULEDIR/$PKGNAME"
Expand Down