On Tue, Oct 23, 2018 at 02:56:52PM -0600, Jason Gunthorpe wrote: > From: Jason Gunthorpe <jgg@xxxxxxxxxxxx> > > Restore static library support. Before rdma-core we did produce some > simplistic static libraries, and this was lost when things became more > complicated. > > This version is a complete solution and provides a simple way for applications > to use the static libraries, including static providers, without having to > resort to strange linker options. > > The man page libibverbs/man/ibv_get_device_list.3.md explains how the new > linking mechanism works, and the buildlib/sanitize_static_lib.py is an > exploration in why this is so hard. > > Jason Gunthorpe (9): > verbs: Move all dynamic driver opening code to dynamic_driver.c > verbs: Do not include dynamic loading in static libraries > Generate complete and sanitized static libraries > pkg-config: If static libraries are enabled add Requires.private > Add a travis test for static libraries > verbs: Expose the struct verbs_device_ops for each provider to the > linker > verbs: Add RDMA_STATIC_PROVIDERS > debian: Include static libraries in the build > rpm: Include static libraries in the build Merged Jason