yaxunl added inline comments.

================
Comment at: clang/lib/Driver/ToolChains/AMDGPU.cpp:309
 
+  ROCmSearchDirs.emplace_back(D.SysRoot + "/usr/local",
+                              /*StrictChecking=*/true);
----------------
tra wrote:
> Should it be done for Debian/Fedora only? See 
> clang/include/clang/Driver/Distro.h for `IsDebian/IsRedhat()` helpers.
I think other Linux distributions may adopt it too, since /usr is the standard 
location.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135796/new/

https://reviews.llvm.org/D135796

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to