[Openmp-commits] [openmp] 2e0cb61 - [OpenMP] Fix linker error when building info tool
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Fri Apr 8 07:52:29 PDT 2022
Author: Joseph Huber
Date: 2022-04-08T10:50:31-04:00
New Revision: 2e0cb61570eceff04a18fbcbeb0014ece2b56438
URL: https://github.com/llvm/llvm-project/commit/2e0cb61570eceff04a18fbcbeb0014ece2b56438
DIFF: https://github.com/llvm/llvm-project/commit/2e0cb61570eceff04a18fbcbeb0014ece2b56438.diff
LOG: [OpenMP] Fix linker error when building info tool
Summary:
The changes made in D123177 added new targets to the
`LIBOMPTARGET_TESTED_PLUGINS` variable which was linked against when
building the `llvm-omp-target-info` tool. This caused linker errors on
the export scripts. This patch removes that dependency, it still builds
and runs as expected so I will assume it's correct.
Added:
Modified:
openmp/libomptarget/tools/deviceinfo/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libomptarget/tools/deviceinfo/CMakeLists.txt b/openmp/libomptarget/tools/deviceinfo/CMakeLists.txt
index 4073ad9fe4293..8f7e95aebd34e 100644
--- a/openmp/libomptarget/tools/deviceinfo/CMakeLists.txt
+++ b/openmp/libomptarget/tools/deviceinfo/CMakeLists.txt
@@ -19,5 +19,4 @@ llvm_update_compile_flags(llvm-omp-device-info)
target_link_libraries(llvm-omp-device-info PRIVATE
omp
omptarget
- ${LIBOMPTARGET_TESTED_PLUGINS}
)
More information about the Openmp-commits
mailing list