Skip to content

Commit 6297c84

Browse files
committed
Remove limit on number of parallell compiler processes
1 parent 3f3f8e3 commit 6297c84

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

setup.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -88,22 +88,14 @@ def build_extension(self, ext):
8888
else:
8989
cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg]
9090
cmake_args += ['-DSTATICLIBS=ON']
91-
build_args += ['--', '-j2']
91+
build_args += ['--', '-j']
9292

9393
env = os.environ.copy()
9494
env['CXXFLAGS'] = '{} -DVERSION_INFO=\\"{}\\"'.format(env.get('CXXFLAGS', ''),
9595
self.distribution.get_version())
9696
if not os.path.exists(self.build_temp):
9797
os.makedirs(self.build_temp)
9898

99-
# setup_path = os.path.dirname(os.path.abspath(__file__))
100-
# if not "<string>" in open(os.path.join(setup_path, 'deps', 'dnp3', 'cpp', 'libs', 'include', 'asiodnp3', 'IMasterOperations.h')).read():
101-
# dnp3_path = os.path.join(setup_path, 'deps', 'dnp3')
102-
# patch_path = os.path.join(setup_path, 'imasteroperations.patch')
103-
# # dnp3_python_path = os.path.join(setup_path, 'src', 'dnp3_python')
104-
#
105-
# subprocess.check_call(['git', 'apply', patch_path], cwd=dnp3_path)
106-
10799
subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
108100
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
109101

0 commit comments

Comments
 (0)