[libpdl-linearalgebra-perl] 04/04: I don't need to link with gfortran explicitly
Dima Kogan
dima at secretsauce.net
Mon Aug 31 06:57:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
dkogan-guest pushed a commit to branch patch-queue/master
in repository libpdl-linearalgebra-perl.
commit b49fb55589ba700743f42984782e72c31e34e4f1
Author: Dima Kogan <dima at secretsauce.net>
Date: Sun Aug 30 23:27:28 2015 -0700
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';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpdl-linearalgebra-perl.git
More information about the Pkg-perl-cvs-commits
mailing list