1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cmd/tools/fast/fast.v: use clang instead of tcc on the cirrus ci build ¯\_(ツ)_/¯ ...

This commit is contained in:
Delyan Angelov 2021-08-15 12:00:51 +03:00
parent 1a5c4b18ec
commit e0451c5b33
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -61,6 +61,9 @@ fn main() {
mut tcc_path := 'tcc'
$if freebsd {
tcc_path = '/usr/local/bin/tcc'
if vdir.contains('/tmp/cirrus-ci-build') {
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')