]> git.lizzy.rs Git - rust.git/blob - prepare.sh
Initial commit
[rust.git] / prepare.sh
1 #!/bin/bash --verbose
2 set -e
3
4 source prepare_build.sh
5
6 cargo install hyperfine || echo "Skipping hyperfine install"
7
8 git clone https://github.com/rust-lang/regex.git || echo "rust-lang/regex has already been cloned"
9 pushd regex
10 git checkout -- .
11 git checkout 341f207c1071f7290e3f228c710817c280c8dca1
12 popd
13
14 git clone https://github.com/ebobby/simple-raytracer || echo "ebobby/simple-raytracer has already been cloned"
15 pushd simple-raytracer
16 git checkout -- .
17 git checkout 804a7a21b9e673a482797aa289a18ed480e4d813
18
19 # build with cg_llvm for perf comparison
20 cargo build
21 mv target/debug/main raytracer_cg_llvm
22 popd