]> git.lizzy.rs Git - rust.git/blob - src/ci/scripts/install-msys2-packages.sh
Rollup merge of #65719 - pitdicker:refactor_sync_once, r=Amanieu
[rust.git] / src / ci / scripts / install-msys2-packages.sh
1 #!/bin/bash
2
3 set -euo pipefail
4 IFS=$'\n\t'
5
6 source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
7
8 if isWindows; then
9     pacman -S --noconfirm --needed base-devel ca-certificates make diffutils tar
10
11     # Make sure we use the native python interpreter instead of some msys equivalent
12     # one way or another. The msys interpreters seem to have weird path conversions
13     # baked in which break LLVM's build system one way or another, so let's use the
14     # native version which keeps everything as native as possible.
15     cp C:/Python27amd64/python.exe C:/Python27amd64/python2.7.exe
16     ciCommandAddPath "C:\\Python27amd64"
17 fi