[Openmp-dev] libomptarget depending on llvm libraries. Objections?
Roman Lebedev via Openmp-dev
openmp-dev at lists.llvm.org
Wed Apr 7 08:09:55 PDT 2021
On Wed, Apr 7, 2021 at 6:07 PM Jon Chesterfield via Openmp-dev
<openmp-dev at lists.llvm.org> wrote:
> I'd like libomptarget to statically link llvm libraries, notably libllvmobject and dependencies.
Why do you need to *statically* link to those libraries?
> 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 libraries.
> 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.
> Openmp-dev mailing list
> Openmp-dev at lists.llvm.org
More information about the Openmp-dev