Commit Graph

6 Commits

Author SHA1 Message Date
Roland Kaufmann
9020ef64e3 Only start parallel make if user hasn't already
The -j flag should only be submitted once. If we are enclosed by yet
another layer of makes, then it will have setup everything for this
sub-make to take part in the job pool.
2013-02-11 23:08:27 +01:00
Roland Kaufmann
4bf313d421 Run original make also for diagnostics
If you run make with -n switch, it would just print the forwarding
command. Now it should continue into the original make, having that
one printing its actions as well.
2013-02-11 23:08:27 +01:00
Roland Kaufmann
3ca1d229d2 Don't print directory trail
We don't need this since we don't use a recursive make scheme. It just
adds to the output due to our extra level of (make) indirection.
2013-02-11 22:38:00 +01:00
Roland Kaufmann
e10141ba7b Disable ccache by default
We do dependency management the right way; there should be no need to
use ccache on top of this. Actually, it will just hurt performance to
do so without any win.
2013-02-11 22:38:00 +01:00
Roland Kaufmann
03e71967c5 Build on systems that don't have /proc mounted
If we are building in a VM which doesn't have /proc mounted, then it is
most likely that this is done on a shared server; we revert to building
for a single processor.
2013-02-11 22:37:59 +01:00
Roland Kaufmann
8eb6a70c5e Replace build script with a smart wrapper
If a user simply types `make` it will run in parallel by default, which
is what we want to do in most cases.
2013-02-11 22:37:58 +01:00