[PATCH] D125092: [OpenMP] Add basic support for properly handling static libraries

Saiyedul Islam via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 6 09:42:35 PDT 2022


saiislam added a comment.

> Ideally we could just put this on the linker itself, but nvlink doesn't seem to support .a files.

Yes, nvlink does not support archives. So we used a wrapper to extract cubin files from the archive and pass them to nvlink. Please see, Clang Nvlink Wrapper <https://clang.llvm.org/docs/ClangNvlinkWrapper.html>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125092



More information about the cfe-commits mailing list