JonChesterfield added a comment.

I think there's a bug report about this. Sycl (iirc) introduced a change that 
caught invalid things with types that were previously ignored. @jdoerfert is on 
point I think.

`-DLLVM_ENABLE_PROJECTS="clang;compiler-rt;libcxxabi;libcxx;libunwind;openmp" `
^ That works, if the compiler in question can build things like an nvptx 
devicertl, which essentially means if it's a (sometimes very) recent clang. A 
generally easier path is
`-DLLVM_ENABLE_RUNTIMES="openmp"`
as that will build clang first, then use that clang to build openmp.

Won't help in this particular instance - if I understand correctly, it's a 
misfire from using glibc headers on the nvptx subsystem - though that stdlib.h 
looks like it shipped as part of libc++.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94745

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to