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
[C++] CMAKE_AR is not passed to bzip2 thirdparty dependency #29793
Comments
Neal Richardson / @nealrichardson: |
Karl Dunkle Werner / @karldw:
|
Neal Richardson / @nealrichardson:
Not sure, I guess you'll see :)
I'm not sure about this either, we have lots of CI already, what's different about this setup exactly? Maybe there's an existing CI job we can modify rather than adding a new one. |
|
Kouhei Sutou / @kou: arrow/cpp/cmake_modules/ThirdpartyToolchain.cmake Lines 636 to 642 in bad8824
We don't need a test for it for now. We will not change bzip2's build code too much. If we make a regression around this, we'll add a test for this case. |
Kouhei Sutou / @kou: |
Kouhei Sutou / @kou: |
It seems like the
AR
orCMAKE_AR
variables aren't getting passed for the bzip2 build, which causes if to fail if we're doing aBUNDLED
build andar
isn't available in the$PATH
(e.g. in a conda environment).To replicate:
(docker should be fine if you prefer it to podman)
In the cmake call above,
ARROW_JEMALLOC
and the SIMD flags are just to skip compiling irrelevant things.I think this line in
ThirdpartyToolchain.cmake
needs to be changed to passCMAKE_AR
.arrow/cpp/cmake_modules/ThirdpartyToolchain.cmake
Line 2211 in bad8824
Other related issues have also needed to pass
CMAKE_RANLIB
, in addition toCMAKE_AR
. I'm not sure if that applies here.Related: ARROW-4471, ARROW-4831
Edit: added
ARROW_BUILD_TYPE
above.Reporter: Karl Dunkle Werner / @karldw
Assignee: Karl Dunkle Werner / @karldw
PRs and other links:
Note: This issue was originally created as ARROW-14210. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: