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