blob 7ef1876f7cda1e1247852d62c39ec5ec5077baf3 445 bytes (raw)
name: gnu/packages/patches/petsc-fix-threadcomm.patch # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
| | --- a/src/sys/threadcomm/impls/openmp/tcopenmp.c 2014-03-13 21:47:22.000000000 -0500
+++ b/src/sys/threadcomm/impls/openmp/tcopenmp.c 2014-04-02 14:44:57.185170151 -0500
@@ -1,6 +1,9 @@
#define PETSC_DESIRE_FEATURE_TEST_MACROS
#include <../src/sys/threadcomm/impls/openmp/tcopenmpimpl.h>
#include <omp.h>
+#if defined(PETSC_HAVE_SCHED_CPU_SET_T)
+#include <sched.h>
+#endif
PetscErrorCode PetscThreadCommGetRank_OpenMP(PetscInt *trank)
{
|
debug log:
solving 7ef1876 ...
found 7ef1876 in https://yhetil.org/guix/87eh0emy00.fsf@gmail.com/
applying [1/1] https://yhetil.org/guix/87eh0emy00.fsf@gmail.com/
diff --git a/gnu/packages/patches/petsc-fix-threadcomm.patch b/gnu/packages/patches/petsc-fix-threadcomm.patch
new file mode 100644
index 0000000..7ef1876
1:16: trailing whitespace.
Checking patch gnu/packages/patches/petsc-fix-threadcomm.patch...
Applied patch gnu/packages/patches/petsc-fix-threadcomm.patch cleanly.
warning: 1 line adds whitespace errors.
index at:
100644 7ef1876f7cda1e1247852d62c39ec5ec5077baf3 gnu/packages/patches/petsc-fix-threadcomm.patch
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.