You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/06/30 12:05:00 UTC
[jira] [Commented] (ARROW-16886) [C++] Add option to disable PIC
[ https://issues.apache.org/jira/browse/ARROW-16886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17561006#comment-17561006 ]
Antoine Pitrou commented on ARROW-16886:
----------------------------------------
Can you explain how much performance disabling PIC gains you?
> [C++] Add option to disable PIC
> -------------------------------
>
> Key: ARROW-16886
> URL: https://issues.apache.org/jira/browse/ARROW-16886
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Affects Versions: 8.0.0
> Reporter: Jimmy Lu
> Assignee: Kouhei Sutou
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Currently {{CMAKE_POSITION_INDEPENEDNT_CODE}} is always set to {{ON}} in cmake. In some use cases we want to build non-PIC static lib for performance reason, it would be nice to have an option to disable PIC in the build.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)