[Openmp-commits] [PATCH] D129875: [Libomptarget] Make libomptarget an LLVM library

Kazushi Marukawa via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Aug 6 18:44:11 PDT 2022


kaz7 added a comment.

In D129875#3704145 <https://reviews.llvm.org/D129875#3704145>, @jhuber6 wrote:

> Libomptarget now depends on the LLVM libraries , so whatever dependencies LLVM has libomptarget needs to have as well. Is it possible for you to build with `-DLLVM_ENABLE_TERMINFO=OFF -DLLVM_ENABLE_ZLIB=OFF`? I'd assume that would stop LLVM from looking for it and prevent `libomptarget` from picking it up either.

Yes.  Adding those options to not only libomptarget but also whole llvm solves this problem.  Thank you.

But, do you really want to make libomptarget depends on LLVM libraries including terminfo and zlib although libomptarget is running on accelarators?  Isn't it possible to separate LLVM libraries for hosts and for targets somehow?  Just a thought.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129875/new/

https://reviews.llvm.org/D129875



More information about the Openmp-commits mailing list