forked from JuliaPackaging/Yggdrasil
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpetsc_name_mangle.patch
More file actions
14 lines (14 loc) · 873 Bytes
/
petsc_name_mangle.patch
File metadata and controls
14 lines (14 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/config/BuildSystem/config/packages/BlasLapack.py b/config/BuildSystem/config/packages/BlasLapack.py
index bbae50c096..9ad0a994eb 100644
--- a/config/BuildSystem/config/packages/BlasLapack.py
+++ b/config/BuildSystem/config/packages/BlasLapack.py
@@ -121,7 +121,8 @@ class Configure(config.package.Package):
foundLapack = 0
self.f2c = 0
# allow a user-specified suffix to be appended to BLAS/LAPACK symbols
- self.suffix = self.argDB.get('with-blaslapack-suffix', '')
+ # argDB return a list when with-blaslapack-suffix is used
+ self.suffix = self.argDB.get('with-blaslapack-suffix', '')[0]
mangleFunc = self.compilers.fortranMangling
self.logPrint('Checking for Fortran name mangling '+mangleFunc+' on BLAS/LAPACK')
foundBlas = self.checkBlas(blasLibrary, self.getOtherLibs(foundBlas, blasLibrary), mangleFunc,'dot')