You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
888 B
24 lines
888 B
4 years ago
|
#!/bin/sh
|
||
|
set -eu
|
||
|
|
||
|
version_mrustc=0.9 # https://github.com/thepowersgang/mrustc/releases/
|
||
|
version_mrustc_rust=1.29.0 # Depends on mrustc
|
||
|
versions_llvm='7.1.0' # https://github.com/llvm/llvm-project/releases
|
||
|
versions_rustc='1.30.1 1.31.1 1.32.0 1.33.0 1.34.2 1.35.0 1.36.0 1.37.0 1.38.0 1.39.0 1.40.0 1.41.1' # https://github.com/rust-lang/rust/blob/master/RELEASES.md
|
||
|
|
||
|
mkdir -p download
|
||
|
cd download
|
||
|
|
||
|
wget -c "https://github.com/thepowersgang/mrustc/archive/v$version_mrustc/mrustc-$version_mrustc.tar.gz"
|
||
|
wget -c "https://static.rust-lang.org/dist/rustc-$version_mrustc_rust-src.tar.xz"
|
||
|
|
||
|
for version in $versions_llvm; do
|
||
|
wget -c "https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-$version.src.tar.xz"
|
||
|
done
|
||
|
|
||
|
for version in $versions_rustc; do
|
||
|
wget -c "https://static.rust-lang.org/dist/rustc-$version-src.tar.xz"
|
||
|
done
|
||
|
|
||
|
sha256sum -c ../download.sha256
|