[PATCH] osmo-ttcn3-hacks[master]: Makefile: use -j8, allow manual PARALLEL_MAKE val

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Mar 1 23:34:36 UTC 2018


Review at  https://gerrit.osmocom.org/7044

Makefile: use -j8, allow manual PARALLEL_MAKE val

Set default -j to 8: even on a machine with less cores, using -j8 isn't really
going to slow down the build. On a machine with eight cores, -j8 is going to
speed up significantly.

By using '?=', allow passing a different -jN as PARALLEL_MAKE from the
enviroment.

Change-Id: Idf6a5505742b30d3cb8b80ae98b4e2ad4a4a38e7
---
M Makefile
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/44/7044/1

diff --git a/Makefile b/Makefile
index 3b5995a..8cdbbec 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 SUBDIRS=bsc bsc-nat bts ggsn_tests gprs_gb hlr lapdm mgw msc selftest sgsn sysinfo
 
-PARALLEL_MAKE:=-j4
+PARALLEL_MAKE ?= -j8
 
 # This master makefile allows you to do things like
 # 	make clean	(remove all generated binary, c++ and symlinks)

-- 
To view, visit https://gerrit.osmocom.org/7044
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf6a5505742b30d3cb8b80ae98b4e2ad4a4a38e7
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list