Skip to content

Commit

Permalink
another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Jul 16, 2024
1 parent 6d9be23 commit 46929d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 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: 6 additions & 3 deletions wheelbuild/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ EOF
group_start "Download libavif source"

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

group_end
Expand All @@ -297,13 +297,16 @@ EOF
-DAVIF_CODEC_DAV1D=LOCAL \
-DAVIF_BUILD_APPS=ON \
-DENABLE_NASM=ON \
-DAOM_EXTRA_C_FLAGS=-O2 \
-DAOM_EXTRA_CXX_FLAGS=-O2 \
'-DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG -g' \
'-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -g' \
"${LIBAVIF_CMAKE_FLAGS[@]}" \
&& ninja -v install \
&& cp avifenc ../../wheelhouse)

group_end
# '-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' \
}

function build_nasm {
Expand Down

0 comments on commit 46929d2

Please sign in to comment.