We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c96a997 commit 1ea6b94Copy full SHA for 1ea6b94
1 file changed
build_ext.py
@@ -46,6 +46,8 @@
46
47
class BuildExt(build_ext):
48
def build_extensions(self) -> None:
49
+ if self.parallel is None: # type: ignore[has-type]
50
+ self.parallel = os.cpu_count() or 1
51
try:
52
super().build_extensions()
53
except Exception:
0 commit comments