[Mesa-dev] [PATCH 05/11] gallium/auxiliary: Build libgallium shared.

Johannes Obermayr johannesobermayr at gmx.de
Sat Jan 12 02:34:04 PST 2013


Am Samstag, 12. Januar 2013, 13:34:34 schrieb Chia-I Wu:
> On Sat, Jan 12, 2013 at 10:23 AM, Johannes Obermayr
> <johannesobermayr at gmx.de> wrote:
> > diff --git a/src/gallium/auxiliary/Makefile.am b/src/gallium/auxiliary/Makefile.am
> > index a4eee47..21b3c6b 100644
> > --- a/src/gallium/auxiliary/Makefile.am
> > +++ b/src/gallium/auxiliary/Makefile.am
> > @@ -3,13 +3,17 @@ AUTOMAKE_OPTIONS = subdir-objects
> >  include Makefile.sources
> >  include $(top_srcdir)/src/gallium/Automake.inc
> >
> > -noinst_LTLIBRARIES = libgallium.la
> > +lib_LTLIBRARIES = libgallium at VERSION@.la
> I probably missed the discussion.  I suppose libgallium is meant to be
> internal.  What motivates the change?
> 

1. It is easiest fix for a runtime fix if you build r600 and radeonsi together.

2. All internal libraries will be shared in future and installed to $(libdir)/mesa-$(VERSION) to make packages on distributions much much much smaller .
You can follow the way to it here:
https://github.com/jobermayr/mesa/commits/master
(e. g. a "full" build will be ~ 15 - 20 MiB libraries + ~ 100 - 140 MiB debuginfo +? MiB documentation)

3. Maybe some more (main) developers should be also available and follow discussions on #dri-devel.


More information about the mesa-dev mailing list