pkgsrc bulk build profile

Robert Luciani rluciani at gmail.com
Sun Feb 22 22:38:35 PST 2009


> This machine has 4 2.4G cpus, but I think this is the same time I'd get on
> single-CPU pkgbox under good circumstances.  My handwaving guess is that
> either the pbulk process combined with the BGL is I/O bound, not CPU
> bound.

I was under the impression that all build scripts were simply single-threaded.
Including the following in mk.conf should help a bit:
MAKE_FLAGS+=-j5
Last time I uncommented it in my setup though, it made many packages break
during compilation.

COPTS+=-g
INSTALL_UNSTRIPPED=yes
These are good too so that people don't need to recompile to get helpful
debugging info.

-- 
Robert Luciani
Chalmers University of Technology, SWE
Department of Computer Science and Engineering
http://www.rluciani.com/rluciani.asc





More information about the Kernel mailing list