]> git.lizzy.rs Git - rust.git/blob - src/ci/scripts/install-msys2-packages.sh
Auto merge of #67339 - CAD97:rc-provenance, r=sfackler
[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         binutils
11
12     # Make sure we use the native python interpreter instead of some msys equivalent
13     # one way or another. The msys interpreters seem to have weird path conversions
14     # baked in which break LLVM's build system one way or another, so let's use the
15     # native version which keeps everything as native as possible.
16     cp C:/Python27amd64/python.exe C:/Python27amd64/python2.7.exe
17     ciCommandAddPath "C:\\Python27amd64"
18 fi