From b4f1317c977c94289e971b668475feaf6de62d2c Mon Sep 17 00:00:00 2001 From: Frankie Dintino Date: Tue, 16 Jul 2024 11:03:24 -0400 Subject: [PATCH] explicit march --- wheelbuild/config.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wheelbuild/config.sh b/wheelbuild/config.sh index 6cd4aff..8a58b19 100644 --- a/wheelbuild/config.sh +++ b/wheelbuild/config.sh @@ -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 -march=armv8-a+crc+crypto+dotprod+i8mm -mcpu=generic' \ + '-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -g -march=armv8-a+crc+crypto+dotprod+i8mm -mcpu=generic' \ + '-DCMAKE_EXE_LINKER_FLAGS=-march=armv8-a+crc+crypto+dotprod+i8mm -target arm64-apple-macos11' \ "${LIBAVIF_CMAKE_FLAGS[@]}" \ && ninja -v install \ && cp avifenc ../../wheelhouse)