Changeset 3055 for ThirdParty/ASL/trunk


Ignore:
Timestamp:
Nov 5, 2013 9:33:57 AM (6 years ago)
Author:
stefan
Message:

download asl/blas/lapack from http://www.coin-or.org/BuildTools/
give up on downloading via https-access to svn repo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/trunk/get.ASL

    r3047 r3055  
    1818fi
    1919
    20 coinasl=solvers-20130815.tar
     20coinasl=solvers-20130815.tgz
    2121
    2222echo " "
     
    2424echo " "
    2525
    26 rm -f solvers.tar
     26rm -f solvers.tgz
    2727
    2828echo "Downloading the source code from projects.coin-or.org..."
    29 if $wgetcmd https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/src/$coinasl ;
     29if $wgetcmd http://www.coin-or.org/BuildTools/ASL/$coinasl ;
    3030then
    31   mv $coinasl solvers.tar
     31  mv $coinasl solvers.tgz
    3232else
    3333  echo
    34   tryamplcom=1
    35   if test "$wgetcmd" = wget ;
    36   then
    37     # the ASL tarball on ampl.com is changing over time, so we give the coin-or server another chance first
    38     echo -n "Failed, try downloading from https://projects.coin-or.org without certificate check? (y/n) "
    39     if test "$1" = "-y" ;
    40     then
    41       doit=y
    42       echo y
    43     else
    44       read doit
    45       echo
    46     fi
    47     if test "$doit" = y ;
    48     then
    49       if $wgetcmd --no-check-certificate https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/src/$coinasl ;
    50       then
    51         mv $coinasl solvers.tar
    52         tryamplcom=0
    53       fi
    54     fi
    55   fi
    56   if test $tryamplcom = 1 ;
    57   then
    58     echo
    59     echo "Failed, try downloading the source code from www.ampl.com..."
    60     $wgetcmd http://www.ampl.com/netlib/ampl/solvers.tgz ;
    61     gunzip solvers.tgz
    62   fi
     34  echo "Failed, try downloading the source code from www.ampl.com..."
     35  $wgetcmd http://www.ampl.com/netlib/ampl/solvers.tgz
    6336fi
    6437
     
    6639
    6740echo "Unpacking the source code..."
     41gunzip -f solvers.tgz
    6842tar xf solvers.tar
    6943
Note: See TracChangeset for help on using the changeset viewer.