reiner peterke via llvm-dev
2019-Jan-10 07:58 UTC
[llvm-dev] building llvm 7.0 for postgres 11
Hi I hope this is the right place to post this. I am trying to build llvm-7.0 for use with postgres-11 jit compilation. My issues is the size of llvm. when i build it takes 30gb. bin/ is 17gb and lib/ is 12gb. this seems quite large and as i'm trying to work with this in docker containers the size is make my them a bit unwieldy. Is there a way to compile llvm to have a smaller footprint? right now all i do is run make, then make. am i new to llvm so any help would be appreciated. thanks reiner sent by smoke signals at great danger to my self.
Philip Pfaffe via llvm-dev
2019-Jan-10 18:01 UTC
[llvm-dev] building llvm 7.0 for postgres 11
Hi Reiner, building Release mode significantly reduces the binary size. Cheers, Philip On Thu, Jan 10, 2019 at 6:58 PM reiner peterke via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi > I hope this is the right place to post this. > I am trying to build llvm-7.0 for use with postgres-11 jit compilation. > > My issues is the size of llvm. when i build it takes 30gb. bin/ is 17gb > and lib/ is 12gb. > this seems quite large and as i'm trying to work with this in docker > containers the size is make my them a bit unwieldy. > > Is there a way to compile llvm to have a smaller footprint? > > right now all i do is run make, then make. > am i new to llvm so any help would be appreciated. > > thanks > > reiner > > sent by smoke signals at great danger to my self. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190110/c8a3b5ec/attachment-0001.html>