Commit Graph
9 Commits
Author SHA1 Message Date
Kouhei Sutou 3f36f62d29 ARROW-3125: [C++] Add support for finding libpython on MSYS2
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
2018-09-11 12:17:07 +09:00
Antoine Pitrou 9c31eec5fd ARROW-2545: [Python] Link against required system libraries
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
2018-05-07 20:59:43 +02:00
Korn, Uwe b640cc0e78 ARROW-1610: C++/Python: Only call python-prefix if the default PYTHON_LIBRARY is not present
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
2017-09-25 23:01:33 -04:00
Wes McKinney 4555ab92b1 ARROW-841: [Python] Add pyarrow build to Appveyor
Author: Wes McKinney <wes.mckinney@twosigma.com>

Closes #566 from wesm/ARROW-841 and squashes the following commits:

4a04d57 [Wes McKinney] Set CMP0054 policy also in python/CMakeLists.txt
d2b4ffb [Wes McKinney] install cython
695e9b3 [Wes McKinney] Fix directory
36ad9e2 [Wes McKinney] Another fix for compiler id check
ba31cf5 [Wes McKinney] typo
7c32abb [Wes McKinney] Set CMP0054 policy
d27563f [Wes McKinney] Fix for CMP0054
ee883d8 [Wes McKinney] Exit early on failure of things
ac903db [Wes McKinney] Fix cmake warning
949558a [Wes McKinney] Remove conda list
54fbd48 [Wes McKinney] Add directory
86f91d2 [Wes McKinney] Write msvc build script that builds pyarrow
2017-04-19 11:22:54 -04:00
Wes McKinney 7238d544c1 ARROW-734: [C++/Python] Support building PyArrow on MSVC
Author: Wes McKinney <wes.mckinney@twosigma.com>

Closes #553 from wesm/ARROW-734 and squashes the following commits:

6e00485 [Wes McKinney] Restore -undefined,dynamic_lookup linker logic on Linux for Python extensions
5be7e31 [Wes McKinney] do_import_numpy.h no longer needed
2d00e6b [Wes McKinney] Fix Unix library names
1e6bb6e [Wes McKinney] typos
8f4928e [Wes McKinney] More build fixes. Can now import pyarrow
5162203 [Wes McKinney] Remove unneeded exports
024579e [Wes McKinney] Wow, MSVC mangles the name CreateDirectory
990fdc2 [Wes McKinney] Install DLLs fixes in FindArrow.cmake
ccf941e [Wes McKinney] Restore CompilerInfo to original state
1e657ad [Wes McKinney] More fixes. Change TimeUnit to struct-based enum
2be93f0 [Wes McKinney] NumPy initialization / build fixes
1744f83 [Wes McKinney] Add new files
68e2d5b [Wes McKinney] Move NumPy API initialization into libarrow_python
0a2d387 [Wes McKinney] WIP MSVC support for PyArrow. Linker errors
2017-04-17 17:46:11 -04:00
Phillip Cloud 754bcce686 ARROW-655: [C++/Python] Implement DecimalArray
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
2017-04-09 15:19:53 -04:00
Uwe L. Korn d0cd03d785 ARROW-763: C++: Use to find libpythonX.X.dylib
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
2017-04-03 18:08:06 -04:00
Wes McKinney c4d535ca1e ARROW-753: [Python] Fix linker error for python-test on OS X
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
2017-04-02 14:40:08 -04:00
Wes McKinney 3aac4adef1 ARROW-341: [Python] Move pyarrow's C++ code to the main C++ source tree, install libarrow_python and headers
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
2017-03-26 11:45:38 -04:00