kou commented on code in PR #39221:
URL: https://github.com/apache/arrow/pull/39221#discussion_r1456762685
##########
ci/scripts/java_jni_build.sh:
##########
@@ -24,6 +24,18 @@ arrow_install_dir=${2}
build_dir=${3}/java_jni
# The directory where the final binaries will be stored when scripts finish
dist_dir=${4}
+normalized_arch=$(arch)
+case ${normalized_arch} in
+ aarch64)
+ normalized_arch=aarch_64
+ ;;
+ i386)
+ normalized_arch=x86_64
+ ;;
+ arm64)
+ normalized_arch=aarch_64
+ ;;
+ esac
Review Comment:
Can we do this in `java/CMakeLists.txt` instead of specifying this by a user?
For example, can we use `CMAKE_SYSTEM_PROCESSOR`
https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_PROCESSOR.html for
this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]