Skip to content

Commit

Permalink
clean: limits the parallelism of builds
Browse files Browse the repository at this point in the history
Building with `make -j` causes the buildbots to OOM.
  • Loading branch information
filmil committed Nov 13, 2024
1 parent 6736a23 commit 70c0e26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/entrypoint-test-current.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set -x
echo "${0}"

ICU_LIBRARY_PATH="${ICU_LIBRARY_PATH:-/build/icu-install}"
NUMCPU="${NUMCPU:-4}"

# Needed to take icu-config from ICU_LIBRARY_PATH, not the default
# /usr/local/bin.
Expand Down Expand Up @@ -48,7 +49,7 @@ function run_cargo_doc() {
--enable-static \
--prefix="${ICU_LIBRARY_PATH}" \
--enable-debug && \
make -j && \
make -j${NUMCPU} && \
make install && \
icu-config --version
)
Expand Down

0 comments on commit 70c0e26

Please sign in to comment.