File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -47,3 +47,26 @@ echo "========================================"
47
47
export VPR_NUM_WORKERS=1
48
48
./run_reg_test.py $VTR_TEST $VTR_TEST_OPTIONS -j$NUM_CORES
49
49
kill $MONITOR
50
+
51
+ echo " ========================================"
52
+ echo " Cleaning benchmarks files"
53
+ echo " ========================================"
54
+ # Removing Symbiflow archs and benchmarks
55
+ find vtr_flow/arch/symbiflow/ -type f -not -name ' README.*' -exec rm -r {} \;
56
+ find vtr_flow/benchmarks/symbiflow/ -type f -not -name ' README.*'
57
+
58
+ # Removing ISPD benchmarks
59
+ find vtr_flow/benchmarks/ispd_blif/ -type f -not -name ' README.*'
60
+
61
+ # Removing Titan benchmarks
62
+ find vtr_flow/benchmarks/titan_blif/ -type f -not -name ' README.*' -delete
63
+
64
+ # Removing ISPD, Titan and Symbiflow tarballs
65
+ find . -type f -regex " .*\.tar\.\(gz\|xz\)" -delete
66
+
67
+ # Make sure working directory doesn't exceed disk space limit!
68
+ echo " Working directory size: $( du -sh) "
69
+ if [[ $( du -s | cut -d $' \t ' -f 1) -gt $( expr 1024 \* 1024 \* 90) ]]; then
70
+ echo " Working directory too large!"
71
+ exit 1
72
+ fi
You can’t perform that action at this time.
0 commit comments