Optimize build process - Do not create object files archive library libdnf5_static.a
#2003
Labels
Priority: LOW
RFE
Request For Enhancement (as opposed to a bug)
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
The
libdnf5_static.a
object files archive is not packaged. It is only used in unit tests of the libdnf5 library. The use of the archive in libdnf5 unit tests is intentional. The tests call private methods that have hidden symbols not exported by the shared library.Currently in my development build
libdnf5_static.a
takes about 75MiB. In the case of compiling with disabled optimizations and with WITH_SANITIZERS it takes about 250MiB.Try to optimize the build process so that the libdnf5 unit tests still link statically, but do not need the intermediate step of creating a object files archive library
libdnf5_static.a
.The text was updated successfully, but these errors were encountered: