Skip to content

Commit

Permalink
Fewer cores on non-Windows
Browse files Browse the repository at this point in the history
Maybe helps with compiler failures in actions/docker
  • Loading branch information
ianhbell committed Jul 29, 2024
1 parent 5df407c commit f5d3f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def build_extension(self, ext):
build_args += ['--', '/m:4', '/p:CL_MPCount=4']
else:
cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg]
build_args += ['--', '-j6']
build_args += ['--', '-j2']

if sys.platform.startswith("darwin"):
# Cross-compile support for macOS - respect ARCHFLAGS if set
Expand Down

0 comments on commit f5d3f83

Please sign in to comment.