Skip to content

Commit a182622

Browse files
committed
max 2 cores on unix system
1 parent 6bb4003 commit a182622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def build_extension(self, ext):
6767
cmake_args += ['-A', 'x64']
6868
build_args += ['--', '/m']
6969
else:
70-
build_args += ['--', '-j']
70+
build_args += ['--', '-j2']
7171

7272
env = os.environ.copy()
7373
env['CXXFLAGS'] = '{} -DVERSION_INFO=\\"{}\\"'.format(env.get('CXXFLAGS', ''),self.distribution.get_version())

0 commit comments

Comments
 (0)