================
@@ -50,7 +50,10 @@ be passed down to downstream AOT compilation tools like 
'ocloc' and 'opencl-aot'
     -help-hidden                  Display all available options
     -help                         Display available options (--help-hidden for 
more)
     -L <dir>                      Add <dir> to the library search path
-    --bc-library <name>           Add LLVM bitcode library <name> (with 
extension) to the link. A relative <name> is resolved against -L paths; an 
absolute path is taken as-is.
+    -l <libname>                  Search for library <libname>
----------------
bader wrote:

This is a revamped version of the 
https://github.com/llvm/llvm-project/pull/201253 which separates 
`clang-sycl-linker` implementation from `clang-nvlink-wrapper`. In nutshell - I 
just moved the implementation from shared library to `clang-sycl-linker` tool. 
I removed a few features used only by `clang-nvlink-wrapper` (e.g. archives of 
ELF-wrapped LLVM bitcodes, ignoring non-existing input files).

I realized that there are differences tools behavior, which make code sharing a 
non-trivial work. https://github.com/llvm/llvm-project/pull/201253 caused some 
regressions in OpenMP testing on NVIDIA platform, which I'm unable to reproduce 
and investigate. To avoid this kind of problems, I decided to separate the 
implementation.

https://github.com/llvm/llvm-project/pull/202829
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to