Clang defaults to failing to build if it can't find rocm device libs
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This should be present in _get_common_compile_options and always passed in. Which scenario is it not present?
Comment Actions
LG after addressing comments.
Never caught this because if you can build the tests you presumably had HSA. But we definitely don't want vendor libraries for these builds, thanks.
libc/cmake/modules/LLVMLibCObjectRules.cmake | ||
---|---|---|
154 ↗ | (On Diff #533734) | Redundant. |
libc/cmake/modules/LLVMLibCTestRules.cmake | ||
578 | Add here as well for NVPTX. |
Comment Actions
This shows up if you've built / installed HSA but rocm device libs is refusing to build with trunk and you've chosen against trying to patch it up locally.
Add here as well for NVPTX.