openmpi: new package

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[Thomas:
 - disable the tracing mechanism using --disable-vt, since it was
   causing the build failure. Avoids the need for a patch.
 - remove the option to pass arbitrary config options.
 - specify the license as being BSD-3c instead of just BSD.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Vicente Olivert Riera 2016-05-20 12:01:00 +01:00 committed by Thomas Petazzoni
parent 74b608f28d
commit f3935440e9
4 changed files with 40 additions and 0 deletions

View File

@ -1194,6 +1194,7 @@ menu "Networking"
source "package/nss-pam-ldapd/Config.in"
source "package/omniorb/Config.in"
source "package/openldap/Config.in"
source "package/openmpi/Config.in"
source "package/openpgm/Config.in"
source "package/openzwave/Config.in"
source "package/ortp/Config.in"

16
package/openmpi/Config.in Normal file
View File

@ -0,0 +1,16 @@
comment "openmpi needs a toolchain w/ dynamic library, NPTL, wchar, C++"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|| !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_OPENMPI
bool "openmpi"
depends on BR2_USE_MMU # fork()
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # dlfcn.h
help
A High Performance Message Passing Library.
https://www.open-mpi.org/

View File

@ -0,0 +1,3 @@
# From: https://www.open-mpi.org/software/ompi/v1.10/
md5 b2f43d9635d2d52826e5ef9feb97fd4c openmpi-1.10.2.tar.bz2
sha1 03934fc0a2dd0d0d2d0459d714a976eabca938fb openmpi-1.10.2.tar.bz2

View File

@ -0,0 +1,20 @@
################################################################################
#
# openmpi
#
################################################################################
OPENMPI_VERSION_MAJOR = 1.10
OPENMPI_VERSION = $(OPENMPI_VERSION_MAJOR).2
OPENMPI_SITE = https://www.open-mpi.org/software/ompi/v$(OPENMPI_VERSION_MAJOR)/downloads
OPENMPI_SOURCE = openmpi-$(OPENMPI_VERSION).tar.bz2
OPENMPI_LICENSE = BSD-3c
OPENMPI_LICENSE_FILES = LICENSE
OPENMPI_INSTALL_STAGING = YES
OPENMPI_CONF_OPTS = --disable-vt
# Disable fortran by default until we add BR2_TOOLCHAIN_HAS_FORTRAN
# hidden symbol to our toolchain infrastructure
OPENMPI_CONF_OPTS += --enable-mpi-fortran=no
$(eval $(autotools-package))