From e0451c5b331570957e8544af1d3e23187ff499aa Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sun, 15 Aug 2021 12:00:51 +0300 Subject: [PATCH] =?UTF-8?q?cmd/tools/fast/fast.v:=20use=20clang=20instead?= =?UTF-8?q?=20of=20tcc=20on=20the=20cirrus=20ci=20build=20=C2=AF\=5F(?= =?UTF-8?q?=E3=83=84)=5F/=C2=AF=20...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/tools/fast/fast.v | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/tools/fast/fast.v b/cmd/tools/fast/fast.v index 6be74f4b67..2c1bc06e8d 100644 --- a/cmd/tools/fast/fast.v +++ b/cmd/tools/fast/fast.v @@ -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')