Skip to content

Commit

Permalink
ARROW-13671: [Dev] Fix conda recipe on Arm 64k page system
Browse files Browse the repository at this point in the history
  • Loading branch information
cyb70289 committed Aug 19, 2021
1 parent d3af6d4 commit 93d16b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev/tasks/conda-recipes/arrow-cpp/build-arrow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ else
EXTRA_CMAKE_ARGS=" ${EXTRA_CMAKE_ARGS} -DARROW_GANDIVA=ON"
fi

if [[ "${target_platform}" == "linux-aarch64" ]]; then
# To support both 4k and 64k page arm64 systems
# See https://github.com/apache/arrow/pull/10940
EXTRA_CMAKE_ARGS=" ${EXTRA_CMAKE_ARGS} -DARROW_JEMALLOC_LG_PAGE=16"
fi

cmake \
-DARROW_BOOST_USE_SHARED=ON \
-DARROW_BUILD_BENCHMARKS=OFF \
Expand Down

0 comments on commit 93d16b1

Please sign in to comment.