[Openmp-commits] [PATCH] D101509: An attempt to abandon omptarget out-of-tree builds.

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue May 11 00:05:10 PDT 2021


JonChesterfield added a comment.

There's no particular reason to expect GCC headers to work on amdgcn. The GCC backend for it is incompatible with the clang one.

That's part of why the library builds as ffreestanding. The idea is to encourage use of the headers that ship with clang, as they are aware of the architecture and others are unlikely to be.

Setting CPLUS_INCLUDE_PATH appears to be overriding that, forcing clang to build with headers that don't work. Could you not do that?

I'm probably open to removing stdint et al as a dependency, but would like to understand your use case before writing the boilerplate involved.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101509



More information about the Openmp-commits mailing list