Subject: Does build.sh work with -j?
To: None <tech-toolchain@netbsd.org>
From: Chris Jepeway <jepeway@blasted-heath.com>
List: tech-toolchain
Date: 10/26/2001 23:57:59
I tried running build.sh with a -j 4 on -current from sometime
Thursday late afternoon. I got errors like
--- includes-include ---
nbmake: nbmake: don't know how to make found. Stop
*** Error code 2
1 error
which sure looks as though something mistook a "file not found"
for real output. This error appears in the midst of cleandir
targets getting built, before the tools are even built.
I'm not sure what the problem really is, nevermind what
the proper fix might be, but the following gets the build
through to starting on do-lib-csu:
--- Makefile 2001/10/25 21:40:35 1.1.1.1
+++ Makefile 2001/10/26 21:13:33
@@ -131,7 +131,9 @@
@echo "Build already installed into ${DESTDIR}"
.else
@echo -n "Build started at: " && date
- @${MAKE} ${_J} ${_M} ${BUILDTARGETS}
+.for btarg in ${BUILDTARGETS}
+ @${MAKE} ${_J} ${_M} ${btarg}
+.endfor
@echo -n "Build finished at: " && date
.endif
Chris <jepeway@blasted-heath.com>.