Skip to content

Commit

Permalink
More tries
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Dec 19, 2024
1 parent ecf01cc commit 034393b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ci/scripts/r_windows_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,21 @@ export ARROW_HOME="$(cd "${ARROW_HOME}" && pwd)"

# Uncomment L38-41 if you're testing a new rtools dependency that hasn't yet sync'd to CRAN
# curl https://raw.githubusercontent.com/r-windows/rtools-packages/master/pacman.conf > /etc/pacman.conf
cat /etc/pacman.conf || echo "/etc/pacman.conf not found"
cp /etc/pacman.conf /etc/pacman.conf.bak
curl https://raw.githubusercontent.com/r-windows/rtools-packages/master/pacman.conf > /etc/pacman.conf
cat /etc/pacman.conf
curl -OSsl "http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz"
pacman -U --noconfirm msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz && rm msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz
pacman --noconfirm -Scc

pacman --noconfirm -Syy
pacman --noconfirm -S ${MINGW_PACKAGE_PREFIX}-cmake

#Try reverting to the original pacman.conf
cp /etc/pacman.conf.bak /etc/pacman.conf
cat /etc/pacman.conf
pacman --noconfirm -Syy

RWINLIB_LIB_DIR="lib"
: ${MINGW_ARCH:="mingw32 mingw64 ucrt64"}

Expand Down

0 comments on commit 034393b

Please sign in to comment.