Module: check_mk
Branch: master
Commit: b9e4ed8b6f037a436191170f0b51273b61698250
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b9e4ed8b6f037a…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Feb 15 14:27:13 2017 +0100
Lower build parallelism, it hurts more than it helps.
Change-Id: Ia655d4f5e72327f56e4889e5505a624125a46eef
---
Makefile | 8 ++++----
livestatus/.f12 | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index a855a86..ce33481 100644
--- a/Makefile
+++ b/Makefile
@@ -257,8 +257,8 @@ cmc-$(VERSION).tar.gz: config.h enterprise/.werks/werks
enterprise/ChangeLog
rm -rf cmc-$(VERSION)
build: config.h
- LANG=C $(MAKE) -C livestatus -j8
- LANG=C $(MAKE) -C enterprise/core -j8
+ LANG=C $(MAKE) -C livestatus -j2
+ LANG=C $(MAKE) -C enterprise/core -j2
$(MAKE) -C enterprise/locale all
install:
@@ -450,10 +450,10 @@ GTAGS: config.h
compile_commands.json: config.h $(FILES_TO_FORMAT)
$(MAKE) -C livestatus clean
- $(BEAR) $(MAKE) -C livestatus -j8
+ $(BEAR) $(MAKE) -C livestatus -j4
ifeq ($(ENTERPRISE),yes)
$(MAKE) -C enterprise/core clean
- $(BEAR) --append $(MAKE) -C enterprise/core -j8
+ $(BEAR) --append $(MAKE) -C enterprise/core -j4
endif
tidy: compile_commands.json
diff --git a/livestatus/.f12 b/livestatus/.f12
index eb395b2..577eb6d 100755
--- a/livestatus/.f12
+++ b/livestatus/.f12
@@ -5,7 +5,7 @@ SITE=${SITE:-$(cat ../.site 2>/dev/null || true)}
SITE=${SITE:-$(omd sites --bare | head -n 1)}
LANG=C make -C .. config.h
-LANG=C make -j8
+LANG=C make -j4
sudo install src/livestatus.o /omd/sites/$SITE/lib/mk-livestatus/livestatus.o
(cd api/python ; bash .f12 )