From 1d47e25958506b7c3b9e01ae6eff4c3e7ebda8cb Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 22 Jan 2020 15:52:02 +0000 Subject: libibverbs: import frmo meta-cloud-services To allow ceph to build without meta-cloud-services in the bblayers, we import libibverbs into meta-virtualization. Signed-off-by: Bruce Ashfield --- recipes-extended/libibverbs/libibverbs_1.2.1.bb | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 recipes-extended/libibverbs/libibverbs_1.2.1.bb diff --git a/recipes-extended/libibverbs/libibverbs_1.2.1.bb b/recipes-extended/libibverbs/libibverbs_1.2.1.bb new file mode 100644 index 00000000..fa7eee62 --- /dev/null +++ b/recipes-extended/libibverbs/libibverbs_1.2.1.bb @@ -0,0 +1,34 @@ +SUMMARY = "Support InfiniBand verbs" +DESCRIPTION = "Libibverbs is a library that allows userspace processes to use InfiniBand/RDMA 'verbs' directly." +HOMEPAGE = "http://www.openfabrics.org/downloads/verbs/" +SECTION = "libs/devel" + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=7c557f27dd795ba77cc419dddc656b51" + +# Official repo is at git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git +SRC_URI = "https://www.openfabrics.org/downloads/verbs/${BPN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "1544ebb89d861ce84057ab43dfcd22a0" +SRC_URI[sha256sum] = "c352a7f24e9a9d30ea74faa35d1b721d78d770506a0c03732e3132b7c85ac330" + +inherit autotools + +DEPENDS = "libnl pkgconfig-native" +PACKAGES += "${PN}-utils" +FILES_${PN} = "${sysconfdir} ${libdir}/*.so.*" +FILES_${PN}-utils = "${bindir}" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind," + +do_install_append() { + mkdir -p ${D}${sysconfdir}/libibverbs.d + rm -f ${D}${libdir}/libibverbs.la +} + +PROVIDES = "virtual/libibverbs" +RPROVIDES_${PN} = "virtual/libibverbs" + +COMPATIBLE_HOST_mipsarch = "none" +COMPATIBLE_HOST_arm = "none" -- cgit v1.2.3-54-g00ecf