Subject: utilizing SMP machines
To: None <tech-pkg@netbsd.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 11/27/2000 22:15:02
with SMP approaching in big steps on several architectures, I spent some
thought on what to do to use more than one CPU. Things that I can see to
use them are:
1. cc -pipe
2. make -j
While #2 works by a simple "MAKE_PROGRAM+= -jX" (for some X), #1 seems to
need a bit more work in order to make all pkgs accept a set "CC" or
whatever variable. #2 has the danger that some program may not compile
all/properly, thus i'd rather see the "-jX" part only on "make", not "make
install" to give it a chance to build anything that's left over.
Thoughts?
- Hubert
--
Hubert Feyrer <hubert@feyrer.de>