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:
Jonathan Goyvaerts 2019-05-08 19:11:09 +02:00
parent 2a1d67eada
commit eaf92cc7dc
1 changed files with 1 additions and 1 deletions

View File

@ -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']: