mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 14:40:21 +01:00
rh-bkr: limit build jobs for meson from cores+2 to cores
We see sometimes when we have the default cores+2 some OOM kills. Let's use cores.
This commit is contained in:
parent
8d7dc96b5d
commit
2e4f748e3d
1 changed files with 3 additions and 3 deletions
|
|
@ -224,8 +224,8 @@ if [[ "$DO_TEST_BUILD" == yes ]]; then
|
|||
-Dnft=/usr/bin/nft \
|
||||
-Dnbft=${_WITH_NBFT}
|
||||
|
||||
ninja -C ./build
|
||||
ninja test -C ./build
|
||||
ninja -j$(nproc) -C ./build
|
||||
ninja test -j$(nproc) -C ./build
|
||||
else
|
||||
NOCONFIGURE=yes ./autogen.sh
|
||||
|
||||
|
|
@ -260,7 +260,7 @@ if [[ "$DO_TEST_BUILD" == yes ]]; then
|
|||
--with-systemd-logind=yes \
|
||||
--with-consolekit=yes
|
||||
|
||||
# We see some OOM when we have 8 cores and 12GB RAM, lowering to 16 from 20.
|
||||
# We see some OOM when we have 8 cores and 12GB RAM, lowering to 16 from 20.
|
||||
proc=$(nproc); make -j$((proc*2))
|
||||
make check -k
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue