Page MenuHomeFreeBSD

Cirrus-CI: switch to Clang/LLVM 12
ClosedPublic

Authored by emaste on May 4 2021, 7:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 6, 5:20 PM
Unknown Object (File)
Tue, Nov 4, 11:48 AM
Unknown Object (File)
Sun, Oct 26, 8:06 PM
Unknown Object (File)
Sat, Oct 25, 7:00 AM
Unknown Object (File)
Sun, Oct 19, 4:54 AM
Unknown Object (File)
Tue, Oct 14, 9:01 PM
Unknown Object (File)
Tue, Oct 14, 4:22 PM
Unknown Object (File)
Oct 11 2025, 6:07 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.