Changeset 2843


Ignore:
Timestamp:
Aug 15, 2013 6:17:54 AM (7 years ago)
Author:
stefan
Message:

update get scripts to first try downloading from coin-or svn repo

Location:
ThirdParty
Files:
3 edited

Legend:

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

    r2823 r2843  
    2323
    2424rm -f solvers.tar
    25 echo "Downloading the source code from www.netlib.org..."
    26 if ! $wgetcmd ftp://www.netlib.org/ampl/solvers.tar ;
     25
     26echo "Downloading the source code from projects.coin-or.org..."
     27if $wgetcmd https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/src/solvers-20130815.tar ;
    2728then
     29  mv solvers-20130815.tar solvers.tar
     30else
    2831  echo
    29   echo "Failed, try downloading the source code from netlib.sandia.gov..."
    30   rm -f netlibfiles.tar*
    31   $wgetcmd http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/ampl/solvers
    32   mv netlibfiles.tar* solvers.tar
     32  echo "Failed, try downloading the source code from www.netlib.org..."
     33  if ! $wgetcmd ftp://www.netlib.org/ampl/solvers.tar ;
     34  then
     35    echo
     36    echo "Failed, try downloading the source code from netlib.sandia.gov..."
     37    rm -f netlibfiles.tar*
     38    $wgetcmd http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/ampl/solvers
     39    mv netlibfiles.tar* solvers.tar
     40  fi
    3341fi
    3442
  • ThirdParty/Blas/trunk/get.Blas

    r2824 r2843  
    2424rm -f blas.tgz
    2525
    26 echo "Downloading the source code from www.netlib.org..."
    27 if ! $wgetcmd http://www.netlib.org/blas/blas.tgz ;
     26echo "Downloading the source code from projects.coin-or.org..."
     27if $wgetcmd https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/src/blas-20130815.tgz ;
    2828then
     29  mv blas-20130815.tgz blas.tgz
     30else
    2931  echo
    30   echo "Failed, try downloading the source code from netlib.sandia.gov..."
    31   $wgetcmd http://netlib.sandia.gov/blas/blas.tgz
     32  echo "Failed, try downloading the source code from www.netlib.org..."
     33  if ! $wgetcmd http://www.netlib.org/blas/blas.tgz ;
     34  then
     35    echo
     36    echo "Failed, try downloading the source code from netlib.sandia.gov..."
     37    $wgetcmd http://netlib.sandia.gov/blas/blas.tgz
     38  fi
    3239fi
    3340
  • ThirdParty/Lapack/trunk/get.Lapack

    r2825 r2843  
    2525
    2626rm -f lapack-${lapack_ver}.tgz
    27 echo "Downloading the source code from www.netlib.org..."
    28 if ! $wgetcmd http://www.netlib.org/lapack/lapack-${lapack_ver}.tgz ;
     27
     28echo "Downloading the source code from projects.coin-or.org..."
     29if ! $wgetcmd https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/src/lapack-${lapack_ver}.tgz ;
    2930then
    3031  echo
    31   echo "Failed, try downloading the source code from netlib.sandia.gov..."
    32   $wgetcmd http://netlib.sandia.gov/lapack/lapack-${lapack_ver}.tgz
     32  echo "Failed, try downloading the source code from www.netlib.org..."
     33  if ! $wgetcmd http://www.netlib.org/lapack/lapack-${lapack_ver}.tgz ;
     34  then
     35    echo
     36    echo "Failed, try downloading the source code from netlib.sandia.gov..."
     37    $wgetcmd http://netlib.sandia.gov/lapack/lapack-${lapack_ver}.tgz
     38  fi
    3339fi
    3440
Note: See TracChangeset for help on using the changeset viewer.