From 2e0cb61570eceff04a18fbcbeb0014ece2b56438 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Fri, 8 Apr 2022 10:50:31 -0400 Subject: [PATCH] [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. --- openmp/libomptarget/tools/deviceinfo/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/openmp/libomptarget/tools/deviceinfo/CMakeLists.txt b/openmp/libomptarget/tools/deviceinfo/CMakeLists.txt index 4073ad9fe429..8f7e95aebd34 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} )