[Openmp-commits] [PATCH] D107156: [libomptarget][amdcgn] Add build dependency for opt
Joachim Protze via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 30 06:33:57 PDT 2021
protze.joachim created this revision.
protze.joachim added reviewers: JonChesterfield, tianshilei1992.
protze.joachim added a project: OpenMP.
Herald added subscribers: mgorny, jvesely.
protze.joachim requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
This change fixes the build error I observe when building LLVM from scratch.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D107156
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})
+ DEPENDS ${bc_files} opt)
add_custom_target(lib${libname}-${mcpu} ALL DEPENDS ${bc_libname})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107156.363058.patch
Type: text/x-patch
Size: 539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210730/2ed7526c/attachment.bin>
More information about the Openmp-commits
mailing list