11package (" arrow" )
2+ -- For how to enable various features and build PyArrow python packages,
3+ -- refer to this discussion https://github.com/xmake-io/xmake-repo/discussions/1106
24
35 set_homepage (" https://arrow.apache.org/" )
46 set_description (" Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing" )
@@ -15,14 +17,6 @@ package("arrow")
1517 add_configs (" orc" , {description = " Arrow integration with Apache ORC" , default = false , type = " boolean" })
1618 add_configs (" parquet" , {description = " Apache Parquet libraries and Arrow integration" , default = false , type = " boolean" })
1719 add_configs (" plasma" , {description = " Plasma Shared Memory Object Store" , default = false , type = " boolean" })
18- -- After install with python enabled, the pyarrow package can be built by following command:
19- -- cd <arrow-src>/python
20- -- export CMAKE_PREFIX_PATH=<xrepo arrow install dir>
21- -- # export options that's enabled for the c++ install, e.g.
22- -- export PYARROW_WITH_PARQUET=1
23- -- export PYARROW_WITH_LZ4=1
24- -- python setup.py -- build_ext --build-type=release --bundle-arrow-cpp bdist_wheel
25- -- Refer to https://arrow.apache.org/docs/developers/python.html#python-development
2620 add_configs (" python" , {description = " Enable Python C++ integration library. Requires python and numpy (not managed by xmake/xrepo)." , default = false , type = " boolean" })
2721 -- Arrow uses vendored mimalloc and jemalloc. Do not add these two libraries to configdeps.
2822 add_configs (" mimalloc" , {description = " Build the Arrow mimalloc-based allocator" , default = true , type = " boolean" })
0 commit comments