Default the number of parallel build threads to 4 so clang doesn't run out of memory (both local and on travis-ci)
This commit is contained in:
parent
2a1d67eada
commit
eaf92cc7dc
|
@ -597,7 +597,7 @@ class BaseBuildCommand(Command):
|
|||
'--no_premake', action='store_true',
|
||||
help='Skips running premake before building.')
|
||||
self.parser.add_argument(
|
||||
'-j', default=0, type=int, help='Number of parallel threads')
|
||||
'-j', default=4, type=int, help='Number of parallel threads')
|
||||
|
||||
def execute(self, args, pass_args, cwd):
|
||||
if not args['no_premake']:
|
||||
|
|
Loading…
Reference in New Issue