vexriscv-rust/ci/install.sh

9 lines
233 B
Bash
Raw Normal View History

2019-03-17 21:30:23 +08:00
#!/usr/bin/env bash
2018-08-11 23:58:32 +08:00
2019-03-17 21:30:23 +08:00
set -euxo pipefail
2018-12-23 18:37:47 +08:00
2019-03-17 21:30:23 +08:00
rustup target add $TARGET
2018-08-11 23:58:32 +08:00
2019-03-17 21:30:23 +08:00
mkdir gcc
curl -L https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.1.0-2018.12.0-x86_64-linux-ubuntu14.tar.gz | tar --strip-components=1 -C gcc -xz