From 5e56502a0222f00f69f25fb41855a7e33d3aeac3 Mon Sep 17 00:00:00 2001 From: layman Date: Tue, 8 Oct 2013 21:04:48 +0200 Subject: Bump petsc to 3.4.2, include support for scotch and mumps Bump PETSc to version 3.4.2. This commit also includes use flags for scotch and mumps support --- .../petsc/files/petsc-3.4.2-disable-rpath.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sci-mathematics/petsc/files/petsc-3.4.2-disable-rpath.patch (limited to 'sci-mathematics/petsc/files') diff --git a/sci-mathematics/petsc/files/petsc-3.4.2-disable-rpath.patch b/sci-mathematics/petsc/files/petsc-3.4.2-disable-rpath.patch new file mode 100644 index 000000000..0ccf45ded --- /dev/null +++ b/sci-mathematics/petsc/files/petsc-3.4.2-disable-rpath.patch @@ -0,0 +1,16 @@ +--- config/BuildSystem/config/setCompilers.py 2013-10-08 19:45:00.581513389 +0200 ++++ config/BuildSystem/config/setCompilers.py 2013-05-13 23:35:20.000000000 +0200 +@@ -1303,12 +1303,7 @@ + for language in languages: + flag = '-L' + self.pushLanguage(language) +- # test '-R' before '-rpath' as sun compilers [c,fortran] don't give proper errors with wrong options. +- if not Configure.isDarwin(): +- testFlags = ['-Wl,-rpath,', '-R','-rpath ' , '-Wl,-R,'] +- else: +- testFlags = [] +- # test '-R' before '-Wl,-rpath' for SUN compilers [as cc on linux accepts -Wl,-rpath, but f90 & CC do not. ++ testFlags = [] + if self.isSun(self.framework.getCompiler()): + testFlags.insert(0,'-R') + for testFlag in testFlags: -- cgit v1.2.3