kou opened a new pull request, #35924:
URL: https://github.com/apache/arrow/pull/35924
### Rationale for this change
`-DCMAKE_CXX_FLAGS_RELEASE=-O...` works with #15022 but
`-DCMAKE_CXX_FLAGS_DEBUG=-O...` and
`-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O...` don't work. Because we always
specify `-O0` for Debug and RelWithDebInfo.
### What changes are included in this PR?
These changes don't specify optimization levels for Debug and RelWithDebInfo
because optimization flags we specified are the same as the default one. So
user specified `CMAKE_CXX_FLAGS_DEBUG=-O...` and
`CMAKE_CXX_FLAGS_RELWITHDEBINFO=-O...` are used.
In addition, `ARROW_C_FLAGS_${CONFIG}` and `ARROW_CXX_FLAGS_${CONFIG}` are
introduced. Users can also use `-DARROW_CXX_FLAGS_DEBUG=-O...` instead of
`-DCMAKE_CXX_FLAGS_DEBUG=-O...`.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
Yes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]