[clang] [clang-sycl-linker] Add static archive (.a) support (PR #202829)
Alexey Bader via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 11 08:28:39 PDT 2026
================
@@ -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:
>From my POV, trying to avoid duplication doesn't worth it.
The testing results show that LIT tests do not cover `clang-nvlink-wrapper` functionality enough to avoid failures in post-commit testing. The de-duplicated code will be a mine field with high chances to blow something on NVIDIA targets.
https://github.com/llvm/llvm-project/pull/202829
More information about the cfe-commits
mailing list