Antoine Pitrou created ARROW-18039:
--------------------------------------
Summary: [C++][CI] Reduce MinGW build times
Key: ARROW-18039
URL: https://issues.apache.org/jira/browse/ARROW-18039
Project: Apache Arrow
Issue Type: Wish
Components: C++, Continuous Integration
Reporter: Antoine Pitrou
The MinGW C++ builds on CI currently build in release mode. This is probably
because debug builds on Windows are complicated (you must get all the
dependencies also compiled in debug mode, AFAIU).
However, we could probably disable optimizations, so as to reduce compilation
times.
The compilation flags are currently as follows:
{code}
-- CMAKE_C_FLAGS: -O2 -DNDEBUG -ftree-vectorize -Wa,-mbig-obj -Wall
-Wno-conversion -Wno-sign-conversion -Wunused-result
-fno-semantic-interposition -mxsave -msse4.2
-- CMAKE_CXX_FLAGS: -Wno-noexcept-type -fdiagnostics-color=always -O2
-DNDEBUG -ftree-vectorize -Wa,-mbig-obj -Wall -Wno-conversion
-Wno-sign-conversion -Wunused-result -fno-semantic-interposition -mxsave
-msse4.2
{code}
Perhaps we can pass {{-O0}}?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)