[PATCH] D143768: [Clang] Add options to disable direct linking of arch tools
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 10 14:25:44 PST 2023
jhuber6 added a comment.
Like I said, the difference between these dependencies and something like `libxml2` or `libz` is that the presence of the libraries doesn't guard any features. We can build the application both ways, the only difference is runtime cost if we don't link the library directly and a more annoying development environment. For the `amdgpu-arch` and `nvptx-arch` it might be easier to just always `dlopen` them to avoid this conversation entirely. So I'm just not sure if it's worth the extra effort to configure something that's fundamentally optional.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143768/new/
https://reviews.llvm.org/D143768
More information about the cfe-commits
mailing list