Skip to content

Commit e28b5af

Browse files
Zoran Simiczsimic
Zoran Simic
authored andcommitted
Don't parallelize make install
1 parent 3019c74 commit e28b5af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/portable_python/cpython.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@ def _do_linux_compile(self):
203203
make_args.append(f"PROFILE_TASK={pgo_tests}")
204204

205205
self.run_make(*make_args)
206-
self.run_make("install", f"DESTDIR={self.destdir}")
206+
# Don't parallelize `make install`, see https://github.com/python/cpython/issues/109796
207+
self.run_make("install", f"DESTDIR={self.destdir}", cpu_count=0)
207208

208209
def _finalize(self):
209210
is_shared = self.setup.prefix or self.has_configure_opt("--enable-shared", "yes")

0 commit comments

Comments
 (0)