Skip to content

Commit

Permalink
possible fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Jul 16, 2024
1 parent 8da326d commit 6d9be23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ jobs:
sudo chown -R $(whoami):$(id -ng) ccache ||:
sudo chown -R $(whoami):$(id -ng) sccache ||:
- name: run dsymutil
run: |
dsymutil wheelhouse/avifenc
# - name: run dsymutil
# run: |
# dsymutil wheelhouse/avifenc

- uses: actions/upload-artifact@v3
with:
Expand Down
9 changes: 4 additions & 5 deletions wheelbuild/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eo pipefail
CONFIG_DIR=$(abspath $(dirname "${BASH_SOURCE[0]}"))

ARCHIVE_SDIR=pillow-avif-plugin-depends
LIBAVIF_VERSION=98324950529fc082ff9a392219e174d254fba2b5
LIBAVIF_VERSION=e54b5c2908e74b5d7d090df53919f7ba52cd856f
RAV1E_VERSION=0.7.1
CCACHE_VERSION=4.7.1
SCCACHE_VERSION=0.3.0
Expand Down Expand Up @@ -270,7 +270,7 @@ EOF
group_start "Download libavif source"

fetch_unpack \
"https://github.com/fdintino/libavif/archive/$LIBAVIF_VERSION.tar.gz" \
"https://github.com/AOMediaCodec/libavif/archive/$LIBAVIF_VERSION.tar.gz" \
"libavif-$LIBAVIF_VERSION.tar.gz"

group_end
Expand All @@ -297,9 +297,8 @@ EOF
-DAVIF_CODEC_DAV1D=LOCAL \
-DAVIF_BUILD_APPS=ON \
-DENABLE_NASM=ON \
'-DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG -g -target arm64-apple-macos11 -mtune=apple-m1 -mcpu=generic' \
'-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -g -target arm64-apple-macos11 -mtune=apple-m1 -mcpu=generic' \
'-DCMAKE_EXE_LINKER_FLAGS=-target arm64-apple-macos11' \
-DAOM_EXTRA_C_FLAGS=-O2 \
-DAOM_EXTRA_CXX_FLAGS=-O2 \
"${LIBAVIF_CMAKE_FLAGS[@]}" \
&& ninja -v install \
&& cp avifenc ../../wheelhouse)
Expand Down

0 comments on commit 6d9be23

Please sign in to comment.