aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlayman <layman@localhost>2013-10-08 21:04:48 +0200
committerMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>2013-10-08 21:18:43 +0200
commit5e56502a0222f00f69f25fb41855a7e33d3aeac3 (patch)
tree5a2b19127f785a6b3cb29b62bd03fbcf62307ddb /sci-mathematics/petsc/files
parentsci-chemistry/freeon-2013.09.16: Removed dependency on sys-libs/zlib. This (diff)
downloadsci-5e56502a0222f00f69f25fb41855a7e33d3aeac3.tar.gz
sci-5e56502a0222f00f69f25fb41855a7e33d3aeac3.tar.bz2
sci-5e56502a0222f00f69f25fb41855a7e33d3aeac3.zip
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
Diffstat (limited to 'sci-mathematics/petsc/files')
-rw-r--r--sci-mathematics/petsc/files/petsc-3.4.2-disable-rpath.patch16
1 files changed, 16 insertions, 0 deletions
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: