All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/openmpi: fix fortran build
@ 2021-09-03 15:07 Peter Korsgaard
  2021-09-10  9:59 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Korsgaard @ 2021-09-03 15:07 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=fc7eaf3bee861a0e211f7382487e36466c6f6550
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 | 1 +
 package/openmpi/openmpi-mips64-fortran.cache | 1 +
 2 files changed, 2 insertions(+)

diff --git a/package/openmpi/openmpi-mips32-fortran.cache b/package/openmpi/openmpi-mips32-fortran.cache
index 473f73a22e..36f9f02bb8 100644
--- a/package/openmpi/openmpi-mips32-fortran.cache
+++ b/package/openmpi/openmpi-mips32-fortran.cache
@@ -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
diff --git a/package/openmpi/openmpi-mips64-fortran.cache b/package/openmpi/openmpi-mips64-fortran.cache
index 7f0209971a..dea2ce9cda 100644
--- a/package/openmpi/openmpi-mips64-fortran.cache
+++ b/package/openmpi/openmpi-mips64-fortran.cache
@@ -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
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [git commit] package/openmpi: fix fortran build
  2021-09-03 15:07 [Buildroot] [git commit] package/openmpi: fix fortran build Peter Korsgaard
@ 2021-09-10  9:59 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2021-09-10  9:59 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=fc7eaf3bee861a0e211f7382487e36466c6f6550
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > 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>

Committed to 2021.02.x and 2021.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-10  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03 15:07 [Buildroot] [git commit] package/openmpi: fix fortran build Peter Korsgaard
2021-09-10  9:59 ` Peter Korsgaard

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.