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 /make.inc.example | |
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 'make.inc.example')
-rw-r--r-- | make.inc.example | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/make.inc.example b/make.inc.example index f59f34e7..fe2f0ad8 100644 --- a/make.inc.example +++ b/make.inc.example @@ -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 @@ -70,7 +70,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.) # |