1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
From: Dima Kogan <dima@secretsauce.net>
Date: Sun, 30 Aug 2015 23:27:28 -0700
Subject: I don't need to link with gfortran explicitly
---
Complex/Makefile.PL | 4 ++--
Real/Makefile.PL | 6 +++---
Trans/Makefile.PL | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Complex/Makefile.PL b/Complex/Makefile.PL
index ed8e3ff..f0671c1 100755
--- a/Complex/Makefile.PL
+++ b/Complex/Makefile.PL
@@ -10,14 +10,14 @@ use Config;
%hash = pdlpp_stdargs(@::pack);
# $hash{'OPTIMIZE'} = '-g'; # If you want to debug, uncomment this.
-#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml -lgfortran ';
+#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml ';
#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-L/usr/lib/atlas -llapack -lblas -latlas ';
#$hash{'OPTIMIZE'} = '-O2 -mtune=k8'; # If you want to debug, uncomment this.
$hash{LIBS}[0] .= ( eval {require PkgConfig; join ' ', PkgConfig->find('lapack')->get_ldflags} ||
eval {require ExtUtils::PkgConfig; ExtUtils::PkgConfig->libs('lapack')} ||
`pkg-config lapack blas --libs` ||
- '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lgfortran -lquadmath";
+ '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lquadmath";
$hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib ../lapack/libacml.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\msvcrt.lib" ' if $^O =~ /MSWin/ && $Config{cc} eq 'cl';
diff --git a/Real/Makefile.PL b/Real/Makefile.PL
index fe60f86..fea9908 100755
--- a/Real/Makefile.PL
+++ b/Real/Makefile.PL
@@ -9,17 +9,17 @@ do('../Config');
@pack = (["real.pd",Real,PDL::LinearAlgebra::Real]);
%hash = pdlpp_stdargs(@::pack);
-#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml -lgfortran ';
+#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml ';
#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-L/usr/lib/atlas -llapack -lblas -latlas ';
# $hash{'OPTIMIZE'} = '-g'; # If you want to debug, uncomment this.
-#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml -lgfortran ';
+#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-lacml ';
#$hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-L/usr/lib/atlas -llapack -lblas -latlas ';
#$hash{'OPTIMIZE'} = '-O2 -mtune=k8'; # If you want to debug, uncomment this.
$hash{LIBS}[0] .= ( eval {require PkgConfig; join ' ', PkgConfig->find('lapack')->get_ldflags} ||
eval {require ExtUtils::PkgConfig; ExtUtils::PkgConfig->libs('lapack')} ||
`pkg-config lapack blas --libs` ||
- '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lgfortran -lquadmath";
+ '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lquadmath";
$hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib ../lapack/libacml.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\msvcrt.lib" ' if $^O =~ /MSWin/ && $Config{cc} eq 'cl';
diff --git a/Trans/Makefile.PL b/Trans/Makefile.PL
index cd720cb..c0038f6 100644
--- a/Trans/Makefile.PL
+++ b/Trans/Makefile.PL
@@ -14,7 +14,7 @@ use Config;
$hash{LIBS}[0] .= ( eval {require PkgConfig; join ' ', PkgConfig->find('lapack')->get_ldflags} ||
eval {require ExtUtils::PkgConfig; ExtUtils::PkgConfig->libs('lapack')} ||
`pkg-config lapack blas --libs` ||
- '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lgfortran -lquadmath";
+ '-L/usr/lib/atlas -llapack -lblas -latlas' ) . " -lquadmath";
$hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib ../lapack/libacml.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\msvcrt.lib" ' if $^O =~ /MSWin/ && $Config{cc} eq 'cl';
|