[Bug 658556] New: RFC: non recursive build for plugin dirs

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 8 06:23:17 PDT 2011

  GStreamer | gst-plugins | unspecified

           Summary: RFC: non recursive build for plugin dirs
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ensonic at sonicpulse.de
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I changed gst-plugin-ugly/gst to build non-recursively. Below are some figures
(before and after). If we decide to go for it, we need to hack
AG_GST_CHECK_PLUGIN to built a list of lib<pluginname>.la in addition

- faster (especially "make install")
- less makefiles to manage
- easier to apply flags globally
- we can kill parallel-subdirs.mak, make -jn works naturally

- per directory makefiles are getting bigger, but still less than the sum of

cd gst

xtime make clean all
15.43u 1.98s 13.26r 230512kB make clean all
17.58u 2.17s 13.35r 230880kB make clean all
17.61u 2.10s 13.80r 230912kB make clean all

15.71u 1.95s 12.49r 230928kB make clean all
16.22u 1.99s 13.14r 230752kB make clean all
15.15u 1.96s 12.17r 230784kB make clean all

xtime sudo make install
1.14u 0.17s 0.94r 16912kB sudo make install
1.08u 0.10s 0.87r 16912kB sudo make install
0.96u 0.30s 0.92r 16912kB sudo make install

0.25u 0.06s 0.21r 16928kB sudo make install
0.30u 0.02s 0.24r 16928kB sudo make install
0.25u 0.11s 0.23r 16928kB sudo make install

make clean; xtime make -j2 all
13.76u 1.47s 6.90r 230784kB make -j2 all
13.27u 1.69s 6.68r 230736kB make -j2 all

12.48u 1.49s 6.30r 230944kB make -j2 all
12.49u 1.43s 6.25r 230912kB make -j2 all

make clean; xtime make -r -j2 all CFLAGS=-O0
9.04u 1.64s 4.47r 144688kB make -r -j2 all CFLAGS=-O0
9.34u 1.32s 4.39r 144832kB make -r -j2 all CFLAGS=-O0

8.68u 1.30s 4.14r 144720kB make -r -j2 all CFLAGS=-O0
8.67u 1.53s 4.23r 144720kB make -r -j2 all CFLAGS=-O0

Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the gstreamer-bugs mailing list