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)
Mon, Jul 20, 4:00 AM
Unknown Object (File)
Fri, Jul 17, 8:12 PM
Unknown Object (File)
Tue, Jul 14, 9:27 PM
Unknown Object (File)
Mon, Jul 13, 10:02 AM
Unknown Object (File)
Sat, Jul 4, 11:33 PM
Unknown Object (File)
Thu, Jul 2, 4:03 PM
Unknown Object (File)
Thu, Jul 2, 4:27 AM
Unknown Object (File)
Thu, Jul 2, 4:27 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.