diff options
author | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-09 11:18:08 -0500 |
---|---|---|
committer | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-09 11:19:33 -0500 |
commit | 9c7f84bd600f53c59f89f16ad745e3be5cab2f07 (patch) | |
tree | cecbca4ae14e2eff829cfd9627c83237d2f339b6 /INSTALL | |
parent | 78d32fd2a6d030d388981f096014c764ff7898f5 (diff) | |
download | lapack-9c7f84bd600f53c59f89f16ad745e3be5cab2f07.tar.gz lapack-9c7f84bd600f53c59f89f16ad745e3be5cab2f07.tar.bz2 lapack-9c7f84bd600f53c59f89f16ad745e3be5cab2f07.zip |
STYLE: Remove trailing whitespace in MISC files
This is mostly a long term maintenance improvement.
Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.
By removing whitespace on one patch, it makes future
code reviews much easier.
=SCRIPT====================================================================
if which tempfile &>/dev/null; then
TEMPMAKER=tempfile
elif which mktemp &>/dev/null; then
TEMPMAKER=mktemp
else
echo "Cannot find tempfile program." 2>&1
exit 1
fi
MYTEMP=$($TEMPMAKER)
trap 'rm -f $MYTEMP' SIGINT SIGTERM
stripit() {
echo "stripping $1"
sed 's/[ \t]*$//' "$1" > $MYTEMP
cp $MYTEMP "$1"
}
if [ $# -gt 0 ]; then
while [ "$1" != "" ]; do
stripit $1
shift
done
else
while read -t 2; do
stripit $REPLY
done
fi
rm $MYTEMP
=================================================
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL/Makefile | 6 | ||||
-rw-r--r-- | INSTALL/make.inc.ALPHA | 6 | ||||
-rw-r--r-- | INSTALL/make.inc.HPPA | 6 | ||||
-rw-r--r-- | INSTALL/make.inc.IRIX64 | 6 | ||||
-rw-r--r-- | INSTALL/make.inc.O2K | 6 | ||||
-rw-r--r-- | INSTALL/make.inc.SGI5 | 6 | ||||
-rw-r--r-- | INSTALL/make.inc.SUN4 | 6 | ||||
-rw-r--r-- | INSTALL/make.inc.SUN4SOL2 | 6 | ||||
-rw-r--r-- | INSTALL/make.inc.XLF | 6 | ||||
-rw-r--r-- | INSTALL/make.inc.gfortran | 10 | ||||
-rw-r--r-- | INSTALL/make.inc.gfortran_debug | 8 | ||||
-rw-r--r-- | INSTALL/make.inc.ifort | 8 | ||||
-rw-r--r-- | INSTALL/make.inc.pgf95 | 6 | ||||
-rw-r--r-- | INSTALL/make.inc.pghpf | 6 |
14 files changed, 46 insertions, 46 deletions
diff --git a/INSTALL/Makefile b/INSTALL/Makefile index 7f7ecc0a..91057de4 100644 --- a/INSTALL/Makefile +++ b/INSTALL/Makefile @@ -1,7 +1,7 @@ include ../make.inc -.SUFFIXES : .o .f -all: testlsame testslamch testdlamch testsecond testdsecnd testieee testversion +.SUFFIXES : .o .f +all: testlsame testslamch testdlamch testsecond testdsecnd testieee testversion testlsame: lsame.o lsametst.o $(LOADER) $(LOADOPTS) -o testlsame lsame.o lsametst.o @@ -28,7 +28,7 @@ testversion: ilaver.o LAPACK_version.o clean: rm -f *.o -.f.o: +.f.o: $(FORTRAN) $(OPTS) -c $< -o $@ slamch.o: slamch.f ; $(FORTRAN) $(NOOPT) -c $< -o $@ diff --git a/INSTALL/make.inc.ALPHA b/INSTALL/make.inc.ALPHA index 33353d2d..b5815876 100644 --- a/INSTALL/make.inc.ALPHA +++ b/INSTALL/make.inc.ALPHA @@ -5,11 +5,11 @@ #################################################################### # SHELL = /bin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is -# selected. Define LOADER and LOADOPTS to refer to the loader and +# selected. Define LOADER and LOADOPTS to refer to the loader and # desired load options for your machine. # FORTRAN = f77 @@ -65,7 +65,7 @@ RANLIB = ranlib XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # diff --git a/INSTALL/make.inc.HPPA b/INSTALL/make.inc.HPPA index 062e1a56..869a7ec7 100644 --- a/INSTALL/make.inc.HPPA +++ b/INSTALL/make.inc.HPPA @@ -5,11 +5,11 @@ #################################################################### # SHELL = /bin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is -# selected. Define LOADER and LOADOPTS to refer to the loader and +# selected. Define LOADER and LOADOPTS to refer to the loader and # desired load options for your machine. # FORTRAN = f77 @@ -65,7 +65,7 @@ RANLIB = echo XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # diff --git a/INSTALL/make.inc.IRIX64 b/INSTALL/make.inc.IRIX64 index c8b34e4e..68482060 100644 --- a/INSTALL/make.inc.IRIX64 +++ b/INSTALL/make.inc.IRIX64 @@ -5,11 +5,11 @@ #################################################################### # SHELL = /sbin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is -# selected. Define LOADER and LOADOPTS to refer to the loader and +# selected. Define LOADER and LOADOPTS to refer to the loader and # desired load options for your machine. # FORTRAN = f77 @@ -68,7 +68,7 @@ RANLIB = echo XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # diff --git a/INSTALL/make.inc.O2K b/INSTALL/make.inc.O2K index 55b7de24..ceeccef7 100644 --- a/INSTALL/make.inc.O2K +++ b/INSTALL/make.inc.O2K @@ -5,11 +5,11 @@ #################################################################### # SHELL = /sbin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is -# selected. Define LOADER and LOADOPTS to refer to the loader and +# selected. Define LOADER and LOADOPTS to refer to the loader and # desired load options for your machine. # FORTRAN = f77 @@ -68,7 +68,7 @@ RANLIB = echo XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # diff --git a/INSTALL/make.inc.SGI5 b/INSTALL/make.inc.SGI5 index dccfae33..de55f152 100644 --- a/INSTALL/make.inc.SGI5 +++ b/INSTALL/make.inc.SGI5 @@ -5,11 +5,11 @@ #################################################################### # SHELL = /sbin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is -# selected. Define LOADER and LOADOPTS to refer to the loader and +# selected. Define LOADER and LOADOPTS to refer to the loader and # desired load options for your machine. # FORTRAN = f77 @@ -65,7 +65,7 @@ RANLIB = echo XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # diff --git a/INSTALL/make.inc.SUN4 b/INSTALL/make.inc.SUN4 index dd5cfd41..d9c68c4c 100644 --- a/INSTALL/make.inc.SUN4 +++ b/INSTALL/make.inc.SUN4 @@ -5,11 +5,11 @@ #################################################################### # SHELL = /bin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is -# selected. Define LOADER and LOADOPTS to refer to the loader and +# selected. Define LOADER and LOADOPTS to refer to the loader and # desired load options for your machine. # FORTRAN = f77 @@ -65,7 +65,7 @@ RANLIB = ranlib XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # diff --git a/INSTALL/make.inc.SUN4SOL2 b/INSTALL/make.inc.SUN4SOL2 index eb71a386..d3c78437 100644 --- a/INSTALL/make.inc.SUN4SOL2 +++ b/INSTALL/make.inc.SUN4SOL2 @@ -5,11 +5,11 @@ #################################################################### # SHELL = /bin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is -# selected. Define LOADER and LOADOPTS to refer to the loader and +# selected. Define LOADER and LOADOPTS to refer to the loader and # desired load options for your machine. # FORTRAN = f77 @@ -69,7 +69,7 @@ RANLIB = echo XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # diff --git a/INSTALL/make.inc.XLF b/INSTALL/make.inc.XLF index 5824e8f1..d7fa4b73 100644 --- a/INSTALL/make.inc.XLF +++ b/INSTALL/make.inc.XLF @@ -5,11 +5,11 @@ #################################################################### # SHELL = /bin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is -# selected. Define LOADER and LOADOPTS to refer to the loader and +# selected. Define LOADER and LOADOPTS to refer to the loader and # desired load options for your machine. # FORTRAN = xlf @@ -66,7 +66,7 @@ RANLIB = ranlib XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # diff --git a/INSTALL/make.inc.gfortran b/INSTALL/make.inc.gfortran index 43986435..ccd0994f 100644 --- a/INSTALL/make.inc.gfortran +++ b/INSTALL/make.inc.gfortran @@ -5,18 +5,18 @@ #################################################################### # SHELL = /bin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is -# selected. Define LOADER and LOADOPTS to refer to the loader and +# selected. Define LOADER and LOADOPTS to refer to the loader and # desired load options for your machine. # # Note: During a regular execution, LAPACK might create NaN and Inf -# and handle these quantities appropriately. As a consequence, one +# and handle these quantities appropriately. As a consequence, one # should not compile LAPACK with flags such as -ffpe-trap=overflow. # -FORTRAN = gfortran +FORTRAN = gfortran OPTS = -O2 -frecursive DRVOPTS = $(OPTS) NOOPT = -O0 -frecursive @@ -69,7 +69,7 @@ RANLIB = ranlib XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # diff --git a/INSTALL/make.inc.gfortran_debug b/INSTALL/make.inc.gfortran_debug index 294758f0..f87b949c 100644 --- a/INSTALL/make.inc.gfortran_debug +++ b/INSTALL/make.inc.gfortran_debug @@ -5,7 +5,7 @@ #################################################################### # SHELL = /bin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is @@ -13,7 +13,7 @@ SHELL = /bin/sh # and desired load options for your machine. # # Note: During a regular execution, LAPACK might create NaN and Inf -# and handle these quantities appropriately. As a consequence, one +# and handle these quantities appropriately. As a consequence, one # should not compile LAPACK with flags such as -ffpe-trap=overflow. # FORTRAN = gfortran -fimplicit-none -g -frecursive @@ -32,7 +32,7 @@ LOADOPTS = # For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME # TIMER = INT_ETIME # If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...) -# SECOND and DSECND will use a call to the Fortran standard INTERNAL FUNCTION CPU_TIME +# SECOND and DSECND will use a call to the Fortran standard INTERNAL FUNCTION CPU_TIME TIMER = INT_CPU_TIME # If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0 # TIMER = NONE @@ -69,7 +69,7 @@ RANLIB = ranlib XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # diff --git a/INSTALL/make.inc.ifort b/INSTALL/make.inc.ifort index 504ab1c3..4dd4f361 100644 --- a/INSTALL/make.inc.ifort +++ b/INSTALL/make.inc.ifort @@ -5,7 +5,7 @@ #################################################################### # SHELL = /bin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is @@ -17,7 +17,7 @@ OPTS = -O3 -fp-model strict DRVOPTS = $(OPTS) NOOPT = -O0 -fp-model strict LOADER = ifort -LOADOPTS = +LOADOPTS = # # Timer for the SECOND and DSECND routines # @@ -28,7 +28,7 @@ TIMER = EXT_ETIME # For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME # TIMER = INT_ETIME # If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...) -# SECOND and DSECND will use a call to the Fortran standard INTERNAL FUNCTION CPU_TIME +# SECOND and DSECND will use a call to the Fortran standard INTERNAL FUNCTION CPU_TIME # TIMER = INT_CPU_TIME # If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0 # TIMER = NONE @@ -65,7 +65,7 @@ RANLIB = ranlib XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # diff --git a/INSTALL/make.inc.pgf95 b/INSTALL/make.inc.pgf95 index aaddfa5b..595b64c8 100644 --- a/INSTALL/make.inc.pgf95 +++ b/INSTALL/make.inc.pgf95 @@ -5,11 +5,11 @@ #################################################################### # SHELL = /bin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is -# selected. Define LOADER and LOADOPTS to refer to the loader and +# selected. Define LOADER and LOADOPTS to refer to the loader and # desired load options for your machine. # FORTRAN = pgf95 @@ -65,7 +65,7 @@ RANLIB = echo XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # diff --git a/INSTALL/make.inc.pghpf b/INSTALL/make.inc.pghpf index 782c16d7..8639530a 100644 --- a/INSTALL/make.inc.pghpf +++ b/INSTALL/make.inc.pghpf @@ -5,11 +5,11 @@ #################################################################### # SHELL = /bin/sh -# +# # Modify the FORTRAN and OPTS definitions to refer to the # compiler and desired compiler options for your machine. NOOPT # refers to the compiler options desired when NO OPTIMIZATION is -# selected. Define LOADER and LOADOPTS to refer to the loader and +# selected. Define LOADER and LOADOPTS to refer to the loader and # desired load options for your machine. # FORTRAN = pghpf @@ -65,7 +65,7 @@ RANLIB = echo XBLASLIB = # XBLASLIB = -lxblas # -# The location of the libraries to which you will link. (The +# The location of the libraries to which you will link. (The # machine-specific, optimized BLAS library should be used whenever # possible.) # |