Skip to content

Commit 19cff6b

Browse files
committed
builder - added __builder_use_ccache for chroot builds
1 parent e8ff00f commit 19cff6b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scriptmodules/admin/builder.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ function chroot_build_builder() {
9797
[[ -z "$distcc_hosts" ]] && distcc_hosts="$ip"
9898
fi
9999

100+
local use_ccache="$__builder_use_ccache"
101+
100102
local makeflags="$__builder_makeflags"
101103
[[ -z "$makeflags" ]] && makeflags="-j$(nproc)"
102104
[[ ! -d "$chroot_dir" ]] && rp_callModule image create_chroot "$dist" "$chroot_dir"
@@ -126,6 +128,7 @@ function chroot_build_builder() {
126128

127129
rp_callModule image chroot "$chroot_dir" \
128130
sudo \
131+
__use_ccache="$use_ccache" \
129132
__makeflags="$makeflags" \
130133
DISTCC_HOSTS="$distcc_hosts" \
131134
__platform="$platform" \

0 commit comments

Comments
 (0)