-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-34861: [C++] Move GTest std version check into SYSTEM if branch #34874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
### Rationale for this change Developers have reported that the current GTest std version check will break cpp microbenchmarks in BUNDLE mode. ### What changes are included in this PR? Move the check into SYSTEM if branch so that it gets triggered in a narrowed scope. ### Are these changes tested? Tested locally and will be covered by CI. Are there any user-facing changes? No
|
|
|
I dont believe the failing tests are related to my change. More like corrupted build farm. |
kou
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
This will not solve #34861 but I merge this because this is a right change.
Our bundled GoogleTest must be built with the same C++ standard as Arrow C++ because we specify -DCMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD} via EP_COMMON_CMAKE_ARGS.
But build_gtest doesn't set INTERFACE_COMPILE_FEATURES. So the check is meaningless for bundled GoogleTest.
|
Benchmark runs are scheduled for baseline = 84ac7d5 and contender = 19c3260. 19c3260 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
…nch (apache#34874) ### Rationale for this change Developers have reported that the current GTest std version check will break cpp microbenchmarks in BUNDLE mode. ### What changes are included in this PR? Move the check into SYSTEM if branch so that it gets triggered in a narrowed scope. ### Are these changes tested? Tested locally and will be covered by CI. ### Are there any user-facing changes? No * Closes: apache#34861 Authored-by: Haocheng Liu <lbtinglb@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Rationale for this change
Developers have reported that the current GTest std version check will break cpp microbenchmarks in BUNDLE mode.
What changes are included in this PR?
Move the check into SYSTEM if branch so that it gets triggered in a narrowed scope.
Are these changes tested?
Tested locally and will be covered by CI.
Are there any user-facing changes?
No