[Openmp-commits] [PATCH] D104549: [NFC][libomptarget] Remove redundant libelf dependency for elf_common.
Vyacheslav Zakharin via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jun 18 09:48:14 PDT 2021
vzakhari created this revision.
vzakhari added a reviewer: JonChesterfield.
Herald added a subscriber: mgorny.
vzakhari requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.
This dependency is not needed now.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104549
Files:
openmp/libomptarget/plugins/common/elf_common/CMakeLists.txt
Index: openmp/libomptarget/plugins/common/elf_common/CMakeLists.txt
===================================================================
--- openmp/libomptarget/plugins/common/elf_common/CMakeLists.txt
+++ openmp/libomptarget/plugins/common/elf_common/CMakeLists.txt
@@ -16,7 +16,7 @@
set_property(TARGET elf_common PROPERTY POSITION_INDEPENDENT_CODE ON)
llvm_update_compile_flags(elf_common)
set(LINK_LLVM_LIBS LLVMBinaryFormat LLVMObject LLVMSupport)
-target_link_libraries(elf_common INTERFACE ${LINK_LLVM_LIBS} ${LIBOMPTARGET_DEP_LIBELF_LIBRARIES})
+target_link_libraries(elf_common INTERFACE ${LINK_LLVM_LIBS})
include_directories(${LIBOMPTARGET_LLVM_INCLUDE_DIRS})
add_dependencies(elf_common ${LINK_LLVM_LIBS})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104549.353036.patch
Type: text/x-patch
Size: 724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210618/e879979f/attachment.bin>
More information about the Openmp-commits
mailing list