summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-05-31 14:58:04 -0700
committerKhem Raj <raj.khem@gmail.com>2021-06-01 07:49:06 -0700
commitd4734330cf549d2b296d90f0423019529b3e08fe (patch)
treec9db4d83cadd7bcf4758a48ac9e4785e11afce1f /meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb
parent3187130698470f0f0d4cdf1e45c9a5a43da8a6f6 (diff)
downloadmeta-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.bb56
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 @@
1SUMMARY = "Message Passing Interface (MPI) implementation"
2HOMEPAGE = "http://www.mpich.org/"
3SECTION = "devel"
4
5LICENSE = "BSD-2-Clause"
6LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=bd4d7ab13df98988b1ca2a4e01c8c163"
7
8SRC_URI = "http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz"
9SRC_URI[sha256sum] = "5c19bea8b84e8d74cca5f047e82b147ff3fba096144270e3911ad623d6c587bf"
10
11RDEPENDS_${PN} += "bash perl libxml2"
12
13EXTRA_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
29PACKAGECONFIG += " \
30 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
31"
32PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11"
33
34LDFLAGS_append_x86-64 = " -lgcc"
35
36inherit autotools gettext pkgconfig
37
38do_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
53do_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}