-
Notifications
You must be signed in to change notification settings - Fork 4.2k
GH-37410: [C++][Gandiva] Add support for using LLVM shared library #37412
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -470,6 +470,16 @@ takes precedence over ccache if a storage backend is configured" ON) | |
| "Rely on jemalloc shared libraries where relevant" | ||
| ${ARROW_DEPENDENCY_USE_SHARED}) | ||
|
|
||
| if(MSVC) | ||
| # It seems that conda's llvmdev for Windows doesn't provide shared | ||
| # library. | ||
| set(ARROW_LLVM_USE_SHARED_DEFAULT OFF) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, I don't think we should change this for conda. Instead, conda users on Windows will have to explicitly pass
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems that LLVM itself doesn't support shared library with MSVC: https://github.com/llvm/llvm-project/blob/main/llvm/tools/llvm-shlib/CMakeLists.txt#L14-L16 |
||
| else() | ||
| set(ARROW_LLVM_USE_SHARED_DEFAULT ${ARROW_DEPENDENCY_USE_SHARED}) | ||
| endif() | ||
| define_option(ARROW_LLVM_USE_SHARED "Rely on LLVM shared libraries where relevant" | ||
| ${ARROW_LLVM_USE_SHARED_DEFAULT}) | ||
|
|
||
| define_option(ARROW_LZ4_USE_SHARED "Rely on lz4 shared libraries where relevant" | ||
| ${ARROW_DEPENDENCY_USE_SHARED}) | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.