mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-18 02:02:36 +03:00
Add support for builders with distcc installed
This commit is contained in:
parent
1ee30e7632
commit
fd21e488e0
@ -377,6 +377,15 @@ else
|
||||
BUILD_DUKTAPE=NO
|
||||
fi
|
||||
|
||||
########### Use distcc if present ######
|
||||
|
||||
DISTCC=distcc
|
||||
PARALLEL=1
|
||||
${DISTCC} --version >/dev/null 2>&1
|
||||
if [ $? -eq 0 ];then
|
||||
PARALLEL=$(${DISTCC} -j)
|
||||
export PATH=/usr/lib/distcc:${PATH}
|
||||
fi
|
||||
|
||||
|
||||
|
||||
@ -386,8 +395,7 @@ fi
|
||||
${MAKE} NETSURF_USE_DUKTAPE=${BUILD_DUKTAPE} NETSURF_USE_JS=${BUILD_JS} NETSURF_USE_MOZJS=${BUILD_MOZJS} clean
|
||||
|
||||
# Do the Build
|
||||
${MAKE} -k NETSURF_USE_DUKTAPE=${BUILD_DUKTAPE} NETSURF_USE_JS=${BUILD_JS} NETSURF_USE_MOZJS=${BUILD_MOZJS} CI_BUILD=${BUILD_NUMBER} ATARIARCH=${ATARIARCH} Q=
|
||||
|
||||
${MAKE} -j ${PARALLEL} -k NETSURF_USE_DUKTAPE=${BUILD_DUKTAPE} NETSURF_USE_JS=${BUILD_JS} NETSURF_USE_MOZJS=${BUILD_MOZJS} CI_BUILD=${BUILD_NUMBER} ATARIARCH=${ATARIARCH} Q=
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user