Skip to content

Commit

Permalink
Allow libavif to install rav1e on manylinux2014
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jan 2, 2025
1 parent 0b9a90a commit 57c87a8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/wheels-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,11 @@ function build_harfbuzz {
function build_libavif {
if [ -e libavif-stamp ]; then return; fi

if [[ "$MB_ML_VER" == 2014 ]] || [[ "$PLAT" == "aarch64" ]]; then
# Once Amazon 2 is EOL on 30 June 2025, manylinux2014 will no longer be needed
if [[ "$MB_ML_VER" == 2014 ]] && [ -z "$IS_ALPINE" ]; then
yum install -y perl-IPC-Cmd
fi

if [[ "$PLAT" == "aarch64" ]]; then
# Once GitHub Actions supports aarch64 without emulation, this will no longer needed as building will be faster
if [[ "$PLAT" == "aarch64" ]]; then
suffix="aarch64"
Expand Down

0 comments on commit 57c87a8

Please sign in to comment.