[Openmp-commits] [openmp] 9f0321c - [Libomptarget] Make plugins depend explicitly on `intrinsics_gen`
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Sun Mar 24 13:24:42 PDT 2024
Author: Joseph Huber
Date: 2024-03-24T15:24:35-05:00
New Revision: 9f0321ccf118b37e5cb93cabd2acbf600c36b6ee
URL: https://github.com/llvm/llvm-project/commit/9f0321ccf118b37e5cb93cabd2acbf600c36b6ee
DIFF: https://github.com/llvm/llvm-project/commit/9f0321ccf118b37e5cb93cabd2acbf600c36b6ee.diff
LOG: [Libomptarget] Make plugins depend explicitly on `intrinsics_gen`
Summary:
It's possible for the OpenMP offloading plugins to be build before
tablegen is run despite the fact that we rely on it. Simply make it
depend on it currently.
Added:
Modified:
openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt b/openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt
index b84f3d7b137cae..a7350e662a7c9a 100644
--- a/openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt
+++ b/openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt
@@ -19,6 +19,7 @@ add_library(PluginCommon OBJECT
src/RPC.cpp
src/Utils/ELF.cpp
)
+add_dependencies(PluginCommon intrinsics_gen)
# Only enable JIT for those targets that LLVM can support.
string(TOUPPER "${LLVM_TARGETS_TO_BUILD}" TargetsSupported)
More information about the Openmp-commits
mailing list