mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 20:09:41 +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:
parent
25d693c9f7
commit
0fba690acc
|
@ -21,7 +21,7 @@ SCRIPT="$(readlink -f -- "$0")"
|
||||||
WORKDIR="$(dirname -- "$(dirname -- "$(dirname -- "$(dirname -- "$SCRIPT")")")")"
|
WORKDIR="$(dirname -- "$(dirname -- "$(dirname -- "$(dirname -- "$SCRIPT")")")")"
|
||||||
|
|
||||||
if test $# -eq 0; then
|
if test $# -eq 0; then
|
||||||
set aarch64 armv7 x86_64 x86
|
set aarch64 armv7 x86_64 x86 riscv64
|
||||||
fi
|
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"
|
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"
|
||||||
|
|
Loading…
Reference in a new issue