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)
Nov 17 2024, 5:50 AM
Unknown Object (File)
Sep 27 2024, 11:06 AM
Unknown Object (File)
Sep 23 2024, 5:06 AM
Unknown Object (File)
Sep 23 2024, 3:58 AM
Unknown Object (File)
Sep 21 2024, 9:55 AM
Unknown Object (File)
Sep 16 2024, 4:09 PM
Unknown Object (File)
Sep 6 2024, 8:55 PM
Unknown Object (File)
Sep 1 2024, 5:05 PM
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.