Currently we simply overwrite the output file if we get muliple matches
in the fatbinary. This patch introduces the --archive option which
allows us to combine all of the files into a static archive instead.
This is usefuly for creating a device specific static archive library
from a fatbinary.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM. As a meta level comment, we have far too many of these binary munging sorts of tools.
Comment Actions
Definitely agree. This is supposed to be a direct repalcement for clang-offload-bundler, but that is still in use by HIP and I don't know if it's something we could remove in a reasonable amount of time.