You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ks...@apache.org on 2018/11/15 11:44:09 UTC
[arrow] branch master updated: ARROW-912: [Python] Recommend that
Python developers use -DCMAKE_INSTALL_LIBDIR=lib when building Arrow C++
libraries
This is an automated email from the ASF dual-hosted git repository.
kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 0d092e0 ARROW-912: [Python] Recommend that Python developers use -DCMAKE_INSTALL_LIBDIR=lib when building Arrow C++ libraries
0d092e0 is described below
commit 0d092e015931e889815b0913e8018ba624d45494
Author: Wes McKinney <we...@apache.org>
AuthorDate: Thu Nov 15 12:43:53 2018 +0100
ARROW-912: [Python] Recommend that Python developers use -DCMAKE_INSTALL_LIBDIR=lib when building Arrow C++ libraries
This was a rough edge on some multiarch-enabled systems. Our wheel builds are not multiarch aware: https://github.com/apache/arrow/blob/master/python/setup.py#L235
Author: Wes McKinney <we...@apache.org>
Closes #2964 from wesm/ARROW-912 and squashes the following commits:
18c7edad <Wes McKinney> Recommend that Python developers use -DCMAKE_INSTALL_LIBDIR=lib when building
---
python/doc/source/development.rst | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/python/doc/source/development.rst b/python/doc/source/development.rst
index eefd976..3bd6689 100644
--- a/python/doc/source/development.rst
+++ b/python/doc/source/development.rst
@@ -162,6 +162,7 @@ Now build and install the Arrow C++ libraries:
cmake -DCMAKE_BUILD_TYPE=$ARROW_BUILD_TYPE \
-DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
+ -DCMAKE_INSTALL_LIBDIR=lib \
-DARROW_PARQUET=on \
-DARROW_PYTHON=on \
-DARROW_PLASMA=on \
@@ -174,6 +175,13 @@ Now build and install the Arrow C++ libraries:
If you don't want to build and install the Plasma in-memory object store,
you can omit the ``-DARROW_PLASMA=on`` flag.
+.. note::
+
+ On Linux systems with support for building on multiple architectures,
+ ``make`` may install libraries in the ``lib64`` directory by default. For
+ this reason we recommend passing ``-DCMAKE_INSTALL_LIBDIR=lib`` because the
+ Python build scripts assume the library directory is ``lib``
+
Now, build pyarrow:
.. code-block:: shell