Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 6, 2024
1 parent efe7728 commit d538355
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/wheels-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,22 @@ function build_harfbuzz {
}

function install_rav1e {
# This can be removed once Amazon 2 is EOL on 30 June 2025
if [[ "$PLAT" == "aarch64" ]]; then
suffix="aarch64"
if [ -n "$IS_MACOS" ]; then
suffix="macos"
if [[ "$PLAT" == "arm64" ]]; then
suffix+="-aarch64"
fi
else
suffix="generic"
suffix="linux"
if [[ "$PLAT" == "aarch64" ]]; then
suffix+="-aarch64"
else
suffix+="-generic"
fi
fi

curl -sLo - \
https://github.com/xiph/rav1e/releases/download/v$RAV1E_VERSION/librav1e-$RAV1E_VERSION-linux-$suffix.tar.gz \
https://github.com/xiph/rav1e/releases/download/v$RAV1E_VERSION/librav1e-$RAV1E_VERSION-$suffix.tar.gz \
| tar -C $BUILD_PREFIX --exclude LICENSE --exclude '*.so' --exclude '*.dylib' -zxf -

if [ -z "$IS_MACOS" ]; then
Expand Down

0 comments on commit d538355

Please sign in to comment.