Skip to content

Commit

Permalink
add target march and mcpu flags
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Jul 15, 2024
1 parent c68c5db commit 9dffc56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wheelbuild/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,9 @@ EOF
-DAVIF_CODEC_DAV1D=LOCAL \
-DAVIF_BUILD_APPS=ON \
-DENABLE_NASM=ON \
'-DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG -g' \
'-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -g' \
'-DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG -g -target arm64-apple-macos11 -march=armv8-a+crc+crypto -mcpu=generic ' \
'-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -g -target arm64-apple-macos11 -march=armv8-a+crc+crypto -mcpu=generic ' \
'-DCMAKE_EXE_LINKER_FLAGS=-march=armv8-a+crc+crypto -target arm64-apple-macos11' \
"${LIBAVIF_CMAKE_FLAGS[@]}" \
&& ninja -v install \
&& cp avifenc ../../wheelhouse)
Expand Down

0 comments on commit 9dffc56

Please sign in to comment.