install.sh 233 B

12345678
  1. #!/usr/bin/env bash
  2. set -euxo pipefail
  3. rustup target add $TARGET
  4. mkdir gcc
  5. 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