fix(hw-oracle): skip the wave64 assembly test when clang has no AMDGPU target #2151

Merged
oneandonlydean merged 1 commit from upstream-pr/2151 into main 2026-10-09 10:10:01 +00:00
oneandonlydean commented 2026-10-09 10:06:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T10:06:51Z.


What

hardware_oracle fails in the Windows relinker job since #1962: test_condition_operands_match_wave_size skips only when clang or ld.lld is missing, but the runner's clang has no AMDGPU target:

clang -cc1as: error: unknown target triple 'amdgcn-amd-amdhsa'

The test now also skips when clang --print-targets doesn't list amdgcn.

Tested

  • Linux: python3 tools/hw-oracle/test_hw_oracle.py passes (8 tests).
  • tools/check_conventions.py --base origin/main passes.

Checklist

  • Based on current main
  • One topic per PR
  • No comments in code
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4798974402 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2151). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-09T10:06:51Z. --- ### What `hardware_oracle` fails in the Windows relinker job since #1962: `test_condition_operands_match_wave_size` skips only when `clang` or `ld.lld` is missing, but the runner's clang has no AMDGPU target: ``` clang -cc1as: error: unknown target triple 'amdgcn-amd-amdhsa' ``` The test now also skips when `clang --print-targets` doesn't list `amdgcn`. ### Tested - Linux: `python3 tools/hw-oracle/test_hw_oracle.py` passes (8 tests). - `tools/check_conventions.py --base origin/main` passes. ### Checklist - [x] Based on current `main` - [x] One topic per PR - [x] No comments in code - [x] Depends on: none - [x] AI-assisted: yes
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!2151
No description provided.