When distributing LLVM libraries as static archive, it's useful in
some cases to distribute a single combined archive rather than a
set of libraries, since users of this archive don't need to know
the dependencies between individual LLVM libraries.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I'm wondering how LLVM_BUILD_LLVM_ARCHIVE interacts with LLVM_DISTRIBUTION_COMPONENTS? More specifically, can we only include a portion of LLVM libraries in libLLVM.a?
Comment Actions
llvm-archive would be in LLVM_DISTRIBUTION_COMPONENTS, we would need a separate option to select which archives are merged into libLLVM.a.
Comment Actions
We could make LLVM_BUILD_LLVM_ARCHIVE either a boolean, in which case it includes everything, or a list of libraries to include, that should be a simple change.
Comment Actions
I have this uncommitted change: D95727 which updates libLLVM.so to use object libraries, would you be able to also use object libraries to avoid adding this python script?