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)
Sep 20 2024, 5:18 AM
Unknown Object (File)
Sep 18 2024, 2:44 PM
Unknown Object (File)
Sep 18 2024, 2:16 AM
Unknown Object (File)
Sep 17 2024, 7:35 PM
Unknown Object (File)
Sep 11 2024, 3:59 PM
Unknown Object (File)
Sep 5 2024, 2:39 PM
Unknown Object (File)
Aug 31 2024, 12:40 PM
Unknown Object (File)
Aug 14 2024, 11:35 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.

In D44162#1007615, @jlduran_gmail.com 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.

In D44162#1007618, @dim wrote:
In D44162#1007615, @jlduran_gmail.com 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.