From 162606f3586878d6eaf9a034be84aea8ca60e829 Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Sat, 8 Jan 2022 12:59:14 +0100 Subject: Toolchain+CI: Link LLVM with LLD if available According to most benchmarks, LLD is faster than GNU ld and the macOS linker, so let's use it if possible in order to speed up the toolchain build. --- Meta/Azure/Setup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Meta/Azure') diff --git a/Meta/Azure/Setup.yml b/Meta/Azure/Setup.yml index 6aacfbc40e..4eb452c754 100644 --- a/Meta/Azure/Setup.yml +++ b/Meta/Azure/Setup.yml @@ -10,7 +10,7 @@ steps: sudo add-apt-repository ppa:canonical-server/server-backports sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update - sudo apt-get install ccache e2fsprogs gcc-11 g++-11 libstdc++-11-dev libmpfr-dev libmpc-dev ninja-build qemu-utils qemu-system-i386 unzip + sudo apt-get install ccache e2fsprogs gcc-11 g++-11 libstdc++-11-dev libmpfr-dev libmpc-dev ninja-build qemu-utils qemu-system-i386 unzip lld displayName: 'Install Dependencies' - ${{ if eq(parameters.os, 'Linux') }}: -- cgit v1.2.3