Antoine Pitrou created ARROW-17580:
--------------------------------------

             Summary: [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


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 is 
ignored, and the {{PYARROW_CXXFLAGS}} 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




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

Reply via email to