[Openmp-dev] libomptarget depending on llvm libraries. Objections?

Jon Chesterfield via Openmp-dev openmp-dev at lists.llvm.org
Wed Apr 7 08:07:16 PDT 2021

I'd like libomptarget to statically link llvm libraries, notably
libllvmobject and dependencies.

Currently motivated by D99553 which would be far easier if it always used
llvm's ELF implementation. There's also some profiling in place that uses
llvm that it would be good to build it in by default. Finally, I miss ADT.
Medium term we're interested in putting a jit in the openmp runtime

libomptarget ships as a shared library. It'll make distribution harder if
we dynamically link llvm libraries into it hence suggesting static.

Previously there was a licensing blocker to doing this. I believe that is
no longer the case. We already depend on llvm header files.

Please speak up if you are opposed to this new dependency edge.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20210407/02e0a4c9/attachment.html>

More information about the Openmp-dev mailing list