Changeset 2825


Ignore:
Timestamp:
Jul 23, 2013 6:11:39 AM (7 years ago)
Author:
stefan
Message:

use sandia mirror if main netlib does not work

File:
1 edited

Legend:

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

    r2808 r2825  
    2424echo " "
    2525
    26 rm -f lapack.tgz
     26rm -f lapack-${lapack_ver}.tgz
    2727echo "Downloading the source code from www.netlib.org..."
    28 $wgetcmd http://www.netlib.org/lapack/lapack-${lapack_ver}.tgz
     28if ! $wgetcmd http://www.netlib.org/lapack/lapack-${lapack_ver}.tgz ;
     29then
     30  echo
     31  echo "Failed, try downloading the source code from netlib.sandia.gov..."
     32  $wgetcmd http://netlib.sandia.gov/lapack/lapack-${lapack_ver}.tgz
     33fi
    2934
    3035echo "Uncompressing the tarball..."
Note: See TracChangeset for help on using the changeset viewer.