rtic/ci/install.sh

14 lines
430 B
Bash
Raw Permalink Normal View History

2017-07-27 22:02:25 +02:00
set -euxo pipefail
2017-04-12 06:12:06 +02:00
main() {
2018-04-16 21:44:02 +02:00
if [ $TARGET != x86_64-unknown-linux-gnu ]; then
rustup target add $TARGET
fi
2018-08-24 16:36:33 +02:00
mkdir gcc
curl -L https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2?revision=bc2c96c0-14b5-4bb4-9f18-bceb4050fee7?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,7-2018-q2-update | tar --strip-components=1 -C gcc -xj
2017-04-12 06:12:06 +02:00
}
main