summaryrefslogtreecommitdiff
path: root/source4/Makefile.waf
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-19 10:25:56 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:53 +1000
commitbe4c0aa59116ca2696f498b46b12e4d79cbd0f2a (patch)
tree91a2aa15d15ff67df0447d75200da2caa24300fa /source4/Makefile.waf
parent9799356082958103b51d9f7216a77a31d90d9937 (diff)
downloadsamba-be4c0aa59116ca2696f498b46b12e4d79cbd0f2a.tar.gz
samba-be4c0aa59116ca2696f498b46b12e4d79cbd0f2a.tar.bz2
samba-be4c0aa59116ca2696f498b46b12e4d79cbd0f2a.zip
build: default to 1 job in make, to be build farm friendly
Diffstat (limited to 'source4/Makefile.waf')
-rw-r--r--source4/Makefile.waf7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/Makefile.waf b/source4/Makefile.waf
index 8d5e7455ed..d2128b46af 100644
--- a/source4/Makefile.waf
+++ b/source4/Makefile.waf
@@ -5,7 +5,12 @@
# problems in the build farm
# WAF=WAFCACHE=$(HOME)/.wafcache ../buildtools/waf
-WAF=../buildtools/waf
+# default to using only 1 cpu, to be friendly to build
+# farm machines. I wonder how we get at the -jN option
+# from make to pass it to waf?
+JOBS=1
+
+WAF=JOBS=$(JOBS) ../buildtools/waf
all:
$(WAF) build