[Mesa-dev] [PATCH] configure: Add --with-llvm-shared-libs

Michel Dänzer michel at daenzer.net
Thu Mar 29 00:29:35 PDT 2012


On Don, 2012-03-29 at 00:07 -0700, Jose Fonseca wrote:
> 
> Also note that this will saves disk at the expense of runtime memory
> -- as the shared LLVM library will contain the _whole_ LLVM, and not
> just the components targets needed, and given that there is usually
> only xxx_dri.so module on a system at a time, that means a net
> increase. libLLMVM-3.0 is 22MB on my system, which means 22MB - 13MB =
> +9MB of increased memory usage. Linux kernel may page out some
> portions to disk though.

Or never page in the unused parts in the first place. :)

And as soon as a second *_dri.so comes into play (e.g. swrast_dri.so for
testing something with software rendering), it's a win either way.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list