diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-05-31 14:58:04 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-06-01 07:49:06 -0700 |
| commit | d4734330cf549d2b296d90f0423019529b3e08fe (patch) | |
| tree | c9db4d83cadd7bcf4758a48ac9e4785e11afce1f /meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb | |
| parent | 3187130698470f0f0d4cdf1e45c9a5a43da8a6f6 (diff) | |
| download | meta-openembedded-d4734330cf549d2b296d90f0423019529b3e08fe.tar.gz | |
mpich: Upgrade to 3.4.2
Explicitly link with libgcc for __addtf3, __multf3 etc 128bit builtins
on x86_64 as they are not available with compiler-rt and when using
compiler-rt the link would fail
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb b/meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb new file mode 100644 index 0000000000..0ee02d685c --- /dev/null +++ b/meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | SUMMARY = "Message Passing Interface (MPI) implementation" | ||
| 2 | HOMEPAGE = "http://www.mpich.org/" | ||
| 3 | SECTION = "devel" | ||
| 4 | |||
| 5 | LICENSE = "BSD-2-Clause" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=bd4d7ab13df98988b1ca2a4e01c8c163" | ||
| 7 | |||
| 8 | SRC_URI = "http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz" | ||
| 9 | SRC_URI[sha256sum] = "5c19bea8b84e8d74cca5f047e82b147ff3fba096144270e3911ad623d6c587bf" | ||
| 10 | |||
| 11 | RDEPENDS_${PN} += "bash perl libxml2" | ||
| 12 | |||
| 13 | EXTRA_OECONF = "--enable-debuginfo \ | ||
| 14 | --enable-fast \ | ||
| 15 | --enable-shared \ | ||
| 16 | --with-pm=gforker \ | ||
| 17 | --disable-rpath \ | ||
| 18 | --disable-f77 \ | ||
| 19 | --disable-fc \ | ||
| 20 | --disable-fortran \ | ||
| 21 | --disable-cxx \ | ||
| 22 | BASH_SHELL='${USRBINPATH}/env bash' \ | ||
| 23 | PERL='${USRBINPATH}/env perl' \ | ||
| 24 | --with-device=ch3:nemesis \ | ||
| 25 | --with-rdmacm=no \ | ||
| 26 | --disable-numa \ | ||
| 27 | " | ||
| 28 | |||
| 29 | PACKAGECONFIG += " \ | ||
| 30 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | ||
| 31 | " | ||
| 32 | PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11" | ||
| 33 | |||
| 34 | LDFLAGS_append_x86-64 = " -lgcc" | ||
| 35 | |||
| 36 | inherit autotools gettext pkgconfig | ||
| 37 | |||
| 38 | do_configure() { | ||
| 39 | for d in confdb test/mpi test/mpi/confdb src/pm/hydra/confdb \ | ||
| 40 | src/pm/hydra/tools/topo/hwloc/hwloc/config src/pm/hydra/mpl/confdb \ | ||
| 41 | modules/yaksa/m4 modules/json-c modules/ucx test/mpi/dtpools/confdb \ | ||
| 42 | src/mpl/confdb src/mpi/romio/confdb; do | ||
| 43 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/$d | ||
| 44 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/$d | ||
| 45 | done | ||
| 46 | # cd ${S} | ||
| 47 | # autoupdate | ||
| 48 | # autoreconf --verbose --install --force | ||
| 49 | # cd ${B} | ||
| 50 | oe_runconf | ||
| 51 | } | ||
| 52 | |||
| 53 | do_install_append() { | ||
| 54 | sed -i 's,${S}/,,g' ${D}/${libdir}/libmpi.la | ||
| 55 | sed -i 's,${DEBUG_PREFIX_MAP},,g' ${D}/${libdir}/pkgconfig/mpich.pc | ||
| 56 | } | ||
