[
https://issues.apache.org/jira/browse/ARROW-3884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16699033#comment-16699033
]
Antoine Pitrou commented on ARROW-3884:
---------------------------------------
I'm surprised that you would need such an extensive build definition. llvmlite
tries hard to minimize the library size and came up with much simpler
configuration:
[https://github.com/numba/llvmlite/blob/master/conda-recipes/llvmdev_manylinux1/build.sh]
(Note `LLVM_TARGETS_TO_BUILD=host` which is important to avoid compiling in
other architectures such as ARM when building x86-64 packages)
For manylinux it is important to link LLVM statically into Gandiva as well as
libstdc++. Perhaps it's also possible to tweak symbol visibility and remove
unused functions...
> [Python] Add LLVM6 to manylinux1 base image
> -------------------------------------------
>
> Key: ARROW-3884
> URL: https://issues.apache.org/jira/browse/ARROW-3884
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Wes McKinney
> Priority: Major
> Fix For: 0.12.0
>
>
> This is necessary to be able to build and bundle libgandiva with the 0.12
> release
> This (epic!) build definition in Apache Kudu may be useful for building only
> the pieces that we need for linking the Gandiva libraries, which may help
> keep the image size minimal
> https://github.com/apache/kudu/blob/master/thirdparty/build-definitions.sh#L175
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)