From 3fdff0e87b571e6605882efb285cf72c1dd2f64c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Mon, 15 Jun 2026 16:00:51 +0200 Subject: [PATCH] GH-49327: [Python][Packaging] Use ARROW_SIMD_LEVEL=NEON for macOS arm64 --- ci/scripts/python_wheel_macos_build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/scripts/python_wheel_macos_build.sh b/ci/scripts/python_wheel_macos_build.sh index 31395e26c23a..e5a13b3757cd 100755 --- a/ci/scripts/python_wheel_macos_build.sh +++ b/ci/scripts/python_wheel_macos_build.sh @@ -39,8 +39,10 @@ export SDKROOT=${SDKROOT:-$(xcrun --sdk macosx --show-sdk-path)} if [ $arch = "arm64" ]; then export CMAKE_OSX_ARCHITECTURES="arm64" + : ${ARROW_SIMD_LEVEL:="NEON"} elif [ $arch = "x86_64" ]; then export CMAKE_OSX_ARCHITECTURES="x86_64" + : ${ARROW_SIMD_LEVEL:="SSE4_2"} else echo "Unexpected architecture: $arch" exit 1 @@ -68,7 +70,6 @@ echo "=== (${PYTHON_VERSION}) Building Arrow C++ libraries ===" : ${PARQUET_REQUIRE_ENCRYPTION:=ON} : ${ARROW_SUBSTRAIT:=ON} : ${ARROW_S3:=ON} -: ${ARROW_SIMD_LEVEL:="SSE4_2"} : ${ARROW_TENSORFLOW:=ON} : ${ARROW_WITH_BROTLI:=ON} : ${ARROW_WITH_BZ2:=ON}