Files
meta-openembedded/meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb
Jackie Huang 93d85f6999 mpich: fix QA issue and remove blacklist
Remove the reference of S from .la and DEBUG_PREFIX_MAP
from .pc file to avoid QA issues.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03 19:18:51 +02:00

43 lines
1.1 KiB
BlitzBasic

SUMMARY = "Message Passing Interface (MPI) implementation"
HOMEPAGE = "http://www.mpich.org/"
SECTION = "devel"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=2106f0435056f3dd9349747a766e5816"
SRC_URI = " \
http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz \
"
SRC_URI[md5sum] = "40dc408b1e03cc36d80209baaa2d32b7"
SRC_URI[sha256sum] = "455ccfaf4ec724d2cf5d8bff1f3d26a958ad196121e7ea26504fd3018757652d"
CACHED_CONFIGUREVARS += "BASH_SHELL=${base_bindir}/bash"
RDEPENDS_${PN} += "bash perl libxml2"
S = "${WORKDIR}/${BP}"
EXTRA_OECONF = "--enable-debuginfo \
--enable-fast \
--enable-shared \
--with-pm=gforker \
--disable-rpath \
--disable-f77 \
--disable-fc \
--disable-fortran \
--disable-cxx \
"
inherit autotools-brokensep gettext
do_configure_prepend() {
autoreconf --verbose --install --force -I . -I confdb/ -I maint/
oe_runconf
exit
}
do_install_append() {
sed -i 's,${S}/,,g' ${D}/${libdir}/libmpi.la
sed -i 's,${DEBUG_PREFIX_MAP},,g' ${D}/${libdir}/pkgconfig/mpich.pc
}