Skip to content

Commit 9f0321c

Browse files
committed
[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.
1 parent 488a187 commit 9f0321c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ add_library(PluginCommon OBJECT
1919
src/RPC.cpp
2020
src/Utils/ELF.cpp
2121
)
22+
add_dependencies(PluginCommon intrinsics_gen)
2223

2324
# Only enable JIT for those targets that LLVM can support.
2425
string(TOUPPER "${LLVM_TARGETS_TO_BUILD}" TargetsSupported)

0 commit comments

Comments
 (0)