Uwe Korn created ARROW-15445: -------------------------------- Summary: [C++/Python] pyarrow build incorrectly detects x86 as system process during cross-cimpile Key: ARROW-15445 URL: https://issues.apache.org/jira/browse/ARROW-15445 Project: Apache Arrow Issue Type: Bug Components: C++, Python Reporter: Uwe Korn
When cross-compiling {{pyarrow}} for aarch64 or ppc64le we run into the following issue: {code:java} -- System processor: x86_64 -- Performing Test CXX_SUPPORTS_SSE4_2 -- Performing Test CXX_SUPPORTS_SSE4_2 - Failed -- Performing Test CXX_SUPPORTS_AVX2 -- Performing Test CXX_SUPPORTS_AVX2 - Failed -- Performing Test CXX_SUPPORTS_AVX512 -- Performing Test CXX_SUPPORTS_AVX512 - Failed -- Arrow build warning level: PRODUCTION CMake Error at cmake_modules/SetupCxxFlags.cmake:456 (message): SSE4.2 required but compiler doesn't support it. Call Stack (most recent call first): CMakeLists.txt:121 (include) -- Configuring incomplete, errors occurred! {code} The error is valid as we are building for a target system that doesn't support SSE at all. -- This message was sent by Atlassian Jira (v8.20.1#820001)