-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-12094: [C++][R] Fix re2 building on clang/libc++ #9811
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
|
@github-actions crossbow submit test-r-linux-as-cran |
|
Revision: e85b6b00caeb7b3e8ea33f923e7529fb4a13e2f8 Submitted crossbow builds: ursacomputing/crossbow @ actions-236
|
|
@github-actions crossbow submit test-r-linux-as-cran |
|
@nealrichardson Do you have the error message / build log available? |
|
The R arrow package is built using |
|
Unfortunately because this is the |
|
Revision: a347ac948a1871bab0b78d22602b2475cd1b10a0 Submitted crossbow builds: ursacomputing/crossbow @ actions-237
|
|
It's caused by ignoring How about passing diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake
index e19544182..ef2ccfd0a 100644
--- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
@@ -620,8 +620,8 @@ endif()
# ----------------------------------------------------------------------
# ExternalProject options
-set(EP_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${UPPERCASE_BUILD_TYPE}}")
-set(EP_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${UPPERCASE_BUILD_TYPE}}")
+set(EP_CXX_FLAGS "${CMAKE_CXX_COMPILER_ARG1} ${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${UPPERCASE_BUILD_TYPE}}")
+set(EP_C_FLAGS "${CMAKE_C_COMPILER_ARG1} ${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${UPPERCASE_BUILD_TYPE}}")
if(NOT MSVC_TOOLCHAIN)
# Set -fPIC on all external projects |
…info() and register string libs there
a347ac9 to
f402130
Compare
|
@github-actions crossbow submit test-r-linux-as-cran |
|
Revision: f402130 Submitted crossbow builds: ursacomputing/crossbow @ actions-242
|
|
@github-actions autotune |
|
Thanks @kou! That seems to work. |
|
@github-actions crossbow submit -g nightly |
|
Revision: f52c105 Submitted crossbow builds: ursacomputing/crossbow @ actions-243 |
|
@github-actions crossbow submit test-r-versions |
|
Revision: 342ea03 Submitted crossbow builds: ursacomputing/crossbow @ actions-244
|
|
@kou other than the test-r-versions nightly (for which I've pushed a fix), everything else looks no worse than master. I'll merge once CI confirms the fix. Thanks again for your help! ❤️ |
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
Could you update the pull request description before we merge this?
Also includes a followup to ARROW-11736 to add the utf8proc/re2 features to arrow_info() and use that in skip_if_not_available().