mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: run fast.v with clang on freebsd
This commit is contained in:
parent
eb1ac5b30d
commit
765759817d
@ -11,4 +11,4 @@ task:
|
||||
##.github/workflows/freebsd_build_tcc.sh
|
||||
##tcc -v -v
|
||||
echo 'Build cmd/tools/fast'
|
||||
cd cmd/tools/fast && ../../../v fast.v ## && ./fast
|
||||
cd cmd/tools/fast && ../../../v fast.v && ./fast -clang
|
||||
|
@ -65,6 +65,9 @@ fn main() {
|
||||
tcc_path = 'clang'
|
||||
}
|
||||
}
|
||||
if os.args.contains('-clang') {
|
||||
tcc_path = 'clang'
|
||||
}
|
||||
diff2 := measure('$vdir/vprod $voptions -cc $tcc_path -o v2 cmd/v', 'v2')
|
||||
diff3 := 0 // measure('$vdir/vprod -native $vdir/cmd/tools/1mil.v', 'native 1mil')
|
||||
diff4 := measure('$vdir/vprod -usecache $voptions -cc clang examples/hello_world.v',
|
||||
|
Loading…
Reference in New Issue
Block a user