[PATCH] D72806: [HIP] fix paths for executables not in clang bin directory

Holger Wünsche via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 16 15:24:40 PST 2020


DieGoldeneEnte updated this revision to Diff 238645.
DieGoldeneEnte added a comment.

The build doesn't fail anymore if lld is not present, also one can set LLD_BINARY_DIR manually. I also exchanged TOOLS_BINARY_DIR with LLVM_TOOLS_BINARY_DIR, since it is better readable and if compiled with llvm this is necessary to populate the variable (although the path is already present in that case, because clang and all the other utils should be in the same directory.

Tests still work as before.


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

https://reviews.llvm.org/D72806

Files:
  clang/CMakeLists.txt
  clang/lib/Driver/ToolChains/HIP.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72806.238645.patch
Type: text/x-patch
Size: 4293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200116/7e538662/attachment.bin>


More information about the cfe-commits mailing list