-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-34869: [C++] Configure alpine linux nightly job to build gtest from source #34870
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
GH-34869: [C++] Configure alpine linux nightly job to build gtest from source #34870
Conversation
|
|
|
@github-actions crossbow submit test-alpine-linux-cpp |
|
Revision: 4b0869f Submitted crossbow builds: ursacomputing/crossbow @ actions-914e7e5a7e
|
docker-compose.yml
Outdated
| GTest_SOURCE: "BUNDLED" # Alpine's GTest is not built against | ||
| # C++17 so we build from source |
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.
Could you move this to ci/docker/alpine-linux-3.16-cpp.dockerfile like other *_SOURCE=BUNDLED?
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.
Good catch. I have done this.
|
@github-actions crossbow submit test-alpine-linux-cpp |
|
Revision: 667fc10 Submitted crossbow builds: ursacomputing/crossbow @ actions-5e6bf86d81
|
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
|
Benchmark runs are scheduled for baseline = 379c1fb and contender = 3927a6f. 3927a6f is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
…st from source (apache#34870) ### Rationale for this change The nightly test is currently failing with an error: ``` -- Found GTest: /usr/lib/cmake/GTest/GTestConfig.cmake (found suitable version "1.11.0", minimum required is "1.10.0") CMake Error at cmake_modules/ThirdpartyToolchain.cmake:2236 (message): System GTest is built with a C++ standard lower than 17. Use bundled GTest via passing in CMake flag -DGTest_SOURCE="BUNDLED" ``` ### What changes are included in this PR? Changes the alpine linux nightly test to use `-DGTest_SOURCE="BUNDLED"` ### Are these changes tested? Yes, by the nightly test itself. ### Are there any user-facing changes? No * Closes: apache#34869 Authored-by: Weston Pace <weston.pace@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Rationale for this change
The nightly test is currently failing with an error:
What changes are included in this PR?
Changes the alpine linux nightly test to use
-DGTest_SOURCE="BUNDLED"Are these changes tested?
Yes, by the nightly test itself.
Are there any user-facing changes?
No