This commit is contained in:
finn 2022-12-13 18:51:24 -08:00
parent d9ec0525fb
commit 2ccc9fae53

View file

@ -6,7 +6,7 @@ apt-get update
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 libc-dev-arm64-cross
;; ;;
arm-unknown-linux-gnueabi|arm-unknown-linux-musleabi) arm-unknown-linux-gnueabi|arm-unknown-linux-musleabi)
apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabi linux-libc-dev-armel-cross apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabi linux-libc-dev-armel-cross