Page MenuHomeFreeBSD

Cirrus-CI: switch to Clang/LLVM 12
ClosedPublic

Authored by emaste on May 4 2021, 7:25 PM.
Tags
None
Referenced Files
F167197544: D30109.id88620.diff
Wed, Aug 19, 8:48 PM
F167197541: D30109.id88615.diff
Wed, Aug 19, 8:48 PM
F167197467: D30109.diff
Wed, Aug 19, 8:48 PM
Unknown Object (File)
Thu, Aug 13, 2:02 PM
Unknown Object (File)
Fri, Aug 7, 8:01 PM
Unknown Object (File)
Sat, Jul 25, 4:22 PM
Unknown Object (File)
Wed, Jul 22, 11:12 PM
Unknown Object (File)
Jul 20 2026, 4:00 AM
Subscribers

Details

Summary

@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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste requested review of this revision.May 4 2021, 7:25 PM
emaste created this revision.

Build + boot smoke test completed successfully.

This revision is now accepted and ready to land.May 4 2021, 9:05 PM

Once upon a time, you also needed to suppress bootstrapping the toolchain... Does CROSS_TOOLCHAIN do that automatically these days?

In D30109#675892, @imp wrote:

Once upon a time, you also needed to suppress bootstrapping the toolchain... Does CROSS_TOOLCHAIN do that automatically these days?

I believe so, but will double check.

This revision was automatically updated to reflect the committed changes.

I believe so, but will double check.

Looking at the Cirrus-CI log for the run above, I do not see Clang being built (bootstrap or for target).

In D30109#675892, @imp wrote:

Once upon a time, you also needed to suppress bootstrapping the toolchain... Does CROSS_TOOLCHAIN do that automatically these days?

I believe so, but will double check.

Isn't that what WITHOUT_TOOLCHAIN= accomplishes?

Isn't that what WITHOUT_TOOLCHAIN= accomplishes?

That should avoiding the toolchain that would be installed, but (with only that set) would still build the bootstrap toolchain.