You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/10/13 16:37:00 UTC
[jira] [Commented] (ARROW-18039) [C++][CI] Reduce MinGW build times
[ https://issues.apache.org/jira/browse/ARROW-18039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17617179#comment-17617179 ]
Antoine Pitrou commented on ARROW-18039:
----------------------------------------
cc [~kou]
> [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
> Priority: Major
>
> 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)