From 339d810a0fcc19638c8b52dd0e531b6f2ee7db9c Mon Sep 17 00:00:00 2001 From: Kevin Sala Date: Sat, 31 Dec 2022 21:07:56 +0100 Subject: [PATCH] [OpenMP][libomptarget] Add TargetParser as dependency in NextGen's JIT This patch fixes an undefined reference to llvm::Triple::Triple(llvm::Twine const&). Differential Revision: https://reviews.llvm.org/D140810 --- .../plugins-nextgen/common/PluginInterface/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt index 8c9bbe38074d5..91d64f4298236 100644 --- a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt +++ b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt @@ -49,6 +49,7 @@ else() ScalarOpts Support Target + TargetParser TransformUtils Vectorize )