After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 598700 - scripts: Parallelise git-update.sh build script
scripts: Parallelise git-update.sh build script
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: 0.10.26
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-16 16:05 UTC by Robert Swain
Modified: 2010-02-09 09:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Parallelise building of non-core modules (2.64 KB, patch)
2009-10-16 16:06 UTC, Robert Swain
needs-work Details | Review
Parallelise building of non-core modules (3.20 KB, patch)
2010-01-18 09:53 UTC, Robert Swain
accepted-commit_after_freeze Details | Review

Description Robert Swain 2009-10-16 16:05:37 UTC
Change the git-update.sh build script to build the core and -base sequentially and all other modules in parallel.
Comment 1 Robert Swain 2009-10-16 16:06:14 UTC
Created attachment 145620 [details] [review]
Parallelise building of non-core modules
Comment 2 Sebastian Dröge (slomo) 2009-10-22 09:08:00 UTC
Looks good in general, three things I noticed though:
- The >> failure.log part after git submodule update and the stash applying only talks about "updating", not what exactly was done
- Instead of failure.log better create a randomized temporary file ala mkstmp()
- If core/base fail to build you don't want to try to build any of the depending modules but stop

Also an option to parallelize it or not would be nice and a way to save complete build logs per module somewhere. With the parallel build it's almost impossible to do something useful with the terminal output because it's all interleaved :)
Comment 3 Robert Swain 2010-01-18 09:53:50 UTC
Created attachment 151656 [details] [review]
Parallelise building of non-core modules

OK, how about this?
Comment 4 Sebastian Dröge (slomo) 2010-02-08 07:53:02 UTC
Comment on attachment 151656 [details] [review]
Parallelise building of non-core modules

Looks good, please commit after freeze :)
Comment 5 Tim-Philipp Müller 2010-02-08 13:10:48 UTC
There's no need to wait until after the freeze to commit this, I think :)

It doesn't really affect the build or code, and I probably won't update common before the release anyway.
Comment 6 Robert Swain 2010-02-08 14:01:32 UTC
I did add 'Closes bug #598700' and changed the commit log message to 'Parallelise building of non-core modules' but unfortunately I did it on the commit in my branch rather than in the merged commit in master. :/

commit 795495519a223d350d6ac55c445b37b488af3268
Author: Robert Swain <robert.swain@collabora.co.uk>
Date:   Thu Jan 28 07:27:49 2010 +0100

    git-update.sh: Fix issues