Update Rust program build script paths (#4707)

This commit is contained in:
Jack May
2019-06-17 14:24:00 -07:00
committed by GitHub
parent 5e8fcdbe1d
commit de3f7e9634
3 changed files with 7 additions and 2 deletions

View File

@ -55,6 +55,7 @@ if [[ ! -f llvm-native-$machine-$version.md ]]; then
set -ex
rm -rf llvm-native*
rm -rf xargo
mkdir -p llvm-native
cd llvm-native
@ -81,6 +82,7 @@ if [[ ! -f rust-bpf-$machine-$version.md ]]; then
set -ex
rm -rf rust-bpf
rm -rf rust-bpf-$machine-*
rm -rf xargo
mkdir -p rust-bpf
pushd rust-bpf
@ -113,6 +115,7 @@ if [[ ! -f rust-bpf-sysroot-$version.md ]]; then
(
set -ex
rm -rf rust-bpf-sysroot*
rm -rf xargo
cmd="git clone --recursive --single-branch --branch $version https://github.com/solana-labs/rust-bpf-sysroot.git"
$cmd