From 35ded9142e3915c7cdf6d64c7a0f0d797fcac8c7 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Sat, 21 Dec 2024 13:29:04 +0100 Subject: Improve performance of incremental builds --- build_single.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build_single.sh b/build_single.sh index b935421..0309a28 100755 --- a/build_single.sh +++ b/build_single.sh @@ -55,7 +55,12 @@ fi cd $(dirname $0) WDIR=$PWD pushd contrib/depends - env -i PATH="$PATH" CC=gcc CXX=g++ make "$NPROC" HOST="$HOST_ABI" + if [[ -d $HOST_ABI ]]; + then + echo "Not building depends, directory exists" + else + env -i PATH="$PATH" CC=gcc CXX=g++ make "$NPROC" HOST="$HOST_ABI" + fi popd buildType=Debug -- cgit v1.2.3