[Openmp-commits] [llvm] [openmp] [offload] Standalone build fixes (PR #118173)

Michał Górny via Openmp-commits openmp-commits at lists.llvm.org
Sat Nov 30 07:58:04 PST 2024


================
@@ -1,13 +1,16 @@
 # NOTE: Don't try to build `PluginInterface` using `add_llvm_library` because we
 # don't want to export `PluginInterface` while `add_llvm_library` requires that.
-add_library(PluginCommon OBJECT
+add_library(PluginCommon STATIC
----------------
mgorny wrote:

Well, all tests passed for me with this change — but I can alternatively change `llvm_config` to use `PRIVATE` linking for object libraries, but I don't know if that isn't going to break something else.

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


More information about the Openmp-commits mailing list