[geany/geany] ccfe8f: waf: Disable build/install phase interleaving

Jiří Techet git-noreply at xxxxx
Sun Apr 12 18:57:17 UTC 2015


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Sun, 12 Apr 2015 18:57:17 UTC
Commit:      ccfe8f23c154327ef2f033933f4f6e6a34cb67bf
             https://github.com/geany/geany/commit/ccfe8f23c154327ef2f033933f4f6e6a34cb67bf

Log Message:
-----------
waf: Disable build/install phase interleaving

When doing "./waf install" and some source files are modified
so they need to be rebuilt, the build and install phase can be
interleaved so one thread is still performing build while other
thread is already performing install tasks.

This appears to be a problem (at least on OS X) when some of
the Geany plugins are still being built and libgeany is already
being installed in parallel.

Create a separate group for the install phase to eliminate the
problem.


Modified Paths:
--------------
    wscript

Modified: wscript
3 lines changed, 3 insertions(+), 0 deletions(-)
===================================================================
@@ -599,6 +599,9 @@ def build(bld):
                                'top_builddir': bld.out_dir,
                                'top_srcdir': bld.top_dir,})
 
+    # disable build/install phase interleaving
+    bld.add_group()
+
     ###
     # Install files
     ###



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list