Scripts for bootstrapping various programming languages
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
658 B

#!/bin/sh
set -eu
export MAKEFLAGS="-j$(nproc)"
export CFLAGS='-w'
export CXXFLAGS="$CFLAGS"
version_mrustc_rust=1.29.0
versions_llvm='7.1.0'
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'
[ ! -d build/install-rustc-$version_mrustc_rust ] && ./build_mrustc.sh
for version in $versions_llvm; do
[ ! -d build/install-llvm-$version ] && ./build_llvm.sh $version
done
last_version=$version_mrustc_rust
for version in $versions_rustc; do
version_llvm=7.1.0
[ ! -e build/install-rustc-$version/bin/cargo ] && ./build_rust.sh $last_version $version $version_llvm
last_version=$version
done