libpython on MSYS2 uses "${PYTHON_PREFIX}/lib/libpython3.6m.dll.a"
format.
Author: Kouhei Sutou <kou@clear-code.com>
Closes#2540 from kou/cpp-support-finding-libpython-on-msys2 and squashes the following commits:
8e648850 <Kouhei Sutou> Add support for finding libpython on MSYS2
Python can require system libraries such as "libutil". When linking dynamically against libpythonXX.so, this is not a problem since those libraries are automatically depended on. When linking statically
against libpythonXX.a (this is the case when Python itself is statically linked and therefore does not provide a .so), you need to specify those libraries explicitly.
Author: Antoine Pitrou <antoine@python.org>
Closes#2005 from pitrou/ARROW-2545-python-other-libs and squashes the following commits:
773ad168 <Antoine Pitrou> ARROW-2545: Link against required system libraries
Author: Korn, Uwe <Uwe.Korn@blue-yonder.com>
Closes#1130 from xhochy/ARROW-1610 and squashes the following commits:
8c7c190e [Korn, Uwe] ARROW-1610: C++/Python: Only call python-prefix if the default PYTHON_LIBRARY is not present
Adds Decimal support for C++ and Python.
TODOs:
- [x] Tighten up some of the GIL acquisition. E.g., we may not need to hold it when importing the decimal module if we acquire it where we import the decimal module.
- [x] Investigate FreeBSD issue (manifesting on OS X) where typeinfo symbols for `__int128_t` are not exported: https://bugs.llvm.org//show_bug.cgi?id=26156.
- [x] See if there's a better way to visit scalar decimals, rather than keeping extra state on the class. Seems like an unacceptable hack.
Author: Phillip Cloud <cpcloud@gmail.com>
Closes#403 from cpcloud/decimal and squashes the following commits:
e5470fd [Phillip Cloud] Remove unnecessary header in helpers.h
07713a7 [Phillip Cloud] Remove more boost leakage
f764156 [Phillip Cloud] Revert "Transitively link static libs as well"
a7109b2 [Phillip Cloud] Transitively link static libs as well
bf2a7ea [Phillip Cloud] Move IsNegative to cc file
cb2c1ac [Phillip Cloud] Do not link boost regex to jemalloc
e63b766 [Phillip Cloud] Remove python extra cmake args
805bbac [Phillip Cloud] ARROW-655: [C++/Python] Implement DecimalArray
Author: Uwe L. Korn <uwelk@xhochy.com>
Closes#485 from xhochy/ARROW-763 and squashes the following commits:
d5a475f [Uwe L. Korn] ARROW-763: C++: Use to find libpythonX.X.dylib
We don't link to libpython in the pyarrow C extensions, but we need to run the googletest unit tests.
I thought we were building and running this test in Travis CI, but we're not yet. It's not that easy to add that right now, so this triages the builds in the meantime
Author: Wes McKinney <wes.mckinney@twosigma.com>
Closes#478 from wesm/ARROW-753 and squashes the following commits:
bcc2455 [Wes McKinney] Fix linker error for python-test on OS X
This will enable third parties to link to `libarrow_python`.
For now, the pyarrow build system continues to use CMake -- for the purpose of resolving the thirdparty toolchain we may or may not want to go completely to distutils, but we can sort that out later.
Author: Wes McKinney <wes.mckinney@twosigma.com>
Closes#440 from wesm/ARROW-341 and squashes the following commits:
193bc51 [Wes McKinney] Ensure that '-undefined dynamic_lookup' is passed when linking shared library on OS X
a93496b [Wes McKinney] Add missing backslash
7620f50 [Wes McKinney] Fix cpplint issues
0617c69 [Wes McKinney] Fix LD_LIBRARY_PATH, ARROW_HOME
090c78c [Wes McKinney] Build Arrow library stack specific to active Python version
10e4626 [Wes McKinney] Get Python test suite passing again
cfb7f44 [Wes McKinney] Remove print statement
c1e63dc [Wes McKinney] Scrubbing python/CMakeLists.txt
b80b153 [Wes McKinney] Cleanup, build pandas-test within main test suite
7ef1f81 [Wes McKinney] Start moving python/src/pyarrow tp cpp/src/arrow/python