mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
cmd/tools/fast/fast.v: use clang instead of tcc on the cirrus ci build ¯\_(ツ)_/¯ ...
This commit is contained in:
parent
1a5c4b18ec
commit
e0451c5b33
1 changed files with 3 additions and 0 deletions
|
@ -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')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue