File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,13 @@ if [ "$count" -eq 0 ]; then
1313 update-alternatives --config gcc
1414 gcc --version | head -n 1
1515 git config --global advice.detachedHead false
16- cd /usr/local && git clone -q --branch master https://github.com/gmtsar/gmtsar GMTSAR
16+ # limit clone depth when git checkout disabled
17+ cd /usr/local && git clone --depth=1 -q --branch master https://github.com/gmtsar/gmtsar GMTSAR
1718 # revert recent broken commit
18- cd /usr/local/GMTSAR && git checkout e98ebc0f4164939a4780b1534bac186924d7c998 > /dev/null
19+ # cd /usr/local/GMTSAR && git checkout e98ebc0f4164939a4780b1534bac186924d7c998 > /dev/null
1920 cd /usr/local/GMTSAR && autoconf > /dev/null
2021 cd /usr/local/GMTSAR && ./configure --with-orbits-dir=/tmp > /dev/null
21- cd /usr/local/GMTSAR && make 1> /dev/null 2> /dev/null
22+ cd /usr/local/GMTSAR && make -j $( nproc ) 1> /dev/null 2> /dev/null
2223 cd /usr/local/GMTSAR && make install > /dev/null
2324 # test one GMTSAR binary
2425 /usr/local/GMTSAR/bin/make_s1a_tops 2>&1 | head -n 2
You can’t perform that action at this time.
0 commit comments