This commit is contained in:
finn 2022-12-13 18:10:29 -08:00
parent 23e2533522
commit d9ec0525fb

View file

@ -3,7 +3,7 @@ set -exuo pipefail
apt-get update
PACKAGES=( "git" "clang" "libclang-dev" "cmake" "make" )
PACKAGES=("git" "clang" "libclang-dev" "cmake" "make")
case "${TARGET}" in
aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl)
apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-aarch64-linux-gnu linux-libc-dev-arm64-cross
@ -19,6 +19,7 @@ case "${TARGET}" in
;;
x86_64-unknown-linux-musl)
apt-get install -y "${PACKAGES[@]}" musl-tools
;;
*)
apt-get install -y "${PACKAGES[@]}"
;;