Cirrus-CI: switch to Clang/LLVM 12

dim@ is preparing to import Clang/LLVM 12 into the base system as the
system compiler / toolchain.  Apply the same change to the Cirrus-CI
config.

Reviewed by:	imp, markj
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D30109
This commit is contained in:
Ed Maste 2021-05-04 15:22:25 -04:00
parent b1bd44732d
commit 15c0aaf517

View file

@ -13,7 +13,7 @@ env:
task:
timeout_in: 120m
install_script:
- pkg install -y llvm11
- pkg install -y llvm12
setup_script:
- uname -a
- df -m
@ -21,7 +21,7 @@ task:
- mkdir -p /usr/obj/$(pwd -P)
- chown user:user /usr/obj/$(pwd -P)
script:
- su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=llvm11 WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
- su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=llvm12 WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
post_script:
- df -m
- du -m -s /usr/obj