[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/10: gnu: petsc-openmpi: Fix header inclusions.
From: |
guix-commits |
Subject: |
02/10: gnu: petsc-openmpi: Fix header inclusions. |
Date: |
Tue, 3 May 2022 12:03:31 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit a3b6a4df6c51cfc49f6ae71254a1d4bfb6b8b5d0
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Mon May 2 13:28:28 2022 +0000
gnu: petsc-openmpi: Fix header inclusions.
* gnu/packages/maths.scm (petsc-openmpi)[arguments]: Add
'patch-header-inclusions' phase.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/maths.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index fcd9c5482f..2922d95a70 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3174,7 +3174,16 @@ scientific applications modeled by partial differential
equations.")
(("libptesmumps") "libesmumps")
(("libptscotchparmetis") "libptscotchparmetisv3"))))
(add-before 'configure 'mpi-setup
- #$%openmpi-setup)))))
+ #$%openmpi-setup)
+ (add-after 'install 'patch-header-inclusions
+ ;; TODO: Replace with ‘patch-header-inclusions’ when (some form
+ ;; of) https://issues.guix.gnu.org/54780#19 is merged.
+ (lambda _
+ (substitute* (string-append #$output
"/include/petsclayouthdf5.h")
+ (("<(H5Ipublic.h)>" _ header)
+ (format #f "<~a/include/~a>"
+ #$(this-package-input "hdf5-parallel-openmpi")
+ header)))))))))
(synopsis "Library to solve PDEs (with MUMPS and MPI support)")))
(define-public petsc-complex-openmpi
- branch master updated (654f878f0b -> 8b2d266607), guix-commits, 2022/05/03
- 02/10: gnu: petsc-openmpi: Fix header inclusions.,
guix-commits <=
- 03/10: gnu: sundials: Fix various issues., guix-commits, 2022/05/03
- 08/10: gnu: dealii-openmpi: Remove input labels., guix-commits, 2022/05/03
- 05/10: gnu: sundials: Update to 6.2.0., guix-commits, 2022/05/03
- 06/10: gnu: sundials: Add 5.8.0., guix-commits, 2022/05/03
- 04/10: gnu: sundials-openmpi: Add HYPRE dependency., guix-commits, 2022/05/03
- 09/10: gnu: dealii: Add SUNDIALS dependency., guix-commits, 2022/05/03
- 07/10: gnu: dealii: Remove trailing booleans., guix-commits, 2022/05/03
- 10/10: gnu: dealii: Update to 9.3.3., guix-commits, 2022/05/03
- 01/10: services: pipefs: Correctly handle lack of extensions., guix-commits, 2022/05/03