package/openmpi: fix fortran build
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 31 Aug 2021 16:53:04 +0000 (18:53 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 3 Sep 2021 15:07:03 +0000 (17:07 +0200)
Fix the following build failure with fortran raised since bump to
version 4.0.0 in commit 366e7f1ecb4343ef8b18aef2a11c49055cc89abe and
https://github.com/open-mpi/ompi/commit/99730f798b7aef4c87d282aa24b98916fea45bb6:

checking size of Fortran type(test_mpi_handle)... (cached) 4
checking alignment of Fortran type(test_mpi_handle)... configure: error: Can not determine alignment of type(test_mpi_handle) when cross-compiling

Fixes:
 - http://autobuild.buildroot.org/results/86ffde2f67ffc0bfaeebe72fe742a5c241bc580b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/openmpi/openmpi-mips32-fortran.cache
package/openmpi/openmpi-mips64-fortran.cache

index 473f73a22e8471318828e0727305f392a33c756a..36f9f02bb8a22c6a0a1245ffa72eac9ced822b6a 100644 (file)
@@ -49,3 +49,4 @@ ompi_cv_fortran_kind_value_C_DOUBLE=8
 ompi_cv_fortran_kind_value_C_DOUBLE_COMPLEX=8
 ompi_cv_fortran_true_value=1
 ompi_cv_fortran_sizeof_type_test_mpi_handle_=4
+ompi_cv_fortran_alignment_type_test_mpi_handle_=4
index 7f0209971a65955a8f3fc6a04e88a68c1af53f49..dea2ce9cdace6cd8054d2673fe71bc541cc46fb0 100644 (file)
@@ -58,3 +58,4 @@ ompi_cv_fortran_kind_value_0=0
 ompi_cv_real16_c_equiv=yes
 ompi_cv_fortran_true_value=1
 ompi_cv_fortran_sizeof_type_test_mpi_handle_=4
+ompi_cv_fortran_alignment_type_test_mpi_handle_=4