mirror of
https://github.com/wassname/ray.git
synced 2026-08-12 12:20:11 +08:00
Fix pyarrow version (#3760)
This commit is contained in:
committed by
Robert Nishihara
parent
3adffe6a4e
commit
00e9f8d870
@@ -22,6 +22,9 @@ set(arrow_URL https://github.com/ray-project/arrow.git)
|
||||
# the patch is available at
|
||||
# https://github.com/ray-project/arrow/commit/c347cd571e51723fc8512922f1b3a8e45e45b169
|
||||
# See the discussion in https://github.com/apache/arrow/pull/3177
|
||||
# WARNING: If the arrow version is updated, you need to also update the
|
||||
# SETUPTOOLS_SCM_PRETEND_VERSION version string in the ThirdpartyToolchain.cmake
|
||||
# file
|
||||
set(arrow_TAG c347cd571e51723fc8512922f1b3a8e45e45b169)
|
||||
|
||||
set(ARROW_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/arrow-install)
|
||||
|
||||
@@ -64,6 +64,6 @@ if (RAY_BUILD_BOOST)
|
||||
BUILD_IN_SOURCE 1
|
||||
BUILD_BYPRODUCTS ${Boost_BUILD_PRODUCTS}
|
||||
CONFIGURE_COMMAND ./bootstrap.sh
|
||||
BUILD_COMMAND bash -c "./b2 cxxflags=-fPIC cflags=-fPIC variant=release link=static --with-filesystem --with-system --with-thread --with-atomic --with-chrono --with-date_time --with-regex -j8 install --prefix=${Boost_INSTALL_PREFIX} > /dev/null"
|
||||
BUILD_COMMAND bash -c "./b2 cxxflags=\"-fPIC -D_GLIBCXX_USE_CXX11_ABI=0\" cflags=-fPIC variant=release link=static --with-filesystem --with-system --with-thread --with-atomic --with-chrono --with-date_time --with-regex -j8 install --prefix=${Boost_INSTALL_PREFIX} > /dev/null"
|
||||
INSTALL_COMMAND "")
|
||||
endif ()
|
||||
|
||||
@@ -118,6 +118,7 @@ if ("${CMAKE_RAY_LANG_PYTHON}" STREQUAL "YES")
|
||||
|
||||
# PYARROW_PARALLEL= , so it will add -j to pyarrow build
|
||||
set(pyarrow_ENV
|
||||
"SETUPTOOLS_SCM_PRETEND_VERSION=0.11.1-RAY"
|
||||
"PKG_CONFIG_PATH=${ARROW_LIBRARY_DIR}/pkgconfig"
|
||||
"PYARROW_WITH_PLASMA=1"
|
||||
"PYARROW_WITH_TENSORFLOW=1"
|
||||
|
||||
Reference in New Issue
Block a user