We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6fc52 commit fe02e2eCopy full SHA for fe02e2e
setup.py
@@ -86,7 +86,8 @@ def build_isa_l():
86
subprocess.run(os.path.join(build_dir, "autogen.sh"), **run_args)
87
subprocess.run([os.path.join(build_dir, "configure"),
88
"--prefix", temp_prefix], **run_args)
89
- subprocess.run(["make", "-j", str(os.cpu_count())], **run_args)
+ subprocess.run(["make", "-j", str(len(os.sched_getaffinity(0)))],
90
+ **run_args)
91
subprocess.run(["make", "install"], **run_args)
92
shutil.rmtree(build_dir)
93
return temp_prefix
0 commit comments