diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2016-07-07 16:47:34 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-08 10:33:57 +0200 |
commit | e80a2f300bdfd78b45048c10ad0cbddf5eedea05 (patch) | |
tree | 0ff565100f24aaa60f41fbf95b8936021e763ec7 /package/openmpi/openmpi.mk | |
parent | cc8e222d01c82ed0ecee27929c520a09a841482b (diff) | |
download | buildroot-e80a2f300bdfd78b45048c10ad0cbddf5eedea05.tar.gz buildroot-e80a2f300bdfd78b45048c10ad0cbddf5eedea05.zip |
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 <Vincent.Riera@imgtec.com>
[Thomas: use a config cache.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/openmpi/openmpi.mk')
-rw-r--r-- | package/openmpi/openmpi.mk | 2 |
1 files changed, 2 insertions, 0 deletions
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 |