Page MenuHomeFreeBSD

Cirrus-CI: switch to Clang/LLVM 12
ClosedPublic

Authored by emaste on May 4 2021, 7:25 PM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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.