blob: 51b313cef4ac842021b63279d652dfe46f8a0b6a [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001SUMMARY = "Message Passing Interface (MPI) implementation"
2HOMEPAGE = "http://www.mpich.org/"
3SECTION = "devel"
4
5LICENSE = "BSD-2-Clause"
6LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=2106f0435056f3dd9349747a766e5816"
7
8SRC_URI = " \
9 http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz \
10"
11
12SRC_URI[md5sum] = "f414cfa77099cd1fa1a5ae4e22db508a"
13SRC_URI[sha256sum] = "0778679a6b693d7b7caff37ff9d2856dc2bfc51318bf8373859bfa74253da3dc"
14
Patrick Williamsddad1a12017-02-23 20:36:32 -060015RDEPENDS_${PN} += "bash perl libxml2"
16S = "${WORKDIR}/${BP}"
17
18EXTRA_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 \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050027 BASH_SHELL='${USRBINPATH}/env bash' \
28 PERL='${USRBINPATH}/env perl' \
Patrick Williamsddad1a12017-02-23 20:36:32 -060029"
30
31inherit autotools-brokensep gettext
32
33do_configure_prepend() {
Brad Bishop316dfdd2018-06-25 12:45:53 -040034 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
Patrick Williamsddad1a12017-02-23 20:36:32 -060039 autoreconf --verbose --install --force -I . -I confdb/ -I maint/
40 oe_runconf
41 exit
42}
43
44do_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}