[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Make options
Is there a way to define default options for use by make in
building/updating the pkgsrc system?
I'm running on a dual processor quad core machine, and would like
always use the -j 9 to utilize all the cores.
When I use pkg_chk to do updates, I don't see a way to insert that
Put the following in /etc/mk.conf:
And then be prepared to manage local package Makefiles which fail
in parallel, e.g. games/xpat2. They'll need the following to be
It is not that simple, sometimes it fails to build but in other cases
it builds but the result is broken. Thats for pkgsrc, basesrc is ok.
For builds like -j9, sometimes there might not be enough memory in the
system (especially for c++ programs) and the build will crash.
I use multi-threaded builds on my system (with distcc on architectures
different than the host) and have never encountered a broken executable.
Main Index |
Thread Index |