Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
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.