[llvm] [offload] Standalone build fixes (PR #118173)

Michał Górny via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 30 09:17:03 PST 2024


================
@@ -7,7 +7,10 @@ add_library(PluginCommon OBJECT
   src/RPC.cpp
   src/Utils/ELF.cpp
 )
-add_dependencies(PluginCommon intrinsics_gen LLVMProfileData)
+add_dependencies(PluginCommon intrinsics_gen)
+if (TARGET LLVMProfileData)
+  add_dependencies(PluginCommon LLVMProfileData)
+endif()
----------------
mgorny wrote:

You mean into `supported_jit_targets`?

https://github.com/llvm/llvm-project/pull/118173


More information about the llvm-commits mailing list