This commit is contained in:
finn 2022-12-13 18:05:40 -08:00
parent 5c3f521070
commit 23e2533522

View file

@ -2,10 +2,8 @@
set -exuo pipefail set -exuo pipefail
apt-get update apt-get update
apt-get install -y git clang libclang-dev cmake make
PACKAGES=( "git" "clang" "libclang-dev" "cmake" "make" )
PACKAGES=("git" "clang" "libclang-dev" "cmake" "make")
case "${TARGET}" in case "${TARGET}" in
aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl) aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl)
apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-aarch64-linux-gnu linux-libc-dev-arm64-cross apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-aarch64-linux-gnu linux-libc-dev-arm64-cross