[Openmp-commits] [PATCH] D108534: [OpenMP][Docs] add clang to LLVM_ENABLE_PROJECTS in build instructions

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Aug 24 00:33:34 PDT 2021


JonChesterfield added a comment.

In D108534#2961579 <https://reviews.llvm.org/D108534#2961579>, @bondhugula wrote:

> Seeing the discussion here, it looks like the official instructions to build LLVM openmp in-tree (at openmp.llvm.)org won't work for anyone? And it wasn't something in my cmake conf or setup.

I'd guess cmake failing to find pthread is local to your system.

Target offloading can't build with GCC. It will build with any recent clang but the result won't necessarily work for offloading unless the library is from the same checkout as clang.

The offload libs should default to build under enable_runtimes (as they'll work) and to not build under enable_projects. That needs a fix to the cmake to detect which is happening.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108534



More information about the Openmp-commits mailing list