Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 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 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 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 \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 27 | BASH_SHELL='${USRBINPATH}/env bash' \ |
| 28 | PERL='${USRBINPATH}/env perl' \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 29 | " |
| 30 | |
| 31 | inherit autotools-brokensep gettext |
| 32 | |
| 33 | do_configure_prepend() { |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 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 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 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 | } |