[ 
https://issues.apache.org/jira/browse/ARROW-913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15993125#comment-15993125
 ] 

Uwe L. Korn commented on ARROW-913:
-----------------------------------

Actually this should be the default behaviour. Linking should normally happen 
with {{--as-needed}} thus all libraries from which no symbol is needed are 
ignored by the linker. This only {{_jemalloc.so}} should link to 
{{libjemalloc.so}}.

> [Python] Only link jemalloc to the Cython extension where it's needed
> ---------------------------------------------------------------------
>
>                 Key: ARROW-913
>                 URL: https://issues.apache.org/jira/browse/ARROW-913
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Wes McKinney
>
> see https://github.com/apache/arrow/blob/master/python/CMakeLists.txt#L319
> If the user does not have jemalloc installed, it would be better to defer the 
> library load failure until they try to use the jemalloc-based memory 
> allocator. See e.g.
> https://issues.apache.org/jira/browse/ARROW-909



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to