[Asterisk-code-review] Build System: Disable parallel make in the root Makefile. (asterisk[13])

Joshua Colp asteriskteam at digium.com
Mon Nov 13 07:20:47 CST 2017


Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/7161 )

Change subject: Build System: Disable parallel make in the root Makefile.
......................................................................

Build System: Disable parallel make in the root Makefile.

This ensures that the root Makefile runs only a single target at a time.
SUBMAKE will still honor requested parallelism, so 'make -j8' will build
one directory at a time but allow 8 jobs at once when building a sub
directory.

This will fix some display glitches related to rebuild of XML
documentation.  It will also prevent some edge case errors where
bundled pjproject needs to be rebuild before other parts of Asterisk.

Change-Id: I4f2ec6fbbec1ada0ccb1109a28ea303524239b1e
---
M Makefile
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Richard Mudgett: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved; Approved for Submit



diff --git a/Makefile b/Makefile
index 659ffed..5dcbf0e 100644
--- a/Makefile
+++ b/Makefile
@@ -1112,3 +1112,6 @@
 
 FORCE:
 
+# This only stops targets within the root Makefile from building in parallel.
+.NOTPARALLEL:
+

-- 
To view, visit https://gerrit.asterisk.org/7161
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: I4f2ec6fbbec1ada0ccb1109a28ea303524239b1e
Gerrit-Change-Number: 7161
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171113/9bd11f10/attachment.html>


More information about the asterisk-code-review mailing list