use shallow cloning everywhere to speed up the build

This commit is contained in:
Jakob Ketterl 2019-12-19 22:14:32 +01:00
parent e1d2ed8867
commit 3bbcaa1329
7 changed files with 17 additions and 17 deletions

View File

@ -19,7 +19,7 @@ BUILD_PACKAGES="git cmake make gcc g++ musl-dev"
apk add --no-cache --virtual .build-deps $BUILD_PACKAGES apk add --no-cache --virtual .build-deps $BUILD_PACKAGES
git clone https://github.com/jketterl/owrx_connector.git git clone --depth 1 https://github.com/jketterl/owrx_connector.git
cmakebuild owrx_connector cmakebuild owrx_connector
apk del .build-deps apk del .build-deps

View File

@ -20,16 +20,16 @@ BUILD_PACKAGES="git libusb-dev cmake make gcc musl-dev g++ linux-headers"
apk add --no-cache $STATIC_PACKAGES apk add --no-cache $STATIC_PACKAGES
apk add --no-cache --virtual .build-deps $BUILD_PACKAGES apk add --no-cache --virtual .build-deps $BUILD_PACKAGES
git clone https://github.com/airspy/airspyone_host.git git clone --depth 1 https://github.com/airspy/airspyone_host.git
cmakebuild airspyone_host cmakebuild airspyone_host
git clone https://github.com/pothosware/SoapyAirspy.git git clone --depth 1 https://github.com/pothosware/SoapyAirspy.git
cmakebuild SoapyAirspy cmakebuild SoapyAirspy
git clone https://github.com/airspy/airspyhf.git git clone --depth 1 https://github.com/airspy/airspyhf.git
cmakebuild airspyhf cmakebuild airspyhf
git clone https://github.com/pothosware/SoapyAirspyHF.git git clone --depth 1 https://github.com/pothosware/SoapyAirspyHF.git
cmakebuild SoapyAirspyHF cmakebuild SoapyAirspyHF
apk del .build-deps apk del .build-deps

View File

@ -20,7 +20,7 @@ BUILD_PACKAGES="git cmake make patch wget sudo gcc g++ libusb-dev fftw-dev"
apk add --no-cache $STATIC_PACKAGES apk add --no-cache $STATIC_PACKAGES
apk add --no-cache --virtual .build-deps $BUILD_PACKAGES apk add --no-cache --virtual .build-deps $BUILD_PACKAGES
git clone https://github.com/mossmann/hackrf.git git clone --depth 1 https://github.com/mossmann/hackrf.git
cd hackrf cd hackrf
cmakebuild host cmakebuild host
cd .. cd ..

View File

@ -20,7 +20,7 @@ BUILD_PACKAGES="git libusb-dev cmake make gcc musl-dev g++ linux-headers"
apk add --no-cache $STATIC_PACKAGES apk add --no-cache $STATIC_PACKAGES
apk add --no-cache --virtual .build-deps $BUILD_PACKAGES apk add --no-cache --virtual .build-deps $BUILD_PACKAGES
git clone https://github.com/osmocom/rtl-sdr.git git clone --depth 1 https://github.com/osmocom/rtl-sdr.git
cmakebuild rtl-sdr cmakebuild rtl-sdr
apk del .build-deps apk del .build-deps

View File

@ -44,7 +44,7 @@ cd ..
rm -rf sdrplay rm -rf sdrplay
rm $BINARY rm $BINARY
git clone https://github.com/pothosware/SoapySDRPlay.git git clone --depth 1 https://github.com/pothosware/SoapySDRPlay.git
cmakebuild SoapySDRPlay cmakebuild SoapySDRPlay
apk del .build-deps apk del .build-deps

View File

@ -20,10 +20,10 @@ BUILD_PACKAGES="git cmake make patch wget sudo gcc g++"
apk add --no-cache $STATIC_PACKAGES apk add --no-cache $STATIC_PACKAGES
apk add --no-cache --virtual .build-deps $BUILD_PACKAGES apk add --no-cache --virtual .build-deps $BUILD_PACKAGES
git clone https://github.com/pothosware/SoapySDR git clone --depth 1 https://github.com/pothosware/SoapySDR
cmakebuild SoapySDR cmakebuild SoapySDR
git clone https://github.com/rxseger/rx_tools git clone --depth 1 https://github.com/rxseger/rx_tools
cmakebuild rx_tools cmakebuild rx_tools
apk del .build-deps apk del .build-deps

View File

@ -20,23 +20,23 @@ BUILD_PACKAGES="git libsndfile-dev fftw-dev cmake ca-certificates make gcc musl-
apk add --no-cache $STATIC_PACKAGES apk add --no-cache $STATIC_PACKAGES
apk add --no-cache --virtual .build-deps $BUILD_PACKAGES apk add --no-cache --virtual .build-deps $BUILD_PACKAGES
git clone https://git.code.sf.net/p/itpp/git itpp git clone --depth 1 https://git.code.sf.net/p/itpp/git itpp
cmakebuild itpp cmakebuild itpp
git clone https://github.com/jketterl/csdr.git git clone --depth 1 https://github.com/jketterl/csdr.git
cd csdr cd csdr
make make
make install make install
cd .. cd ..
rm -rf csdr rm -rf csdr
git clone https://github.com/szechyjs/mbelib.git git clone --depth 1 https://github.com/szechyjs/mbelib.git
cmakebuild mbelib cmakebuild mbelib
git clone https://github.com/jketterl/digiham.git git clone --depth 1 https://github.com/jketterl/digiham.git
cmakebuild digiham cmakebuild digiham
git clone https://github.com/f4exb/dsd.git git clone --depth 1 https://github.com/f4exb/dsd.git
cmakebuild dsd cmakebuild dsd
WSJT_DIR=wsjtx-2.1.2 WSJT_DIR=wsjtx-2.1.2
@ -45,7 +45,7 @@ wget http://physics.princeton.edu/pulsar/k1jt/$WSJT_TGZ
tar xvfz $WSJT_TGZ tar xvfz $WSJT_TGZ
cmakebuild $WSJT_DIR cmakebuild $WSJT_DIR
git clone https://github.com/wb2osz/direwolf.git git clone --depth 1 https://github.com/wb2osz/direwolf.git
cd direwolf cd direwolf
git checkout 1.5 git checkout 1.5
patch -Np1 < /direwolf-1.5.patch patch -Np1 < /direwolf-1.5.patch
@ -54,6 +54,6 @@ make install
cd .. cd ..
rm -rf direwolf rm -rf direwolf
git clone https://github.com/hessu/aprs-symbols /opt/aprs-symbols git clone --depth 1 https://github.com/hessu/aprs-symbols /opt/aprs-symbols
apk del .build-deps apk del .build-deps