tra added a comment.

In D149978#4323210 <https://reviews.llvm.org/D149978#4323210>, @jhuber6 wrote:

> Somewhat annoying, I've discovered that LLVM adds `-Wl,-fcolor-diagnostics` 
> which obviously isn't supported by `nvlink` so it fails while including this 
> in `libc`'s CMake. Any clue if there's a way to work around that?

I guess the options are to either filter out the automatically added option or 
to avoid adding that particular argument if we know that the target is NVPTX. 
The latter would probably be preferable as there would be only one place where 
the decision is made.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149978

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

Reply via email to