Skip to content

Commit

Permalink
Use --jobs=1 with WAF
Browse files Browse the repository at this point in the history
Some people were reporting waf erroring with

  thread.error: can't start new thread

this seems to fix that problem.
  • Loading branch information
ry committed Dec 6, 2009
1 parent 4845283 commit 90ab079
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 8 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
WAF=python tools/waf-light --jobs=1

all:
@tools/waf-light build
@$(WAF) build

all-debug:
@tools/waf-light -v build
@$(WAF) -v build

all-progress:
@tools/waf-light -p build
@$(WAF) -p build

install:
@tools/waf-light install
@$(WAF) install

uninstall:
@tools/waf-light uninstall
@$(WAF) uninstall

test: all
python tools/test.py --mode=release
Expand Down Expand Up @@ -45,7 +47,7 @@ website-upload: doc

clean:
@-rm -f doc/node.1 doc/api.xml doc/api.html
@tools/waf-light clean
@$(WAF) clean

distclean: clean
@-rm -rf build/
Expand Down
4 changes: 1 addition & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ cd $WORKINGDIR
WORKINGDIR=`pwd`
cd $CUR_DIR

WAF="${WORKINGDIR}/tools/waf-light"

"${WAF}" configure $*
"${WORKINGDIR}/tools/waf-light" --jobs=1 configure $*

exit $?

0 comments on commit 90ab079

Please sign in to comment.