Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
jduo committed Jan 19, 2024
1 parent c5723d1 commit 0ece855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/scripts/java_jni_macos_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ cmake \
-DARROW_S3=${ARROW_S3} \
-DARROW_USE_CCACHE=${ARROW_USE_CCACHE} \
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
-DARROW_JAVA_JNI_ARCH_DIR=${normalized_arch} \
-DCMAKE_INSTALL_PREFIX=${install_dir} \
-DCMAKE_UNITY_BUILD=${CMAKE_UNITY_BUILD} \
-DGTest_SOURCE=BUNDLED \
Expand Down
2 changes: 2 additions & 0 deletions java/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ if("${ARROW_JAVA_JNI_ARCH_DIR}" STREQUAL "")
set(ARROW_JAVA_JNI_ARCH_DIR "x86_64")
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm64")
set(ARROW_JAVA_JNI_ARCH_DIR "aarch_64")
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "AMD64")
set(ARROW_JAVA_JNI_ARCH_DIR "x86_64")
else()
set(ARROW_JAVA_JNI_ARCH_DIR "${CMAKE_SYSTEM_PROCESSOR}")
endif()
Expand Down

0 comments on commit 0ece855

Please sign in to comment.