source: ThirdParty/Blas/trunk/get.Blas @ 288

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

updated get.blas script to account for new way that netlib seems to package their BLAS sources

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