mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Speedups for the git clone
calls in check scripts to use --depth 1
.
``` BEFORE CHANGE: time ./fips-check.sh windows keep Receiving objects: 100% (18408/18408), 12.61 MiB | 625.00 KiB/s, done. Receiving objects: 100% (7045/7045), 110.48 MiB | 488.00 KiB/s, done. real 5m4.604s user 1m38.039s sys 0m25.984s AFTER CHANGE: time ./fips-check.sh windows keep Receiving objects: 100% (642/642), 1.02 MiB | 1.26 MiB/s, done. Receiving objects: 100% (767/767), 24.15 MiB | 487.00 KiB/s, done. real 1m43.194s user 1m34.100s sys 0m24.046s ```
This commit is contained in:
@ -31,7 +31,7 @@ then
|
||||
echo "\n\nUsing existing async repo\n\n"
|
||||
else
|
||||
# make a clone of the wolfAsyncCrypt repository
|
||||
git clone $ASYNC_REPO async
|
||||
git clone --depth 1 $ASYNC_REPO async
|
||||
[ $? -ne 0 ] && echo "\n\nCouldn't checkout the wolfAsyncCrypt repository\n\n" && exit 1
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user