Skip to content

Commit

Permalink
[jenkins] increase build parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpoelen committed Aug 19, 2024
1 parent e3eb955 commit 655e03a
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions tools/jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@ build()
}
}

build_all() {
build "$@" -j4 ocr_tools tests/utils tests/transport tests/acl \
tests/system tests/gdi tests/keyboard
# build "$@" -j1 exe libs tests/capture tests/lib tests/server \
# tests/client_mods tests/mod/rdp.norec tests/mod/vnc.norec
build "$@" -j2
}

rootlist()
{
ls -1
Expand All @@ -158,18 +166,7 @@ mkdir -p bin
beforerun=$(rootlist)

# release for -Warray-bounds and not assert
# build $toolset_wab cxxflags=-g
# multi-thread
big_mem='exe libs
tests/capture
tests/lib
tests/server
tests/client_mods
tests/mod/rdp.norec
tests/mod/vnc.norec'
build $toolset_wab cxxflags=-g -j2 ocr_tools
build $toolset_wab cxxflags=-g $big_mem
build $toolset_wab cxxflags=-g -j2
build_all $toolset_wab cxxflags=-g

show_duration $toolset_wab

Expand Down Expand Up @@ -199,12 +196,6 @@ done || if (( $fast == 1 )); then
fi
set +o pipefail

build_all() {
build "$@" -j3 ocr_tools
build "$@" $big_mem
build "$@" -j2
}

build_all $toolset_clang -sNO_FFMPEG=1 san -s FAST_CHECK=1
rm_nofast bin/clang*

Expand Down

0 comments on commit 655e03a

Please sign in to comment.