Skip to content

Commit 4672c4e

Browse files
committed
do ninja -j10000
1 parent 77f2597 commit 4672c4e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/build-all-rapids-repos.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,21 @@ jobs:
7474
# Clone all the repos
7575
clone-all -j$(nproc) -v -q --clone-upstream --single-branch --shallow-submodules;
7676
77+
# Uninstall ninja from pip because it fails with `ninja: FATAL: pipe: Too many open files`.
78+
# This appears to have been fixed 13 years ago (https://github.com/ninja-build/ninja/issues/233),
79+
# so it appears that fix needs to be integrated into the kitware pip ninja builds.
80+
if test "$PYTHON_PACKAGE_MANAGER" = pip; then
81+
source ~/.bashrc;
82+
pip uninstall -yq ninja || true;
83+
else
84+
source ~/.bashrc;
85+
conda remove -n "$DEFAULT_CONDA_ENV" -yq ninja || true;
86+
fi
87+
7788
# Build all the repos
7889
build-all \
7990
-v \
80-
-j$(($(nproc) * 16)) \
91+
-j10000 \
8192
-Wno-dev \
8293
-DBUILD_SHARED_LIBS=ON \
8394
-DBUILD_TESTS=ON \

0 commit comments

Comments
 (0)