[PATCH] D101926: [amdgpu-arch] Fix rpath to run from build dir
Jon Chesterfield via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 6 05:07:15 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb24e9f82b71f: [amdgpu-arch] Fix rpath to run from build dir (authored by JonChesterfield).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101926/new/
https://reviews.llvm.org/D101926
Files:
clang/tools/amdgpu-arch/CMakeLists.txt
Index: clang/tools/amdgpu-arch/CMakeLists.txt
===================================================================
--- clang/tools/amdgpu-arch/CMakeLists.txt
+++ clang/tools/amdgpu-arch/CMakeLists.txt
@@ -14,4 +14,6 @@
add_clang_tool(amdgpu-arch AMDGPUArch.cpp)
+set_target_properties(amdgpu-arch PROPERTIES INSTALL_RPATH_USE_LINK_PATH ON)
+
clang_target_link_libraries(amdgpu-arch PRIVATE hsa-runtime64::hsa-runtime64)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101926.343365.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210506/3dcae1c9/attachment.bin>
More information about the cfe-commits
mailing list