]>
Commit | Line | Data |
---|---|---|
923072b8 | 1 | #!/usr/bin/env bash |
c295e0f8 | 2 | set -e |
923072b8 | 3 | set -v |
c295e0f8 XL |
4 | |
5 | source prepare_build.sh | |
6 | ||
7 | cargo install hyperfine || echo "Skipping hyperfine install" | |
8 | ||
923072b8 FG |
9 | git clone https://github.com/rust-random/rand.git || echo "rust-random/rand has already been cloned" |
10 | pushd rand | |
11 | git checkout -- . | |
12 | git checkout 0f933f9c7176e53b2a3c7952ded484e1783f0bf1 | |
13 | git am ../crate_patches/*-rand-*.patch | |
14 | popd | |
15 | ||
c295e0f8 XL |
16 | git clone https://github.com/rust-lang/regex.git || echo "rust-lang/regex has already been cloned" |
17 | pushd regex | |
18 | git checkout -- . | |
19 | git checkout 341f207c1071f7290e3f228c710817c280c8dca1 | |
20 | popd | |
21 | ||
22 | git clone https://github.com/ebobby/simple-raytracer || echo "ebobby/simple-raytracer has already been cloned" | |
23 | pushd simple-raytracer | |
24 | git checkout -- . | |
25 | git checkout 804a7a21b9e673a482797aa289a18ed480e4d813 | |
26 | ||
27 | # build with cg_llvm for perf comparison | |
28 | cargo build | |
29 | mv target/debug/main raytracer_cg_llvm | |
30 | popd |