-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
diff -urN petsc-3.22.0.orig/config/PETSc/Configure.py petsc-3.22.0/config/PETSc/Configure.py | ||
--- petsc-3.22.0.orig/config/PETSc/Configure.py 2024-09-29 09:06:09.000000000 +0500 | ||
+++ petsc-3.22.0/config/PETSc/Configure.py 2024-10-20 11:49:48.162439300 +0500 | ||
@@ -150,6 +150,7 @@ | ||
'strcasecmp','bzero','dlopen','dlsym','dlclose','dlerror', | ||
'_set_output_format','_mkdir','socket','gethostbyname','fpresetsticky', | ||
'fpsetsticky','__gcov_dump'] | ||
+ functions.remove('_set_output_format') | ||
libraries = [(['fpe'],'handle_sigfpes')] | ||
librariessock = [(['socket','nsl'],'socket')] | ||
self.headers.headers.extend(headersC) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Binary files petsc-3.22.0.orig/config/BuildSystem/config/101p/libpthread.a and petsc-3.22.0/config/BuildSystem/config/101p/libpthread.a differ | ||
Binary files petsc-3.22.0.orig/config/BuildSystem/config/101p/libpthread.dll.a and petsc-3.22.0/config/BuildSystem/config/101p/libpthread.dll.a differ | ||
Binary files petsc-3.22.0.orig/config/BuildSystem/config/101p/libwinpthread.a and petsc-3.22.0/config/BuildSystem/config/101p/libwinpthread.a differ | ||
Binary files petsc-3.22.0.orig/config/BuildSystem/config/101p/libwinpthread.dll.a and petsc-3.22.0/config/BuildSystem/config/101p/libwinpthread.dll.a differ | ||
diff -urN petsc-3.22.0.orig/config/BuildSystem/config/libraries.py petsc-3.22.0/config/BuildSystem/config/libraries.py | ||
--- petsc-3.22.0.orig/config/BuildSystem/config/libraries.py 2024-09-29 09:06:09.000000000 +0500 | ||
+++ petsc-3.22.0/config/BuildSystem/config/libraries.py 2024-10-20 15:47:05.265558500 +0500 | ||
@@ -641,6 +641,7 @@ | ||
self.logPrint('Using libpthread for the mutex') | ||
self.pthreadmutex = ['libpthread.a'] | ||
self.addDefine('HAVE_PTHREAD_MUTEX',1) | ||
+ self.setCompilers.LIBS += ' -lpthread' | ||
else: | ||
self.logPrint('No pthread mutex support found') | ||
return | ||
@@ -666,7 +667,7 @@ | ||
self.executeTest(self.checkMathLog2) | ||
self.executeTest(self.checkRealtime) | ||
self.executeTest(self.checkDynamic) | ||
- self.executeTest(self.checkPthreadMutex) | ||
+ if self.argDB['with-pthread']: self.executeTest(self.checkPthreadMutex) | ||
if not self.argDB['with-batch']: | ||
self.executeTest(self.checkExecutableExportFlag) | ||
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters