Package: deal.ii / 9.2.0-3

link_libopen-pal.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Explicitly link libopen-pal to avoid apparent underlinking in openmpi
 This allows deal.ii to be linked with the gold linker,
 avoiding a FTBFS on arm64 and ppc64el.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1841577
Author: Graham Inggs <ginggs@debian.org>
Last-Update: 2019-08-28

--- a/cmake/modules/FindMPI.cmake
+++ b/cmake/modules/FindMPI.cmake
@@ -124,6 +124,8 @@
   SET(MPI_VERSION_MINOR "0")
 ENDIF()
 
+LIST(APPEND MPI_CXX_LIBRARIES -lopen-pal)
+
 DEAL_II_PACKAGE_HANDLE(MPI
   LIBRARIES
     OPTIONAL MPI_CXX_LIBRARIES MPI_Fortran_LIBRARIES MPI_C_LIBRARIES