File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,21 @@ jobs:
74
74
# Clone all the repos
75
75
clone-all -j$(nproc) -v -q --clone-upstream --single-branch --shallow-submodules;
76
76
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
+
77
88
# Build all the repos
78
89
build-all \
79
90
-v \
80
- -j$(($(nproc) * 16)) \
91
+ -j10000 \
81
92
-Wno-dev \
82
93
-DBUILD_SHARED_LIBS=ON \
83
94
-DBUILD_TESTS=ON \
You can’t perform that action at this time.
0 commit comments