kou commented on issue #40248:
URL: https://github.com/apache/arrow/issues/40248#issuecomment-1967927360
Ah, sorry. I should have explained the idea of the suggested patch.
In general, Apache Arrow C++ build uses Apple's C/C++ toolchain. So
`CMAKE_CXX_COMPILER_ID` is `AppleClang`. In this case,
`if(CMAKE_CXX_COMPILER_ID MATCHES "^(Clang|GNU|Intel|IntelLLVM)$")` isn't
matched. `if(APPLE)` (Apple's libtool) is used.
If macOS + CRAN build does NOT use Apple's C/C++ toolchain (uses C/C++
toolchain provided by R.framework that also includes GNU libtool, gcc, g++, GNU
ar and so on), `CMAKE_CXX_COMPILER_ID` may be `GNU` not `AppleClang`. In this
case, `if(CMAKE_CXX_COMPILER_ID MATCHES "^(Clang|GNU|Intel|IntelLLVM)$")` (GNU
ar) is used.
--
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]