-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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++] ARROW_BUILD_SHARED=OFF and ARROW_BUILD_EXAMPLES=ON causes build error #33849
Comments
take |
Executed command:
Errors
|
Could you show full error log? |
The full error log is this.
|
Thanks. This is reproduced. |
This was referenced Feb 23, 2023
abetomo
added a commit
to abetomo/arrow
that referenced
this issue
Feb 25, 2023
…W_BUILD_EXAMPLES=ON Signed-off-by: abetomo <abe@enzou.tokyo>
Build with only patches related to
|
abetomo
added a commit
to abetomo/arrow
that referenced
this issue
Mar 12, 2023
…W_BUILD_EXAMPLES=ON Signed-off-by: abetomo <abe@enzou.tokyo>
abetomo
added a commit
to abetomo/arrow
that referenced
this issue
Mar 12, 2023
…_SHARED=OFF Signed-off-by: abetomo <abe@enzou.tokyo>
kou
pushed a commit
that referenced
this issue
Mar 13, 2023
…D_EXAMPLES=ON (#34350) ### Rationale for this change Building with `ARROW_BUILD_SHARED=OFF` and `ARROW_BUILD_EXAMPLES=ON` causes an error. ### What changes are included in this PR? At `examples/arrow/CMakeLists.txt`, set `arrow_substrait_[shared|static]` and `gandiva_[shared|static]` appropriately according to `ARROW_BUILD_SHARED`. ### Are these changes tested? In `--preset ninja-debug-maximal`, `ARROW_BUILD_EXAMPLES=ON`. ``` $ cmake .. --preset ninja-debug-maximal -DARROW_BUILD_SHARED=OFF -DARROW_BUILD_STATIC=ON $ cmake --build . ``` Build was completed. ``` $ cmake .. --preset ninja-debug-maximal -DARROW_BUILD_SHARED=ON -DARROW_BUILD_STATIC=ON $ cmake --build . ``` Build was completed. ### Are there any user-facing changes? * Closes: #33849 Authored-by: abetomo <abe@enzou.tokyo> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug, including details regarding any error messages, version, and platform.
cpp/examples/arrow/CMakeLists.txt
usesarrow_substrait_shared
andgandiva_shared
unconditionally. We can't use them withARROW_BUILD_SHARED=OFF
.The following patch may fix this:
Component(s)
C++
The text was updated successfully, but these errors were encountered: