fix(autopatch): Rewrote config.yaml to match updated llvm spec structure: replaced failing '%if %{maj_ver} >=18 / %global cfg_file_conte #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "agent-fix/a10-20260520-000928"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Automated fix by autopatch agent.
Summary: Rewrote config.yaml to match updated llvm spec structure: replaced failing '%if %{maj_ver} >=18 / %global cfg_file_content --gcc-triple=...' action with the new '%global gcc_triple' based approach from a10s reference; removed 6 actions whose find patterns were already applied upstream (BPF;WebAssembly;RISCV, runtimes/offload block, LLVM_ENABLE_RUNTIMES, offload file removal, check-openmp, liborc_rt, libomptarget); retained and adapted 9 actions still needed for the current spec.
Root cause
The upstream llvm spec (c10, v21) changed significantly: (1) the gcc_triple handling moved from a '%if %{maj_ver} >=18' conditional to a bare '%global gcc_triple' macro, requiring the find string to be updated to match the a10s reference approach; (2) several riscv64 changes the old a10 config was trying to apply (BPF/WebAssembly targets, LLVM_ENABLE_RUNTIMES, offload/libomptarget exclusions, liborc_rt arch guard, check-openmp arch guard) had already been applied in the upstream spec; (3) 9 actions remain valid and still needed: the x86_64_v2 gcc_triple and cfg_file_content arch guards, riscv64 reduce_debuginfo and _find_debuginfo_dwz_opts, and riscv64 guards for check-lit/check-llvm/check-clang/check-clang-tools/check-lld test targets.
Original error
Type:
ActionNotAppliedErrorPackage:
llvm| Webhook branch:c10Rewrote config.yaml to match updated llvm spec structure: replaced failing '%if %{maj_ver} >=18 / %global cfg_file_content --gcc-triple=...' action with the new '%global gcc_triple' based approach fro