-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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++] Don't wait for building all thirdparty depenedencies to build Arrow itself #39823
Comments
Shouldn't cmake so this automatically? What are we doing that is breaking that? |
|
kou
added a commit
that referenced
this issue
Feb 29, 2024
…bundled libraries (#39824) ### Rationale for this change If we can build most of `cpp/src/arrow/**/*.cc` before all bundled libraries are built, we can reduce build time. ### What changes are included in this PR? * Remove the `toolchain` internal CMake target * Remove `ARROW_SHARED_LINK_LIBS` * Remove `ARROW_STATIC_LINK_LIBS` * Move the following variables to `cpp/src/arrow/CMakeLists.txt` * `ARROW_SHARED_PRIVATE_LINK_LIBS` * `ARROW_SHARED_INSTALL_INTERFACE_LIBS` * `ARROW_STATIC_INSTALL_INTERFACE_LIBS` * `ARROW_TEST_LINK_TOOLCHAIN` * `ARROW_TEST_SHARED_LINK_LIBS` * `ARROW_TEST_STATIC_LINK_LIBS` * `ARROW_SYSTEM_LINK_LIBS` * Add internal `OBJECT` libraries that have minimal dependencies * Remove unused `cpp/src/arrow/util/benchmark_main.cc` ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: #39823 * GitHub Issue: #39823 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
thisisnic
pushed a commit
to thisisnic/arrow
that referenced
this issue
Mar 8, 2024
…iting bundled libraries (apache#39824) ### Rationale for this change If we can build most of `cpp/src/arrow/**/*.cc` before all bundled libraries are built, we can reduce build time. ### What changes are included in this PR? * Remove the `toolchain` internal CMake target * Remove `ARROW_SHARED_LINK_LIBS` * Remove `ARROW_STATIC_LINK_LIBS` * Move the following variables to `cpp/src/arrow/CMakeLists.txt` * `ARROW_SHARED_PRIVATE_LINK_LIBS` * `ARROW_SHARED_INSTALL_INTERFACE_LIBS` * `ARROW_STATIC_INSTALL_INTERFACE_LIBS` * `ARROW_TEST_LINK_TOOLCHAIN` * `ARROW_TEST_SHARED_LINK_LIBS` * `ARROW_TEST_STATIC_LINK_LIBS` * `ARROW_SYSTEM_LINK_LIBS` * Add internal `OBJECT` libraries that have minimal dependencies * Remove unused `cpp/src/arrow/util/benchmark_main.cc` ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#39823 * GitHub Issue: apache#39823 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the enhancement requested
We depend on many thirdparty libraries. But some of core codes such as
cpp/src/arrow/array/*.cc
don't depend on thirdpary libraries. So we can build these files before we build all thirdparty dependencies.Component(s)
C++
The text was updated successfully, but these errors were encountered: