source: ThirdParty/Lapack/stable/BSP/get.Lapack @ 1067

Last change on this file since 1067 was 538, checked in by andreasw, 14 years ago

sychronizing trunk rev 534 with Lapack/stable/1.0

  • Property svn:executable set to *
File size: 833 bytes
Line 
1#!/bin/sh
2
3set -e
4
5wgetcmd=wget
6wgetcount=`which wget 2>/dev/null | wc -w`
7if test ! $wgetcount = 1; then
8  echo "Utility wget not found in your PATH."
9  if test `uname` = Darwin; then
10    wgetcmd=ftp
11    echo "Using ftp command instead."
12  else
13    exit -1
14  fi
15fi
16
17echo " "
18echo "Running script for downloading the source code for LAPACK"
19echo " "
20
21rm -f lapack.tgz
22echo "Downloading the source code from www.netlib.org..."
23$wgetcmd ftp://www.netlib.org/lapack/lapack-lite-3.1.0.tgz
24
25echo "Uncompressing the tarball..."
26gunzip -f lapack-lite-3.1.0.tgz
27
28echo "Unpacking the source code..."
29tar xf lapack-lite-3.1.0.tar lapack-3.1.0/SRC lapack-3.1.0/INSTALL/dlamch.f
30rm -rf LAPACK
31mv lapack-3.1.0 LAPACK
32
33echo "Deleting the tar file..."
34rm lapack-lite-3.1.0.tar
35
36echo " "
37echo "Done downloading the source code for LAPACK."
38echo " "
Note: See TracBrowser for help on using the repository browser.