[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:39:07 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:

As I've noted in the commit message, `llvm_config()` doesn't support object libraries.

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


More information about the Openmp-commits mailing list