Re: [Python] How to make a new C++ header file available in Python

2021-11-28 Thread David Li
Looking at the CMakeLists: https://github.com/apache/arrow/blob/abfd2c968b765ffa0607cebd55cb9828e1b61a23/cpp/src/arrow/adapters/orc/CMakeLists.txt#L23 It seems the orc/ subdirectory explicitly lists out the headers, while most other subdirectories use arrow_install_all_headers and automatically

Re: [Python] How to make a new C++ header file available in Python

2021-11-28 Thread Ian Joiner
Hi, What determines which C++ header files go into the include directory in Python builds? From CMakeLists.txt all I can find is that if we set PYARROW_BUILD_ORC to ON then _orc gets built. What really matters is what goes inside _orc and in particular why doesn’t arrow/adapters/orc/adapter_option

[Python] How to make a new C++ header file available in Python

2021-11-26 Thread Ian Joiner
Hi, I have added a new C++ header file, arrow/adapters/orc/adapter_options.h which is not recognized in Cython in our Github Action builds. I wonder what kind of changes (in CMake? I haven’t found any relevant piece in the one CMakeLists.txt in the python directory though) are necessary to mak