Page MenuHomeFreeBSD

Speed up Cirrus CI by using CROSS_TOOLCHAIN
ClosedPublic

Authored by arichardson on Oct 12 2020, 10:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 25 2024, 3:24 AM
Unknown Object (File)
Dec 28 2023, 5:35 PM
Unknown Object (File)
Dec 23 2023, 1:24 AM
Unknown Object (File)
Nov 27 2023, 7:55 PM
Unknown Object (File)
Nov 23 2023, 12:14 PM
Unknown Object (File)
Nov 12 2023, 6:34 PM
Unknown Object (File)
Nov 11 2023, 12:34 AM
Unknown Object (File)
Nov 10 2023, 2:37 AM
Subscribers

Details

Summary

Installing the llvm11 package instead of bootstrapping it from the source
tree reduces the build time by about 20 minutes.

The last freebsd/freebsd build that was tested (r366629) took 1h 21m 22s,
whereas my GitHub fork with this .cirrus.yml took 58m 6s.
We could probably further reduce time by using images that have LLVM
pre-installed: the pkg install step took 4 minutes 30s.

Since the bootstrap toolchain is still tested by Jenkins, this should not
reduce test coverage of the CI script.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arichardson created this revision.
emaste added inline comments.
.cirrus.yml
4–5 ↗(On Diff #78124)

In a few days we'll have a 12.2 image available. I'm happy for this to go in now and switch it later.

This revision is now accepted and ready to land.Oct 27 2020, 12:46 PM
This revision was automatically updated to reflect the committed changes.