aboutsummaryrefslogtreecommitdiffstats
path: root/core/core.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-09-02 18:02:44 +0200
committerLoïc Hoguin <[email protected]>2015-09-02 18:02:44 +0200
commit1c2fa00f0639ec96f4a30be679bad4ac970bfe9f (patch)
tree8d0642db21497279bff7df6ec84aafb3a3d101cb /core/core.mk
parenta0563a428a2eb2d842dada83437b971ccc8b9fb5 (diff)
downloaderlang.mk-1c2fa00f0639ec96f4a30be679bad4ac970bfe9f.tar.gz
erlang.mk-1c2fa00f0639ec96f4a30be679bad4ac970bfe9f.tar.bz2
erlang.mk-1c2fa00f0639ec96f4a30be679bad4ac970bfe9f.zip
Disable concurrent building entirely
Two reasons for doing this: * The current solution for enforcing sequential operations makes a lot of things slower. Either we do it properly or we don't. * Most of Erlang.mk is sequential by nature. There is very little to gain from Make's own parallel building. Something more interesting would be to enable fetching of dependencies concurrently by other means, and enable compilation of Erlang files concurrently (requires patching OTP).
Diffstat (limited to 'core/core.mk')
-rw-r--r--core/core.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/core/core.mk b/core/core.mk
index d0c701a..fd88dec 100644
--- a/core/core.mk
+++ b/core/core.mk
@@ -73,13 +73,9 @@ endif
# Core targets.
-ifneq ($(words $(MAKECMDGOALS)),1)
.NOTPARALLEL:
-endif
-all:: deps
- $(verbose) $(MAKE) --no-print-directory app
- $(verbose) $(MAKE) --no-print-directory rel
+all:: deps app rel
# Noop to avoid a Make warning when there's nothing to do.
rel::
@@ -101,7 +97,7 @@ help::
"erlang.mk (version $(ERLANG_MK_VERSION)) is distributed under the terms of the ISC License." \
"Copyright (c) 2013-2015 Loïc Hoguin <[email protected]>" \
"" \
- "Usage: [V=1] $(MAKE) [-jNUM] [target]..." \
+ "Usage: [V=1] $(MAKE) [target]..." \
"" \
"Core targets:" \
" all Run deps, app and rel targets in that order" \