Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit 8cd1e94

Browse files
committed
update process.sh
1 parent 2d99639 commit 8cd1e94

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

process.sh

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/bash
2+
13
TIMES_DIR=/home/ncameron/times
24
SCRIPTS_DIR=/home/ncameron/times-scripts
35

@@ -8,29 +10,19 @@ export PATH=$RUSTC_DIR/bin:$PATH
810
for dir in *; do
911
if [[ -d $dir ]]; then
1012
echo "Processing $dir"
11-
cd $dir
1213

1314
for i in 0 1 2 3 4 5
1415
do
15-
rustc --version >$TIMES_DIR/raw/$dir--$DATE--$i.log
16+
cd $RUST_DIR
17+
git show HEAD -s >$TIMES_DIR/raw/$dir--$DATE--$i.log
18+
cd $START/$dir
1619
echo "rustc: ./$dir" >>$TIMES_DIR/raw/$dir--$DATE--$i.log
1720
make >>$TIMES_DIR/raw/$dir--$DATE--$i.log
1821
echo "done" >>$TIMES_DIR/raw/$dir--$DATE--$i.log
1922

2023
make touch >/dev/null
2124
done
2225

23-
export RUSTFLAGS='-Zorbit'
24-
for i in 0 1 2 3 4 5
25-
do
26-
rustc --version >$TIMES_DIR/raw/orbit-$dir--$DATE--$i.log
27-
echo "rustc: ./$dir" >>$TIMES_DIR/raw/orbit-$dir--$DATE--$i.log
28-
make >>$TIMES_DIR/raw/orbit-$dir--$DATE--$i.log
29-
echo "done" >>$TIMES_DIR/raw/orbit-$dir--$DATE--$i.log
30-
31-
make touch >/dev/null
32-
done
33-
3426
make clean >/dev/null
3527

3628
cd $TIMES_DIR

0 commit comments

Comments
 (0)