[Mesa-dev] [PATCH v3] mesa: Optionally build a dricore support library (v3)

Eric Anholt eric at anholt.net
Fri Feb 11 18:44:37 PST 2011


On Thu,  3 Feb 2011 11:19:32 +1100, Christopher James Halse Rogers <christopher.halse.rogers at canonical.com> wrote:
> This an adds --enable-shared-dricore option to configure.  When enabled,
> DRI modules will link against a shared copy of the common mesa routines
> rather than statically linking these.
> 
> This saves about 30MB on disc with a full complement of classic DRI
> drivers.
> 
> v2: Only enable with a gcc-compatible compiler that handles rpath
>     Handle DRI_CFLAGS without filter-out magic
>     Build shared libraries with the full mklib voodoo
>     Fix typos
> v3: Resolve conflicts with talloc removal patches

Didn't see any further complaints, so I pushed it.

This saves 30MB on disc (just 4.4% of the working tree size) for my
compile of swrast,i915,i965, but as a result reduced my build time for
"touch src/mesa/main/context.c; make" by 13.8% +/- 3.8% (n=5).  I don't
even care about distros, I want shorter build times for myself :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110211/79e08e05/attachment.pgp>


More information about the mesa-dev mailing list