You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Alenka Frim (Jira)" <ji...@apache.org> on 2022/09/08 09:55:00 UTC

[jira] [Closed] (ARROW-17580) [Doc][C++][Python] Unclear how to influence compilation flags

     [ https://issues.apache.org/jira/browse/ARROW-17580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alenka Frim closed ARROW-17580.
-------------------------------
    Resolution: Not A Problem

> [Doc][C++][Python] Unclear how to influence compilation flags
> -------------------------------------------------------------
>
>                 Key: ARROW-17580
>                 URL: https://issues.apache.org/jira/browse/ARROW-17580
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Documentation, Python
>            Reporter: Antoine Pitrou
>            Priority: Critical
>
> Frequently people need to customize compilation flags for C++ and/or C files.
> Unfortunately, both for Arrow C++ and PyArrow, it is very difficult to find out the proper way to do this.
> For Arrow C++, it seems {{ARROW_CXXFLAGS}} should be passed to CMake, while the {{CXXFLAGS}} environment variable is ignored (it probably shouldn't?). 
> For PyArrow, I have not found a way to do it. -The {{CXXFLAGS}} environment variable is ignored, and -the {{PYARROW_CXXFLAGS}} CMake variable has two problems:
> * it is only recognized for Cython-generated files, not for PyArrow C++ sources
> * it only affects linker calls, while it should actually affect compiler calls (edit: does it?)
> *Edit: I was wrong, the {{CXXFLAGS}} environment variable is not ignored.*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)