Skip to content

Commit

Permalink
Try to install the recent upstream GMTSAR
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Pechnikov committed Feb 10, 2025
1 parent dd6138f commit de0b43b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pygmtsar/pygmtsar/data/google_colab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ if [ "$count" -eq 0 ]; then
update-alternatives --config gcc
gcc --version | head -n 1
git config --global advice.detachedHead false
cd /usr/local && git clone -q --branch master https://github.com/gmtsar/gmtsar GMTSAR
# limit clone depth when git checkout disabled
cd /usr/local && git clone --depth=1 -q --branch master https://github.com/gmtsar/gmtsar GMTSAR
# revert recent broken commit
cd /usr/local/GMTSAR && git checkout e98ebc0f4164939a4780b1534bac186924d7c998 > /dev/null
#cd /usr/local/GMTSAR && git checkout e98ebc0f4164939a4780b1534bac186924d7c998 > /dev/null
cd /usr/local/GMTSAR && autoconf > /dev/null
cd /usr/local/GMTSAR && ./configure --with-orbits-dir=/tmp > /dev/null
cd /usr/local/GMTSAR && make 1>/dev/null 2>/dev/null
cd /usr/local/GMTSAR && make -j$(nproc) 1>/dev/null 2>/dev/null
cd /usr/local/GMTSAR && make install >/dev/null
# test one GMTSAR binary
/usr/local/GMTSAR/bin/make_s1a_tops 2>&1 | head -n 2
Expand Down

0 comments on commit de0b43b

Please sign in to comment.