From e80a2f300bdfd78b45048c10ad0cbddf5eedea05 Mon Sep 17 00:00:00 2001 From: Vicente Olivert Riera Date: Thu, 7 Jul 2016 16:47:34 +0100 Subject: openmpi: add Fortran support for MIPS64 We include a file containing cached values for Fortran tests that are performed at the configure step. These tests fail when cross-compiling and this is known upstream. See: https://www.open-mpi.org/community/lists/users/2013/01/21186.php In that thread the upstream maintainer admits that "cross compiling OpenMPI is a known issue" and the way to workaround this is to "pre-populate configure's answers to the Fortran tests (so that it doesn't actually have to run anything)" Signed-off-by: Vicente Olivert Riera [Thomas: use a config cache.] Signed-off-by: Thomas Petazzoni --- package/openmpi/openmpi.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/openmpi/openmpi.mk') diff --git a/package/openmpi/openmpi.mk b/package/openmpi/openmpi.mk index 379ce572fb..c5b8a01b6f 100644 --- a/package/openmpi/openmpi.mk +++ b/package/openmpi/openmpi.mk @@ -20,6 +20,8 @@ OPENMPI_CONF_OPTS = --disable-vt ifeq ($(BR2_TOOLCHAIN_HAS_FORTRAN),y) ifeq ($(BR2_mips)$(BR2_mipsel),y) OPENMPI_FORTRAN_CONF_CACHE = package/openmpi/openmpi-mips32-fortran.cache +else ifeq ($(BR2_mips64)$(BR2_mips64el),y) +OPENMPI_FORTRAN_CONF_CACHE = package/openmpi/openmpi-mips64-fortran.cache endif endif -- cgit v1.2.3