petsc/petsc-3.19.4-fix_mumps_includes.patch

12 lines
591 B
Diff
Raw Normal View History

2023-04-13 21:32:21 +00:00
--- a/config/BuildSystem/config/packages/MUMPS.orig.py 2020-03-30 05:33:12.000000000 +0200
+++ b/config/BuildSystem/config/packages/MUMPS.py 2020-04-03 17:01:49.237255499 +0200
2023-08-10 19:45:18 +00:00
@@ -54,7 +54,7 @@
2023-04-13 21:32:21 +00:00
if self.scalartypes.scalartype == 'real': l = 'd'
else: l = 'z'
self.functions = [l+'mumps_c']
- self.includes = [l+'mumps_c.h']
+ self.includes = ['MUMPS/dmumps_c.h']
liblist_common = [['libmumps_common.a','libpord.a','libpthread.a'],
2023-08-10 19:45:18 +00:00
['libmumps_common.a','libpord.a'],
2023-04-13 21:32:21 +00:00
['libmumps_common.a','libpord.a','libmpiseq.a'],