@@ -245,7 +245,10 @@ builds to higher verbosity.
|
||||
For debugging on your local machine, you may set `CACHEDIR` to change the
|
||||
location for the dependency builds. [default is `$HOME/.cache`]
|
||||
|
||||
Service specific debugging options are described in the README files
|
||||
Set `PARALLEL_MAKE` to the number of parallel make jobs that you want your
|
||||
build to use. [default is the number of CPUs on the runner]
|
||||
|
||||
Service specific options are described in the README files
|
||||
in the service specific subdirectories:
|
||||
|
||||
- [Travis-CI README](travis/README.md)
|
||||
|
||||
6
cue.py
6
cue.py
@@ -75,6 +75,10 @@ def detect_context():
|
||||
if 'TEST' in os.environ and os.environ['TEST'].lower() == 'no':
|
||||
ci['test'] = False
|
||||
|
||||
ci['parallel_make'] = 2
|
||||
if 'PARALLEL_MAKE' in os.environ:
|
||||
ci['parallel_make'] = os.environ['PARALLEL_MAKE']
|
||||
|
||||
logger.debug('Detected a build hosted on %s, using %s on %s (%s) configured as %s (test: %s)',
|
||||
ci['service'], ci['compiler'], ci['os'], ci['platform'], ci['configuration'], ci['test'])
|
||||
|
||||
@@ -341,7 +345,7 @@ def call_git(args, **kws):
|
||||
|
||||
def call_make(args=[], **kws):
|
||||
place = kws.get('cwd', os.getcwd())
|
||||
parallel = kws.pop('parallel', 2)
|
||||
parallel = kws.pop('parallel', ci['parallel_make'])
|
||||
silent = kws.pop('silent', False)
|
||||
use_extra = kws.pop('use_extra', False)
|
||||
# no parallel make for Base 3.14
|
||||
|
||||
Reference in New Issue
Block a user