[PATCH] D135796: [HIP] Detect HIP for Debian/Fedora
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 12 10:56:40 PDT 2022
tra added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/AMDGPU.cpp:309
+ ROCmSearchDirs.emplace_back(D.SysRoot + "/usr/local",
+ /*StrictChecking=*/true);
----------------
Should it be done for Debian/Fedora only? See clang/include/clang/Driver/Distro.h for `IsDebian/IsRedhat()` helpers.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135796/new/
https://reviews.llvm.org/D135796
More information about the cfe-commits
mailing list