mirror of
https://github.com/wassname/ray.git
synced 2026-09-10 12:38:43 +08:00
Update arrow using Plasma with glog (#2913)
* Update Arrow to Plasma with glog and update the building process * Remove ParquetExternalProject.cmake * Fix Mac building error in CI * Use find_package(BISON) instead of hard code * Revert BISON binary to hard code. * Remove build_parquet.sh * Update setup.sh
This commit is contained in:
committed by
Philipp Moritz
parent
3267676994
commit
93ded5a3d5
@@ -1,45 +0,0 @@
|
||||
# parquet external project
|
||||
# target:
|
||||
# - parquet_ep
|
||||
# depends:
|
||||
# - arrow_ep
|
||||
# defines:
|
||||
# - PARQUET_HOME
|
||||
# - PARQUET_INCLUDE_DIR
|
||||
# - PARQUET_STATIC_LIB
|
||||
# - PARQUET_SHARED_LIB
|
||||
|
||||
include(ExternalProject)
|
||||
|
||||
set(parquet_URL https://github.com/apache/parquet-cpp.git)
|
||||
set(parquet_TAG 63f41b00bddecb172bd5b3aa0366b4653f498811)
|
||||
|
||||
# install parquet into arrow_home...
|
||||
set(PARQUET_INSTALL_PREFIX ${ARROW_HOME})
|
||||
set(PARQUET_HOME ${PARQUET_INSTALL_PREFIX})
|
||||
set(PARQUET_INCLUDE_DIR ${PARQUET_INSTALL_PREFIX}/include)
|
||||
set(PARQUET_STATIC_LIB ${PARQUET_INSTALL_PREFIX}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}parquet.a)
|
||||
set(PARQUET_SHARED_LIB ${PARQUET_INSTALL_PREFIX}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}parquet${CMAKE_SHARED_LIBRARY_SUFFIX})
|
||||
|
||||
set(parquet_CMAKE_ARGS
|
||||
-DCMAKE_BUILD_TYPE:STRING=Release
|
||||
-DCMAKE_INSTALL_PREFIX=${PARQUET_INSTALL_PREFIX}
|
||||
-DARROW_HOME=${ARROW_HOME}
|
||||
-DBOOST_ROOT=${BOOST_ROOT}
|
||||
-DPARQUET_BUILD_BENCHMARKS=off
|
||||
-DPARQUET_BUILD_EXECUTABLES=off
|
||||
-DPARQUET_BUILD_TESTS=off)
|
||||
|
||||
set(parquet_ENV "")
|
||||
if (APPLE)
|
||||
set(parquet_ENV "PATH=/usr/local/opt/bison/bin:$ENV{PATH}"
|
||||
"OPENSSL_ROOT_DIR=/usr/local/opt/openssl")
|
||||
endif ()
|
||||
|
||||
ExternalProject_Add(parquet_ep
|
||||
PREFIX external/parquet
|
||||
DEPENDS arrow_ep
|
||||
GIT_REPOSITORY ${parquet_URL}
|
||||
GIT_TAG ${parquet_TAG}
|
||||
BUILD_COMMAND ${CMAKE_COMMAND} -E env ${parquet_ENV} $(MAKE)
|
||||
CMAKE_ARGS ${parquet_CMAKE_ARGS})
|
||||
Reference in New Issue
Block a user