From 0eae0b0154ce4b4f8c54c0bd66fe70bc5927657e Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Thu, 23 Jul 2026 18:07:24 +0200 Subject: [PATCH 1/2] EXP: [Python] Show compilation options when building wheel --- ci/scripts/python_wheel_xlinux_build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/scripts/python_wheel_xlinux_build.sh b/ci/scripts/python_wheel_xlinux_build.sh index b0e53a05321..add918ab916 100755 --- a/ci/scripts/python_wheel_xlinux_build.sh +++ b/ci/scripts/python_wheel_xlinux_build.sh @@ -144,6 +144,7 @@ cmake \ -DCMAKE_INSTALL_PREFIX=/tmp/arrow-dist \ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION="${CMAKE_INTERPROCEDURAL_OPTIMIZATION}" \ -DCMAKE_UNITY_BUILD="${CMAKE_UNITY_BUILD}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ -DPARQUET_REQUIRE_ENCRYPTION="${PARQUET_REQUIRE_ENCRYPTION}" \ -DVCPKG_MANIFEST_MODE=OFF \ -DVCPKG_TARGET_TRIPLET="${VCPKG_TARGET_TRIPLET}" \ From 2fd3376bbb134571700cbdbc7ec57a8df2bbb08c Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Thu, 23 Jul 2026 18:20:33 +0200 Subject: [PATCH 2/2] Disable LTO on SVE-enabled translation units --- cpp/src/arrow/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt index e792574a183..0bdccdff18f 100644 --- a/cpp/src/arrow/CMakeLists.txt +++ b/cpp/src/arrow/CMakeLists.txt @@ -346,14 +346,18 @@ endmacro() macro(append_runtime_sve128_src SRCS SRC) if(ARROW_HAVE_RUNTIME_SVE128) list(APPEND ${SRCS} ${SRC}) - set_source_files_properties(${SRC} PROPERTIES COMPILE_OPTIONS "${ARROW_SVE128_FLAGS}") + set_property(SOURCE ${SRC} + APPEND + PROPERTY COMPILE_OPTIONS "${ARROW_SVE128_FLAGS}" "-fno-lto") endif() endmacro() macro(append_runtime_sve256_src SRCS SRC) if(ARROW_HAVE_RUNTIME_SVE256) list(APPEND ${SRCS} ${SRC}) - set_source_files_properties(${SRC} PROPERTIES COMPILE_OPTIONS "${ARROW_SVE256_FLAGS}") + set_property(SOURCE ${SRC} + APPEND + PROPERTY COMPILE_OPTIONS "${ARROW_SVE256_FLAGS}" "-fno-lto") endif() endmacro()