This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch fix/gandiva-jni-decimal-arrow-24
in repository https://gitbox.apache.org/repos/asf/arrow-java.git

commit 156fe706e73b0882b52fc92afb8cd27d71f6c166
Author: JB Onofré <[email protected]>
AuthorDate: Thu May 7 16:42:55 2026 +0200

    MINOR: Pass vcpkg toolchain to Arrow C++ CMake configure step
    
    The xsimd installation via vcpkg was not visible to CMake because the
    vcpkg toolchain file was not passed to the Arrow C++ configure step.
---
 ci/scripts/jni_manylinux_build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ci/scripts/jni_manylinux_build.sh 
b/ci/scripts/jni_manylinux_build.sh
index 6e45bf56c..cd45b79e4 100755
--- a/ci/scripts/jni_manylinux_build.sh
+++ b/ci/scripts/jni_manylinux_build.sh
@@ -77,7 +77,9 @@ cmake \
   -S "${arrow_dir}/cpp" \
   -B "${build_dir}/cpp" \
   --preset=ninja-release-jni-linux \
-  -DCMAKE_INSTALL_PREFIX="${install_dir}"
+  -DCMAKE_INSTALL_PREFIX="${install_dir}" \
+  -DCMAKE_TOOLCHAIN_FILE="${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" \
+  -DVCPKG_TARGET_TRIPLET="${VCPKG_TARGET_TRIPLET}"
 cmake --build "${build_dir}/cpp"
 cmake --install "${build_dir}/cpp"
 github_actions_group_end

Reply via email to