summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-23 10:39:39 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-23 10:39:39 -0700
commitb319e47808ef74e3ed23a624ac9965551a7f51b5 (patch)
tree4fe8c0d0e21c67c2033202a0d8141faf7cb54807 /bench
parent7b6d31689c011fd8505d1eb96c829e89688d89d2 (diff)
downloadmc-b319e47808ef74e3ed23a624ac9965551a7f51b5.tar.gz
Include necessary library deps in benchmarks.
Diffstat (limited to 'bench')
-rw-r--r--bench/bld.sub45
1 files changed, 38 insertions, 7 deletions
diff --git a/bench/bld.sub b/bench/bld.sub
index c6f6365..a6117ba 100644
--- a/bench/bld.sub
+++ b/bench/bld.sub
@@ -1,10 +1,41 @@
-bin intsort = intsort.myr ;;
-bin copious-allocs = copious-allocs.myr ;;
-bin sha1-compute = sha1-compute.myr ;;
-bin bigfactorial = bigfactorial.myr ;;
-bin mandelbrot = mandelbrot.myr ;;
-bin regex-match = regex-match.myr ;;
-bin runbench = runbench.myr ;;
+bin intsort =
+ intsort.myr
+ lib @/lib/std:std
+ lib @/lib/sys:sys
+;;
+bin copious-allocs =
+ copious-allocs.myr
+ lib @/lib/std:std
+ lib @/lib/sys:sys
+;;
+bin sha1-compute =
+ sha1-compute.myr
+ lib @/lib/std:std
+ lib @/lib/sys:sys
+ lib @/lib/cryptohash:cryptohash
+;;
+bin bigfactorial =
+ bigfactorial.myr
+ lib @/lib/std:std
+ lib @/lib/sys:sys
+;;
+bin mandelbrot =
+ mandelbrot.myr
+ lib @/lib/std:std
+ lib @/lib/sys:sys
+ lib @/lib/bio:bio
+;;
+bin regex-match =
+ regex-match.myr
+ lib @/lib/std:std
+ lib @/lib/sys:sys
+ lib @/lib/regex:regex
+;;
+bin runbench =
+ runbench.myr
+ lib @/lib/std:std
+ lib @/lib/sys:sys
+;;
cmd benchit =
./runbench