1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-01 07:14:29 +00:00

[infra] Install alpine riscv64 sysroot

Closes https://github.com/dart-lang/sdk/pull/55875

GitOrigin-RevId: 46d7031db865173547f3d3b502f9c43a8172d8a9
Change-Id: I15e77d172d8db737d712463a40b27f5b7ca776b3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368823
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
なつき 2024-05-30 17:33:04 +00:00 committed by Commit Queue
parent 25d693c9f7
commit 0fba690acc

View File

@ -21,7 +21,7 @@ SCRIPT="$(readlink -f -- "$0")"
WORKDIR="$(dirname -- "$(dirname -- "$(dirname -- "$(dirname -- "$SCRIPT")")")")"
if test $# -eq 0; then
set aarch64 armv7 x86_64 x86
set aarch64 armv7 x86_64 x86 riscv64
fi
echo "$@" | xargs -n 1 -- sh -xc 'apk add --root "$1/buildtools/sysroot/alpine-linux-$2" --repositories-file /etc/apk/repositories --allow-untrusted --arch "$2" --no-cache --no-scripts --initdb -- build-base linux-headers' -- "$WORKDIR"