roboterclubaachen / rca-vm

DEPRECATED: Scripts to build provisioned virtual machines for xpcc and robot development
4 stars 1 forks source link

Set SCONSFLAGS to the correct cores. #22

Closed salkinium closed 9 years ago

salkinium commented 9 years ago

2 cores

export SCONSFLAGS="-Q -j2"

ekiwi commented 9 years ago

I'd rather we not use -j2. While it speeds up compilations speed, it can also fail because we did not specify a dependency correctly and if that happens, people won't know how to deactivate this option.

daniel-k commented 9 years ago

I use this setting for quite some time now and can't reproduce this, although I see your point. Often when there's a dependency problem like this, compiling a second time might complete correctly. As this is the natural reaction (for a beginner) I vote for including this option anyway. In addition this provides an incentive for developers to get their code right, so that building time of xpcc and other projects can be effectively reduced.