Skip to content

Commit b484142

Browse files
committed
ARROW-13671: [Dev] Fix conda recipe on Arm 64k page system
1 parent 67b5bd2 commit b484142

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dev/tasks/conda-recipes/arrow-cpp/build-arrow.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ else
4343
EXTRA_CMAKE_ARGS=" ${EXTRA_CMAKE_ARGS} -DARROW_GANDIVA=ON"
4444
fi
4545

46+
if [[ "${target_platform}" == "linux-aarch64" ]]; then
47+
# To support both 4k and 64k page arm64 systems
48+
# See https://github.com/apache/arrow/pull/10940
49+
EXTRA_CMAKE_ARGS=" ${EXTRA_CMAKE_ARGS} -DARROW_JEMALLOC_LG_PAGE=16"
50+
fi
51+
4652
cmake \
4753
-DARROW_BOOST_USE_SHARED=ON \
4854
-DARROW_BUILD_BENCHMARKS=OFF \

0 commit comments

Comments
 (0)