diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-03-02 12:03:57 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-03-03 11:08:29 -0800 |
commit | 78027bf3ad59dfcee64e82d656facba84a6ce5e3 (patch) | |
tree | 77efe027e1e35767e2b1f8e6d6e31b874fe6afb6 /meta-oe/recipes-devtools/mpich | |
parent | 7bff4f547a76d665df1772eae21117dda666baa9 (diff) | |
download | meta-openembedded-78027bf3ad59dfcee64e82d656facba84a6ce5e3.tar.gz |
mpich: Upgrade to 3.4.1
Add fixes to work with/with-out X
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jose Quaresma <quaresma.jose@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/mpich')
-rw-r--r-- | meta-oe/recipes-devtools/mpich/mpich_3.2.bb | 47 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/mpich/mpich_3.4.1.bb | 54 |
2 files changed, 54 insertions, 47 deletions
diff --git a/meta-oe/recipes-devtools/mpich/mpich_3.2.bb b/meta-oe/recipes-devtools/mpich/mpich_3.2.bb deleted file mode 100644 index 51b313cef..000000000 --- a/meta-oe/recipes-devtools/mpich/mpich_3.2.bb +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
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=2106f0435056f3dd9349747a766e5816" | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[md5sum] = "f414cfa77099cd1fa1a5ae4e22db508a" | ||
13 | SRC_URI[sha256sum] = "0778679a6b693d7b7caff37ff9d2856dc2bfc51318bf8373859bfa74253da3dc" | ||
14 | |||
15 | RDEPENDS_${PN} += "bash perl libxml2" | ||
16 | S = "${WORKDIR}/${BP}" | ||
17 | |||
18 | EXTRA_OECONF = "--enable-debuginfo \ | ||
19 | --enable-fast \ | ||
20 | --enable-shared \ | ||
21 | --with-pm=gforker \ | ||
22 | --disable-rpath \ | ||
23 | --disable-f77 \ | ||
24 | --disable-fc \ | ||
25 | --disable-fortran \ | ||
26 | --disable-cxx \ | ||
27 | BASH_SHELL='${USRBINPATH}/env bash' \ | ||
28 | PERL='${USRBINPATH}/env perl' \ | ||
29 | " | ||
30 | |||
31 | inherit autotools-brokensep gettext | ||
32 | |||
33 | do_configure_prepend() { | ||
34 | for d in confdb test/mpi/confdb src/openpa/confdb src/pm/hydra/confdb src/pm/hydra/tools/topo/hwloc/hwloc/config src/pm/hydra/mpl/confdb src/mpl/confdb src/mpi/romio/confdb; do | ||
35 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/$d | ||
36 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/$d | ||
37 | done | ||
38 | |||
39 | autoreconf --verbose --install --force -I . -I confdb/ -I maint/ | ||
40 | oe_runconf | ||
41 | exit | ||
42 | } | ||
43 | |||
44 | do_install_append() { | ||
45 | sed -i 's,${S}/,,g' ${D}/${libdir}/libmpi.la | ||
46 | sed -i 's,${DEBUG_PREFIX_MAP},,g' ${D}/${libdir}/pkgconfig/mpich.pc | ||
47 | } | ||
diff --git a/meta-oe/recipes-devtools/mpich/mpich_3.4.1.bb b/meta-oe/recipes-devtools/mpich/mpich_3.4.1.bb new file mode 100644 index 000000000..77e080c8b --- /dev/null +++ b/meta-oe/recipes-devtools/mpich/mpich_3.4.1.bb | |||
@@ -0,0 +1,54 @@ | |||
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] = "8836939804ef6d492bcee7d54abafd6477d2beca247157d92688654d13779727" | ||
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 | inherit autotools gettext pkgconfig | ||
35 | |||
36 | do_configure() { | ||
37 | for d in confdb test/mpi test/mpi/confdb src/pm/hydra/confdb \ | ||
38 | src/pm/hydra/tools/topo/hwloc/hwloc/config src/pm/hydra/mpl/confdb \ | ||
39 | modules/yaksa/m4 modules/json-c modules/ucx test/mpi/dtpools/confdb \ | ||
40 | src/mpl/confdb src/mpi/romio/confdb; do | ||
41 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/$d | ||
42 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/$d | ||
43 | done | ||
44 | # cd ${S} | ||
45 | # autoupdate | ||
46 | # autoreconf --verbose --install --force | ||
47 | # cd ${B} | ||
48 | oe_runconf | ||
49 | } | ||
50 | |||
51 | do_install_append() { | ||
52 | sed -i 's,${S}/,,g' ${D}/${libdir}/libmpi.la | ||
53 | sed -i 's,${DEBUG_PREFIX_MAP},,g' ${D}/${libdir}/pkgconfig/mpich.pc | ||
54 | } | ||