Skip to content

Commit 9ae3719

Browse files
mayeuthenryiii
authored andcommitted
Limit to parallel builds to 4 threads on ppc64le
1 parent c3029c8 commit 9ae3719

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scikit-ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ before_install:
5656
# Remove this after addressing https://github.com/dockcross/dockcross/issues/431
5757
setup_cmake_args.append("-DOPENSSL_ROOT_DIR:PATH=/tmp/openssl-install")
5858
os.environ["SETUP_CMAKE_ARGS"] = " ".join(setup_cmake_args)
59-
os.environ["SETUP_MAKE_ARGS"] = "-j$(nproc)"
59+
if platform.machine() in {"ppc64le"}:
60+
# the container sees all 16 threads but building with all of them
61+
# triggers the OoM killer due to RAM limitations
62+
os.environ["SETUP_MAKE_ARGS"] = "-j4"
63+
else:
64+
os.environ["SETUP_MAKE_ARGS"] = "-j$(nproc)"
6065
ci.driver.Driver.save_env(os.environ)
6166
6267
install:

0 commit comments

Comments
 (0)