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

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Sat Nov 30 07:45:44 PST 2024


=?utf-8?q?Michał_Górny?= <mgorny at gentoo.org>,
=?utf-8?q?Michał_Górny?= <mgorny at gentoo.org>,
=?utf-8?q?Michał_Górny?= <mgorny at gentoo.org>,
=?utf-8?q?Michał_Górny?= <mgorny at gentoo.org>,
=?utf-8?q?Michał_Górny?= <mgorny at gentoo.org>,
=?utf-8?q?Michał_Górny?= <mgorny at gentoo.org>,
=?utf-8?q?Michał_Górny?= <mgorny at gentoo.org>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/118173 at github.com>


================
@@ -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
----------------
jhuber6 wrote:

I'm pretty sure that making this static will break something, but I can't remember what it is exactly. The LLVM configs here should probably be done when we make the plugin static library, `add_target_library`.

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


More information about the Openmp-commits mailing list