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:
@ -61,6 +61,9 @@ fn main() {
|
|||||||
mut tcc_path := 'tcc'
|
mut tcc_path := 'tcc'
|
||||||
$if freebsd {
|
$if freebsd {
|
||||||
tcc_path = '/usr/local/bin/tcc'
|
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')
|
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')
|
diff3 := 0 // measure('$vdir/vprod -native $vdir/cmd/tools/1mil.v', 'native 1mil')
|
||||||
|
Reference in New Issue
Block a user