diff options
| author | PeterGrieffindor <125498116+PeterGrieffindor@users.noreply.github.com> | 2026-11-23 00:37:22 +0200 |
|---|---|---|
| committer | PeterGrieffindor <125498116+PeterGrieffindor@users.noreply.github.com> | 2026-11-23 00:37:22 +0200 |
| commit | 8c799453fb5a13622cc3e22651464b9d61947805 (patch) | |
| tree | 56fd0ed03b5af02612640afab55dd58353030516 /docs/d3d12_command_objects.md | |
| parent | aa2988cc555bad7ecd508b48a702adbb32fe7c95 (diff) | |
hw_oracle: an amdclang launcher on PATH is followed to the clang it is installed as
The rocm-sdk wheels put `amdclang` in the Python environment's Scripts (bin)
folder. find_clang() takes it first, because it is on PATH and lists the amdgcn
target, but ld.lld and amdgpu-arch sit beside the real clang, in the folder the
launcher reports as InstalledDir. With the wheels in a Python outside the
checkout the oracle then stopped with "no ld.lld next to the AMD clang", also
when HIP_PATH named a complete toolchain, and LEONIDA_AMD_CLANG was the only
way around it.
find_clang() now returns the clang in InstalledDir when the one it found has no
ld.lld beside it. A clang that has its linker is used where it was found, and a
launcher that names a folder without a clang is kept, so every setup that
worked resolves to the same compiler as before.
Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
Diffstat (limited to 'docs/d3d12_command_objects.md')
0 files changed, 0 insertions, 0 deletions