shithub: mc

Download patch

ref: 5729c9940095be2916feb43b478559082744ba5c
parent: 5fa05936d56f927db90c52d07fae2db63bca7d29
author: Ori Bernstein <[email protected]>
date: Tue Sep 5 07:46:16 EDT 2017

testdep sare busted with bench targets.

	List deps explicitly.

--- a/bench/bld.sub
+++ b/bench/bld.sub
@@ -1,30 +1,46 @@
-testdeps =
+bench intsort =
+	intsort.myr
 	lib ../lib/std:std
 	lib ../lib/sys:sys
-	lib ../lib/crypto:crypto
-	lib ../lib/bio:bio
 	lib ../lib/testr:testr
 ;;
-
-bench intsort =
-	intsort.myr
-;;
 bench copious-allocs =
 	copious-allocs.myr
+	lib ../lib/std:std
+	lib ../lib/sys:sys
+	lib ../lib/testr:testr
 ;;
 bench sha1-compute =
 	sha1-compute.myr
+	lib ../lib/std:std
+	lib ../lib/sys:sys
+	lib ../lib/crypto:crypto
+	lib ../lib/testr:testr
 ;;
 bench bigfactorial =
 	bigfactorial.myr
+	lib ../lib/std:std
+	lib ../lib/sys:sys
+	lib ../lib/testr:testr
 ;;
 bench mandelbrot =
 	mandelbrot.myr
+	lib ../lib/std:std
+	lib ../lib/sys:sys
+	lib ../lib/bio:bio
+	lib ../lib/testr:testr
 ;;
 bench regex-match =
 	regex-match.myr
+	lib ../lib/std:std
+	lib ../lib/sys:sys
+	lib ../lib/regex:regex
+	lib ../lib/testr:testr
 ;;
 
 bench many-memcpy =
 	many-memcpy.myr
+	lib ../lib/std:std
+	lib ../lib/sys:sys
+	lib ../lib/testr:testr
 ;;