forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-6860: [Python][C++] Do not link shared libraries monolithically…
… to pyarrow.lib, add libarrow_python_flight.so Adding a new shared library libarrow_python_flight.so that allows us to link libarrow_flight and this new library to the Cython _flight extension. I initially tried moving the Flight Python bindings directly to libarrow_flight but realized this would create a transitive dependency on libpython which is not desirable. Any shared library that uses Python C APIs is expected to be loaded into a running Python interpreter and not linked explicitly to libpython Because Apache ORC also needs to statically link Protocol Buffers, I have disabled it in the manylinux wheels. Hopefully we can come up with a solution where projects like Apache Beam, TensorFlow, and others can all use Protocol Buffers together and not have these problems Closes apache#5627 from wesm/ARROW-6860 and squashes the following commits: d5d67f8 <Wes McKinney> Revert libarrow_flight.pxd changes b31fbdf <Wes McKinney> Build libarrow_python_flight that links to libarrow_python and libarrow_flight. Do not link all shared libraries to Cython "lib" extension Authored-by: Wes McKinney <[email protected]> Signed-off-by: Wes McKinney <[email protected]>
- Loading branch information
Showing
6 changed files
with
166 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.