Page MenuHomeFreeBSD

Cirrus-CI: bump Clang versions to 17 and 18
ClosedPublic

Authored by emaste on Feb 29 2024, 10:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 5:17 PM
Unknown Object (File)
Thu, May 2, 8:01 AM
Unknown Object (File)
Mon, Apr 29, 8:11 AM
Unknown Object (File)
Sat, Apr 27, 4:23 PM
Unknown Object (File)
Fri, Apr 26, 3:49 AM
Unknown Object (File)
Thu, Apr 25, 8:55 AM
Unknown Object (File)
Apr 20 2024, 7:21 AM
Unknown Object (File)
Apr 16 2024, 10:37 PM
Subscribers

Details

Summary

Clang/LLVM 17 is currently the in-tree default compiler, and Clang/LLVM 18 is coming soon. Use the former as the default CI toolchain and make the latter available for manual invocation.

Diff Detail

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

Event Timeline

emaste created this revision.

No objections from me :)

This revision is now accepted and ready to land.Feb 29 2024, 10:34 PM

Use 16 and 17 for now, 18 gave me pkg: No packages available to install matching 'llvm18-lite' have been found in the repositories. Will replace 16 with 18 later.

This revision now requires review to proceed.Feb 29 2024, 11:01 PM

Use 16 and 17 for now, 18 gave me pkg: No packages available to install matching 'llvm18-lite' have been found in the repositories. Will replace 16 with 18 later.

I'll try to remember next quarter. Still running the tests here.

This revision is now accepted and ready to land.Feb 29 2024, 11:06 PM
This revision was automatically updated to reflect the committed changes.

Use 16 and 17 for now, 18 gave me pkg: No packages available to install matching 'llvm18-lite' have been found in the repositories. Will replace 16 with 18 later.

I can MFH llvm18, but I'll probably want to wait until the full release any day now.

It is worth noting that building with clang 18 currently fails (https://api.cirrus-ci.com/v1/task/5600331233492992/logs/build_world.log), I imagine this will be ironed out as we go along.

It is worth noting that building with clang 18 currently fails (https://api.cirrus-ci.com/v1/task/5600331233492992/logs/build_world.log), I imagine this will be ironed out as we go along.

Yeah this is https://github.com/llvm/llvm-project/pull/75748, which I pulled into the llvm-18-update branch. But I don't know if it is in the llvm18 port.

In D44162#1007618, @dim wrote:

It is worth noting that building with clang 18 currently fails (https://api.cirrus-ci.com/v1/task/5600331233492992/logs/build_world.log), I imagine this will be ironed out as we go along.

Yeah this is https://github.com/llvm/llvm-project/pull/75748, which I pulled into the llvm-18-update branch. But I don't know if it is in the llvm18 port.

Thank you for the insight! The port has the patch, but it is not yet in base. Manually applying it and llvm/llvm-project@966d564 allows us to move forward, but it still fails (https://api.cirrus-ci.com/v1/task/6599169498939392/logs/build_world.log). I'll follow the recommendation, and wait until 18 is officially out and in-tree.