about summary refs log tree commit diff
path: root/src/ci/docker/scripts
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-06-24 06:27:13 +0200
committerGitHub <noreply@github.com>2024-06-24 06:27:13 +0200
commit7babf99ea9dcc02902c2dea549816177e6e807f0 (patch)
tree125bbdd3630739158a92d986f1ccd27b6cd91ace /src/ci/docker/scripts
parent9a591ea1ce7d901f77a640a363cc13929fc61fcd (diff)
parent16fef408968f341a78dae37b20e33ceee267ada5 (diff)
downloadrust-7babf99ea9dcc02902c2dea549816177e6e807f0.tar.gz
rust-7babf99ea9dcc02902c2dea549816177e6e807f0.zip
Rollup merge of #126298 - heiher:loongarch64-musl-ci, r=Mark-Simulacrum
Promote loongarch64-unknown-linux-musl to Tier 2 with host tools

MCP: https://github.com/rust-lang/compiler-team/issues/753
Tracking issue: https://github.com/rust-lang/rust/issues/122592

try-job: dist-loongarch64-musl
Diffstat (limited to 'src/ci/docker/scripts')
-rw-r--r--src/ci/docker/scripts/crosstool-ng-git.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ci/docker/scripts/crosstool-ng-git.sh b/src/ci/docker/scripts/crosstool-ng-git.sh
new file mode 100644
index 00000000000..2a10e262df8
--- /dev/null
+++ b/src/ci/docker/scripts/crosstool-ng-git.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -ex
+
+URL=https://github.com/crosstool-ng/crosstool-ng
+REV=c64500d94be92ed1bcdfdef911048a14e216a5e1
+
+mkdir crosstool-ng
+cd crosstool-ng
+git init
+git fetch --depth=1 ${URL} ${REV}
+git reset --hard FETCH_HEAD
+./bootstrap
+./configure --prefix=/usr/local
+make -j$(nproc)
+make install
+cd ..
+rm -rf crosstool-ng