summaryrefslogtreecommitdiff
path: root/build_single.sh
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2024-12-21 13:29:04 +0100
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2024-12-21 13:29:04 +0100
commit35ded9142e3915c7cdf6d64c7a0f0d797fcac8c7 (patch)
tree709ccba99efb11454d56c5ddcc5633a63d6d1d98 /build_single.sh
parente3cafc9aa0f06d4cecde96f28c497e7ab686be90 (diff)
Improve performance of incremental builds
Diffstat (limited to 'build_single.sh')
-rwxr-xr-xbuild_single.sh7
1 files changed, 6 insertions, 1 deletions
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