Skip to content

Commit 3bc9dc1

Browse files
committed
fixed multi 3d compilation flags
1 parent 50442b5 commit 3bc9dc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ def build_extension(self, ext):
6565
cmake_args += ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}'.format(cfg.upper(), extdir)]
6666
if sys.maxsize > 2**32:
6767
cmake_args += ['-A', 'x64']
68-
build_args += ['--', '/m:4']
68+
build_args += ['--', '/m']
6969
else:
70-
build_args += ['--', '-j2']
70+
build_args += ['--', '-j']
7171

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

0 commit comments

Comments
 (0)