Skip to content

Commit 156fe70

Browse files
committed
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.
1 parent 18b8d46 commit 156fe70

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ci/scripts/jni_manylinux_build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ cmake \
7777
-S "${arrow_dir}/cpp" \
7878
-B "${build_dir}/cpp" \
7979
--preset=ninja-release-jni-linux \
80-
-DCMAKE_INSTALL_PREFIX="${install_dir}"
80+
-DCMAKE_INSTALL_PREFIX="${install_dir}" \
81+
-DCMAKE_TOOLCHAIN_FILE="${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" \
82+
-DVCPKG_TARGET_TRIPLET="${VCPKG_TARGET_TRIPLET}"
8183
cmake --build "${build_dir}/cpp"
8284
cmake --install "${build_dir}/cpp"
8385
github_actions_group_end

0 commit comments

Comments
 (0)