Changeset 3055


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

Location:
ThirdParty
Files:
3 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
  • ThirdParty/Blas/trunk/get.Blas

    r2948 r3055  
    2727
    2828echo "Downloading the source code from projects.coin-or.org..."
    29 if $wgetcmd https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/src/$coinblas ;
     29if $wgetcmd http://www.coin-or.org/BuildTools/Blas/$coinblas ;
    3030then
    3131  mv $coinblas blas.tgz
     
    3939    if ! $wgetcmd http://netlib.sandia.gov/blas/blas.tgz ;
    4040    then
    41       if test "$wgetcmd" = wget ;
    42       then
    43         echo -n "Failed, try downloading from https://projects.coin-or.org without certificate check? (y/n) "
    44         if test "$1" = "-y" ;
    45         then
    46           doit=y
    47           echo y
    48         else
    49           read doit
    50           echo
    51         fi
    52         if test "$doit" = y ;
    53         then
    54           $wgetcmd --no-check-certificate https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/src/$coinblas
    55           mv $coinblas blas.tgz
    56         else
    57           exit 1;
    58         fi
    59       else
    60         exit 1;
    61       fi
     41      exit 1;
    6242    fi
    6343  fi
  • ThirdParty/Lapack/trunk/get.Lapack

    r2948 r3055  
    2727
    2828echo "Downloading the source code from projects.coin-or.org..."
    29 if ! $wgetcmd https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/src/lapack-${lapack_ver}.tgz ;
     29if ! $wgetcmd http://www.coin-or.org/BuildTools/Lapack/lapack-${lapack_ver}.tgz ;
    3030then
    3131  echo
     
    3737    if ! $wgetcmd http://netlib.sandia.gov/lapack/lapack-${lapack_ver}.tgz
    3838    then
    39       if test "$wgetcmd" = wget ;
    40       then
    41         echo -n "Failed, try downloading from https://projects.coin-or.org without certificate check? (y/n) "
    42         if test "$1" = "-y" ;
    43         then
    44           doit=y
    45           echo y
    46         else
    47           read doit
    48           echo
    49         fi
    50         if test "$doit" = y ;
    51         then
    52           $wgetcmd --no-check-certificate https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/src/lapack-${lapack_ver}.tgz
    53         else
    54           exit 1;
    55         fi
    56       else
    57         exit 1;
    58       fi
     39      exit 1;
    5940    fi
    6041  fi
Note: See TracChangeset for help on using the changeset viewer.