Browse Source

Use --jobs=1 with WAF

Some people were reporting waf erroring with

  thread.error: can't start new thread

this seems to fix that problem.
v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
90ab0794df
  1. 14
      Makefile
  2. 4
      configure

14
Makefile

@ -1,17 +1,19 @@
WAF=python tools/waf-light --jobs=1
all: all:
@tools/waf-light build @$(WAF) build
all-debug: all-debug:
@tools/waf-light -v build @$(WAF) -v build
all-progress: all-progress:
@tools/waf-light -p build @$(WAF) -p build
install: install:
@tools/waf-light install @$(WAF) install
uninstall: uninstall:
@tools/waf-light uninstall @$(WAF) uninstall
test: all test: all
python tools/test.py --mode=release python tools/test.py --mode=release
@ -45,7 +47,7 @@ website-upload: doc
clean: clean:
@-rm -f doc/node.1 doc/api.xml doc/api.html @-rm -f doc/node.1 doc/api.xml doc/api.html
@tools/waf-light clean @$(WAF) clean
distclean: clean distclean: clean
@-rm -rf build/ @-rm -rf build/

4
configure

@ -16,8 +16,6 @@ cd $WORKINGDIR
WORKINGDIR=`pwd` WORKINGDIR=`pwd`
cd $CUR_DIR cd $CUR_DIR
WAF="${WORKINGDIR}/tools/waf-light" "${WORKINGDIR}/tools/waf-light" --jobs=1 configure $*
"${WAF}" configure $*
exit $? exit $?

Loading…
Cancel
Save