summaryrefslogtreecommitdiff
path: root/c_check
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-06-27 12:05:18 -0700
committerTimothy Gu <timothygu99@gmail.com>2014-06-27 12:05:18 -0700
commit6c2ead30f0526226d87c9287b956584f867dd2a5 (patch)
tree92772d55b77c27da41af68ac8d5ea98ee9b59baa /c_check
parentd10db52edbbc49100c9c12567f5273b6da3e4722 (diff)
downloadopenblas-6c2ead30f0526226d87c9287b956584f867dd2a5.tar.gz
openblas-6c2ead30f0526226d87c9287b956584f867dd2a5.tar.bz2
openblas-6c2ead30f0526226d87c9287b956584f867dd2a5.zip
Remove all trailing whitespace except lapack-netlib
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'c_check')
-rw-r--r--c_check18
1 files changed, 9 insertions, 9 deletions
diff --git a/c_check b/c_check
index 0828a5bba..94b0bf36e 100644
--- a/c_check
+++ b/c_check
@@ -180,9 +180,9 @@ $linker_a = "";
{
$link = `$compiler_name -c ctest2.c -o ctest2.o 2>&1 && $compiler_name $openmp -v ctest2.o -o ctest2 2>&1 && rm -f ctest2.o ctest2 ctest2.exe`;
-
+
$link =~ s/\-Y\sP\,/\-Y/g;
-
+
@flags = split(/[\s\,\n]/, $link);
# remove leading and trailing quotes from each flag.
@flags = map {s/^['"]|['"]$//g; $_} @flags;
@@ -193,15 +193,15 @@ $linker_a = "";
&& ($flags !~ /^-LIST:/)
&& ($flags !~ /^-LANG:/)
) {
- $linker_L .= $flags . " "
+ $linker_L .= $flags . " "
}
if ($flags =~ /^\-Y/) {
- $linker_L .= "-Wl,". $flags . " "
+ $linker_L .= "-Wl,". $flags . " "
}
-
+
if (
- ($flags =~ /^\-l/)
+ ($flags =~ /^\-l/)
&& ($flags !~ /gfortranbegin/)
&& ($flags !~ /frtbegin/)
&& ($flags !~ /pathfstart/)
@@ -213,7 +213,7 @@ $linker_a = "";
&& ($flags !~ /advapi32/)
&& ($flags !~ /shell32/)
) {
- $linker_l .= $flags . " "
+ $linker_l .= $flags . " "
}
$linker_a .= $flags . " " if $flags =~ /\.a$/;
@@ -250,9 +250,9 @@ print CONFFILE "#define __64BIT__\t1\n" if $binformat eq bin64;
print CONFFILE "#define FUNDERSCORE\t$need_fu\n" if $need_fu ne "";
if ($os eq "LINUX") {
-
+
# @pthread = split(/\s+/, `nm /lib/libpthread.so* | grep _pthread_create`);
-
+
# if ($pthread[2] ne "") {
# print CONFFILE "#define PTHREAD_CREATE_FUNC $pthread[2]\n";
# } else {