tools/fast: fix freebsd path
parent
826809fae6
commit
ef10c60270
|
@ -39,7 +39,11 @@ fn main() {
|
|||
println(' Building vprod...')
|
||||
exec('v -o $vdir/vprod -prod $vdir/cmd/v')
|
||||
diff1 := measure('$vdir/vprod -cc clang -o v.c -show-timings $vdir/cmd/v', 'v.c')
|
||||
diff2 := measure('$vdir/vprod -cc tcc -o v2 $vdir/cmd/v', 'v2')
|
||||
mut tcc_path := 'tcc'
|
||||
$if freebsd {
|
||||
tcc_path = '/usr/local/bin/tcc'
|
||||
}
|
||||
diff2 := measure('$vdir/vprod -cc $tcc_path -o v2 $vdir/cmd/v', 'v2')
|
||||
diff3 := 0 // measure('$vdir/vprod -x64 $vdir/cmd/tools/1mil.v', 'x64 1mil')
|
||||
diff4 := measure('$vdir/vprod -cc clang $vdir/examples/hello_world.v', 'hello.v')
|
||||
vc_size := os.file_size('v.c') / 1000
|
||||
|
|
Loading…
Reference in New Issue