[Openmp-commits] [PATCH] D92143: [libomptarget][cuda] Detect missing symbols in plugin at build time
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Nov 27 07:40:05 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG89a0f48c58f8: [libomptarget][cuda] Detect missing symbols in plugin at build time (authored by JonChesterfield).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92143/new/
https://reviews.llvm.org/D92143
Files:
openmp/libomptarget/plugins/cuda/CMakeLists.txt
Index: openmp/libomptarget/plugins/cuda/CMakeLists.txt
===================================================================
--- openmp/libomptarget/plugins/cuda/CMakeLists.txt
+++ openmp/libomptarget/plugins/cuda/CMakeLists.txt
@@ -39,7 +39,8 @@
target_link_libraries(omptarget.rtl.cuda
${LIBOMPTARGET_DEP_CUDA_DRIVER_LIBRARIES}
${LIBOMPTARGET_DEP_LIBELF_LIBRARIES}
- "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../exports")
+ "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../exports"
+ "-Wl,-z,defs")
# Report to the parent scope that we are building a plugin for CUDA.
set(LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS} nvptx64-nvidia-cuda" PARENT_SCOPE)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92143.308056.patch
Type: text/x-patch
Size: 693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20201127/4c1b77dc/attachment.bin>
More information about the Openmp-commits
mailing list