git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Reducing git size by building libgit.so
@ 2019-06-11 19:52 Elmar Pruesse
  2019-06-11 23:48 ` brian m. carlson
  2019-06-12  9:41 ` Ævar Arnfjörð Bjarmason
  0 siblings, 2 replies; 12+ messages in thread
From: Elmar Pruesse @ 2019-06-11 19:52 UTC (permalink / raw)
  To: git@vger.kernel.org

Hi!

The total compiled size of libexec/git-core is currently somewhere 
around 30 MB. This is largely due to a number of binaries linking 
statically against libgit.a. For some folks, every byte counts. I 
meddled with the Makefile briefly to make it build and use a libgit.so 
instead, which dropped package size down to 5MB.

Are there, beyond the ~20 ms in extra startup time and the slightly 
bigger hassle with DSO locations, reasons for the choice to link statically?

best,

Elmar


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-06-13 19:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-11 19:52 Reducing git size by building libgit.so Elmar Pruesse
2019-06-11 23:48 ` brian m. carlson
2019-06-12  9:29   ` Duy Nguyen
2019-06-12 13:57   ` Paul Smith
2019-06-12 23:31     ` brian m. carlson
2019-06-13 19:19       ` Johannes Sixt
2019-06-13  7:51     ` Johannes Schindelin
2019-06-13 17:28       ` Paul Smith
2019-06-13 18:23         ` Junio C Hamano
2019-06-12  9:41 ` Ævar Arnfjörð Bjarmason
2019-06-12  9:46   ` Duy Nguyen
2019-06-12 10:25   ` SZEDER Gábor

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).