Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildmgr: Patch CLANG.cmake to be compatible with LLVM 19 #1807

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

JonatanAntoni
Copy link
Member

@JonatanAntoni JonatanAntoni commented Oct 14, 2024

In LLVM 19 the order of the target triple got swapped. I.e., none-unknown-eabi is not accepted anymore instead unknown-none-eabi is required. By dropping the unknown entirely the reduced target triple is accepted by all major versions 17, 18, and 19 by defaulting to vendor unknown.

See llvm/llvm-project#89582

In LLVM 19 the order of the target triple got swapped. I.e., none-unknown-eabi is not accepted anymore instead unknown-none-eabi is required. By dropping the unknown entirely the reduced target triple is accepted by all major versions 17, 18, and 19 by defaulting to vendor unknown.
Copy link

Test Results

  7 files   53 suites   4m 7s ⏱️
185 tests 168 ✅ 17 💤 0 ❌
692 runs  624 ✅ 68 💤 0 ❌

Results for commit eb969f0.

Copy link
Collaborator

@brondani brondani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JonatanAntoni JonatanAntoni merged commit 4bf9762 into main Oct 15, 2024
35 checks passed
@JonatanAntoni JonatanAntoni deleted the llvm-19 branch October 15, 2024 08:38
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.24%. Comparing base (d085a91) to head (eb969f0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1807   +/-   ##
=======================================
  Coverage   64.24%   64.24%           
=======================================
  Files         163      163           
  Lines       32128    32128           
  Branches    19636    19636           
=======================================
  Hits        20641    20641           
- Misses       7571     7574    +3     
+ Partials     3916     3913    -3     
Flag Coverage Δ
buildmgr-cov 74.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 3 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build-Manager in Toolbox v2.6.1 does not support LLVM/Clang 19
2 participants