Skip to content

Commit

Permalink
Use MSYS2_ARG_CONV_EXCL on the same CMake command
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Dec 30, 2024
1 parent 715a879 commit 7e98cc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/scripts/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,11 @@ build() {

# MSYS2_ARG_CONV_EXCL is needed to prevent autoconverting CMAKE_INSTALL_PREFIX
# to Windows paths. See https://www.msys2.org/docs/filesystem-paths/#process-arguments
MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX="

# We install CMake via the msys2 GitHub action. We have to use the installed
# CMake to build Arrow which is in the Program Files directory.
"${PROGRAMFILES}\CMake\bin\cmake.exe" \
MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=" \
"${PROGRAMFILES}\CMake\bin\cmake.exe" \
${ARROW_CPP_DIR} \
-G "MSYS Makefiles" \
-DARROW_ACERO=ON \
Expand Down

0 comments on commit 7e98cc6

Please sign in to comment.