Skip to content

fix(rccl): Fix clang_rt search for asan per-target-runtime-dir - #9739

Open
estewart08 wants to merge 1 commit into
developfrom
users/estewart/rccl-clang-rt-fix
Open

fix(rccl): Fix clang_rt search for asan per-target-runtime-dir#9739
estewart08 wants to merge 1 commit into
developfrom
users/estewart/rccl-clang-rt-fix

Conversation

@estewart08

Copy link
Copy Markdown
Contributor

The clang runtime asan library has a different name and is in a new directory when LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=On.

OFF: lib/clang/<clang-ver>/lib/linux/libclang_rt.asan-x86_64.so
ON: lib/clang/<clang-ver>/lib/x86_64-unknown-linux-gnu/libclang_rt.asan.so

This will query clang to get the llvm target triple so both locations are searched.

ISSUE ID: 6801 (TheRock)

Motivation

Prep work for when TheRock enables -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=On.

The clang runtime asan library has a different name and is in a new
directory when LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=On.

OFF: lib/clang/<clang-ver>/lib/linux/libclang_rt.asan-x86_64.so
ON:  lib/clang/<clang-ver>/lib/x86_64-unknown-linux-gnu/libclang_rt.asan.so

This will query clang to get the llvm target triple so both locations are searched.

ISSUE ID: 6801 (TheRock)
@estewart08
estewart08 requested a review from a team as a code owner August 5, 2026 21:42
@therock-pr-bot

therock-pr-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown

✅ All Policy Checks Passed

Check Status Details
📝 PR Description ✅ Pass
Forbidden Files ✅ Pass
🧪 Unit Test ✅ Pass PR does not contain code files — Unit Test auto-passed
🚫 Draft PR 🔜 To Be Enabled
🚩 Feature Flag 🔜 To Be Enabled
📊 Code Coverage 🔜 To Be Enabled

🎉 All policy checks passed!

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

🙋 Wish to Override Policy?

@estewart08

Copy link
Copy Markdown
Contributor Author

Similar fix going in for hipblaslt: ROCm/rocm-libraries#10347

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant