Skip to content

Commit

Permalink
fish: cbl_bld_tot_tcs: Apply LLVM PR 125298
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Feb 1, 2025
1 parent fd5f672 commit c1632c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fish/functions/cbl_bld_tot_tcs.fish
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ function cbl_bld_tot_tcs -d "Build LLVM and binutils from source for kernel deve
end

# Add in-review patches here
set -a gh_prs https://github.com/llvm/llvm-project/pull/125298 # [Clang][counted_by] Don't treat a __bdos argument as an array if it isn't
for gh_pr in $gh_prs
if gh_llvm pr view --json state (path basename $gh_pr) | python3 -c "import json, sys; sys.exit(0 if json.load(sys.stdin)['state'] == 'MERGED' else 1)"
print_warning "$gh_pr has already been merged, skipping..."
Expand All @@ -171,6 +172,7 @@ function cbl_bld_tot_tcs -d "Build LLVM and binutils from source for kernel deve
return 1
end
end
sed -i 's;@falcon_reconfigure_xmac_core;@test2;g' $llvm_project/clang/test/CodeGen/attr-counted-by-bug.c

string match -gr "\s+set\(LLVM_VERSION_[A-Z]+ ([0-9]+)\)" <$llvm_project/cmake/Modules/LLVMVersion.cmake | string join . | read llvm_ver
if test (string split . $llvm_ver | count) != 3
Expand Down

0 comments on commit c1632c6

Please sign in to comment.