Skip to content

Commit

Permalink
require boost if parquet is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
kszucs committed Jun 3, 2020
1 parent 2d89b44 commit 00d9c86
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions cpp/cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -707,15 +707,14 @@ endif()
# - Gandiva has a compile-time (header-only) dependency on Boost, not runtime.
# - Tests need Boost at runtime.
# - S3FS and Flight benchmarks need Boost at runtime.

if(ARROW_BUILD_INTEGRATION
OR ARROW_BUILD_TESTS
OR (ARROW_FLIGHT AND ARROW_BUILD_BENCHMARKS)
OR (ARROW_S3 AND ARROW_BUILD_BENCHMARKS)
OR ARROW_GANDIVA
OR (ARROW_WITH_THRIFT AND Thrift_SOURCE STREQUAL "BUNDLED")
OR (ARROW_PARQUET
AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.9"))
OR ARROW_PARQUET)
set(ARROW_BOOST_REQUIRED TRUE)
else()
set(ARROW_BOOST_REQUIRED FALSE)
Expand Down
1 change: 0 additions & 1 deletion python/manylinux1/build_arrow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ cmake \
-DCMAKE_INSTALL_PREFIX=/arrow-dist \
-DOPENSSL_USE_STATIC_LIBS=ON \
-DORC_SOURCE=BUNDLED \
-DPythonInterp_FIND_VERSION=${PYTHON_VERSION} \
-GNinja /arrow/cpp
ninja
ninja install
Expand Down
1 change: 0 additions & 1 deletion python/manylinux201x/build_arrow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ PATH="${CPYTHON_PATH}/bin:${PATH}" cmake \
-DCMAKE_INSTALL_PREFIX=/arrow-dist \
-DOPENSSL_USE_STATIC_LIBS=ON \
-DORC_SOURCE=BUNDLED \
-DPythonInterp_FIND_VERSION=${PYTHON_VERSION} \
-DZLIB_ROOT=/usr/local \
-GNinja /arrow/cpp
ninja install
Expand Down

0 comments on commit 00d9c86

Please sign in to comment.