mikaoP wrote:

Maybe I'm not getting what you say. I see that when you use 
`-fopenmp-targets=x86-64-unknown-linux-gnu` then no gcc command is issued. In 
any case, a clang command is run with `-rpath <path>` or `-Wl,-rpath,<path>`. 
The last is what this patch does only for CPU offloading. I guess that does not 
affect with nvlink, since this is npvtx offloading, right?

In the end, clang will understand both rpath formats, but the flag is forwarded 
to gcc, which only understand the `-Wl` one.

https://github.com/llvm/llvm-project/pull/95763
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to