tools/fast: location fix

pull/10950/head
Alexander Medvednikov 2021-07-24 23:41:55 +03:00
parent 76904719d0
commit f691a80145
1 changed files with 3 additions and 2 deletions

View File

@ -47,8 +47,9 @@ fn main() {
// exec('git checkout $commit') // exec('git checkout $commit')
println(' Building vprod...') println(' Building vprod...')
os.chdir(vdir) os.chdir(vdir)
exec('$vdir/v -o $vdir/vprod -prod -prealloc cmd/v') exec('v -o vprod -prod -prealloc cmd/v')
// exec('v -o $vdir/vprod $vdir/cmd/v') // for faster debugging // println('cur vdir="$vdir"')
// exec('v -o vprod cmd/v') // for faster debugging
// cache vlib modules // cache vlib modules
exec('$vdir/v wipe-cache') exec('$vdir/v wipe-cache')
exec('$vdir/v -o v2 -prod cmd/v') exec('$vdir/v -o v2 -prod cmd/v')