[Openmp-commits] [PATCH] D107320: [libomptarget][amdcgn] Add build dependency for llvm-link

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Aug 2 17:33:09 PDT 2021


JonChesterfield created this revision.
JonChesterfield added reviewers: protze.joachim, tianshilei1992, jdoerfert.
Herald added subscribers: mgorny, jvesely.
JonChesterfield requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

Direct copy of D107156 <https://reviews.llvm.org/D107156> with llvm-link instead of opt


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107320

Files:
  openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt


Index: openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
===================================================================
--- openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
+++ openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
@@ -157,7 +157,7 @@
   add_custom_command(
     OUTPUT ${bc_libname}
     COMMAND ${LINK_TOOL} ${bc_files} | ${OPT_TOOL} --always-inline -o ${OUTPUTDIR}/${bc_libname}
-    DEPENDS ${bc_files} opt)
+    DEPENDS ${bc_files} llvm-link opt)
 
   add_custom_target(lib${libname}-${mcpu} ALL DEPENDS ${bc_libname})
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107320.363608.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210803/de891c30/attachment.bin>


More information about the Openmp-commits mailing list