Skip to content
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++] Builds with ARROW_JEMALLOC=ON wait until jemalloc_ep is complete before building any libarrow .cc files #22817

Closed
asfimport opened this issue Sep 3, 2019 · 3 comments

Comments

@asfimport
Copy link
Collaborator

This has been a frustration for me that my builds wait for the jemalloc_ep build to complete before proceeding to compile any C++ files for libarrow. Since only memory_pool.cc depends on jemalloc_ep, there must be some way to create a dependency between that single C++ file and jemalloc_ep. I spent a few minutes Googling about it but did not come up with an easy answer

Reporter: Wes McKinney / @wesm
Assignee: Wes McKinney / @wesm

PRs and other links:

Note: This issue was originally created as ARROW-6447. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Antoine Pitrou / @pitrou:
+1. Do you know what the culprit is? Perhaps add_include_directories?

@asfimport
Copy link
Collaborator Author

Wes McKinney / @wesm:
All of the toolchain libraries are dependencies of the entire arrow_objlib target, so the build graph blocks until jemalloc_ep is complete. Really jemalloc_ep should only be a dependency of compiling memory_pool.cc but I haven't figured out how to convince CMake to do that

@asfimport
Copy link
Collaborator Author

Wes McKinney / @wesm:
Issue resolved by pull request 5281
#5281

@asfimport asfimport added this to the 0.15.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants