Todd Lipcon has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/9472


Change subject: build: use thin static libraries on Linux
......................................................................

build: use thin static libraries on Linux

Thin static libraries just contain pointers to .o files rather than copying all
of the data. This reduces the amount of IO during the build as well as the 
required
disk space.

For example, comparing a clean build ('ninja clean kudu') before and after this
change, we can see that the build is about 40% faster and about 200x
less disk space in the lib/ directory.

Thick (original):
  real    0m24.784s
  user    0m58.643s
  sys     0m37.701s

  todd@ve0518:/data/1/todd/kudu$ du -sm build/release/lib/
  594     build/release/lib/

Thin:
  real    0m17.422s
  user    0m56.092s
  sys     0m34.131s
  todd@ve0518:/data/1/todd/kudu$ du -sm build/release/lib/
  3       build/release/lib/

Change-Id: If662cea380e06eaddf45e52617e38e55e4613773
---
M CMakeLists.txt
1 file changed, 10 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/72/9472/1
--
To view, visit http://gerrit.cloudera.org:8080/9472
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If662cea380e06eaddf45e52617e38e55e4613773
Gerrit-Change-Number: 9472
Gerrit-PatchSet: 1
Gerrit-Owner: Todd Lipcon <t...@apache.org>

Reply via email to