From be4c0aa59116ca2696f498b46b12e4d79cbd0f2a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 19 Mar 2010 10:25:56 +1100 Subject: build: default to 1 job in make, to be build farm friendly --- source4/Makefile.waf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source4/Makefile.waf') 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 -- cgit