Skip to contentSkip to conversation

rdma-core: add new recipe

PATCH Superseded Wei Lin Guay 2 participants 3 messages Apr 24, 2018 – Apr 25, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rdma-core: add new recipe

RDMA core is the userspace components for the Linux Kernel's InfiniBand/RoCE subsystem. This component contains the userspace libraries for libibverbs (and its associated providers libraries), librdmacm and libibumad. Besides, it also provides additional service daemons such as ibacm and srp_daemon.

---
 .../recipes-support/rdma-core/rdma-core_17.bb      | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-networking/recipes-support/rdma-core/rdma-core_17.bb
meta-networking/recipes-support/rdma-core/rdma-core_17.bb new file +22 -0
new file mode 100644
index 0000000..e45262a
@@ -0,0 +1,22 @@
+SUMMARY = "Userspace support for InfiniBand/RDMA verbs"
+DESCRIPTION = "This is the userspace components for the Linux Kernel's drivers Infiniband/RDMA subsystem."
+SECTION = "libs"
+
+DEPENDS = "libnl eudev"
+RDEPENDS_${PN} = "bash perl"
+
+SRC_URI = "git://github.com/linux-rdma/rdma-core.git;protocol=http;rev=v${PV}"
+
+S = "${WORKDIR}/git"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING.BSD_MIT;md5=4cef3f976a07850eb6d2e5d1ef945e6b"
+
+
+FILES_SOLIBSDEV = ""
+FILES_${PN} += "${libdir}/*"
+INSANE_SKIP_${PN} += "dev-so"
+
+inherit cmake
+
+OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
Signature · 1 line
2.9.3
#1 lore raw
Quoted 19 lines · Wei Lin Guay

RDMA core is the userspace components for the Linux Kernel's InfiniBand/RoCE subsystem. This component contains the userspace libraries for libibverbs (and its associated providers libraries), librdmacm and libibumad. Besides, it also provides additional service daemons such as ibacm and srp_daemon.

---
 .../recipes-support/rdma-core/rdma-core_17.bb      | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-networking/recipes-support/rdma-core/rdma-core_17.bb
meta-networking/recipes-support/rdma-core/rdma-core_17.bb new file +0 -0
new file mode 100644
index 0000000..e45262a

meta-networking/recipes-support/rdma-core/rdma-core_17.bb line 5

Quoted 5 lines
meta-networking/recipes-support/rdma-core/rdma-core_17.bb new file +5 -0
@@ -0,0 +1,22 @@
+SUMMARY = "Userspace support for InfiniBand/RDMA verbs"
+DESCRIPTION = "This is the userspace components for the Linux Kernel's drivers Infiniband/RDMA subsystem."
+SECTION = "libs"
+
+DEPENDS = "libnl eudev"

is eudev a must ?

meta-networking/recipes-support/rdma-core/rdma-core_17.bb line 8

Quoted 3 lines
meta-networking/recipes-support/rdma-core/rdma-core_17.bb new file +3 -0
+RDEPENDS_${PN} = "bash perl"
+
+SRC_URI = "git://github.com/linux-rdma/rdma-core.git;protocol=http;rev=v${PV}"

Drop rev pointing to a tag. We need a hardcoded SHA

meta-networking/recipes-support/rdma-core/rdma-core_17.bb line 12

Quoted 4 lines
meta-networking/recipes-support/rdma-core/rdma-core_17.bb new file +4 -0
+
+S = "${WORKDIR}/git"
+
+LICENSE = "BSD"

it seems there are GPL-2.0 and MIT in play as well also this seems more like BSD-2-Clause so
please make it specific.

Quoted 18 lines
meta-networking/recipes-support/rdma-core/rdma-core_17.bb new file +10 -1
+LIC_FILES_CHKSUM = "file://COPYING.BSD_MIT;md5=4cef3f976a07850eb6d2e5d1ef945e6b"
+
+
+FILES_SOLIBSDEV = ""
+FILES_${PN} += "${libdir}/*"
+INSANE_SKIP_${PN} += "dev-so"
+
+inherit cmake
+
+OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
--

2.9.3

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw

Hi Khem Raj,

Thanks for your prompt review/response!

Quoted 14 lines · Khem Raj
Quoted 13 lines · Wei Lin Guay

RDMA core is the userspace components for the Linux Kernel's InfiniBand/RoCE subsystem. This component contains the userspace libraries for libibverbs (and its associated providers libraries), librdmacm and libibumad. Besides, it also provides additional service daemons such as ibacm and srp_daemon.

---
  .../recipes-support/rdma-core/rdma-core_17.bb      | 22 ++++++++++++++++++++++
  1 file changed, 22 insertions(+)

create mode 100644 meta-networking/recipes-support/rdma-core/rdma-core_17.bb

Quoted 12 lines

meta-networking/recipes-support/rdma-core/rdma-core_17.bb line 5

Quoted 11 lines
meta-networking/recipes-support/rdma-core/rdma-core_17.bb new file +5 -0
new file mode 100644
index 0000000..e45262a
@@ -0,0 +1,22 @@
+SUMMARY = "Userspace support for InfiniBand/RDMA verbs"
+DESCRIPTION = "This is the userspace components for the Linux Kernel's drivers Infiniband/RDMA subsystem."
+SECTION = "libs"
+
+DEPENDS = "libnl eudev"

is eudev a must ?

It isn't, I will fix in v2.

Quoted 6 lines

meta-networking/recipes-support/rdma-core/rdma-core_17.bb line 8

Quoted 4 lines
meta-networking/recipes-support/rdma-core/rdma-core_17.bb new file +3 -0
+RDEPENDS_${PN} = "bash perl"
+
+SRC_URI = "git://github.com/linux-rdma/rdma-core.git;protocol=http;rev=v${PV}"

Drop rev pointing to a tag. We need a hardcoded SHA

Quoted 7 lines

meta-networking/recipes-support/rdma-core/rdma-core_17.bb line 12

Quoted 4 lines
meta-networking/recipes-support/rdma-core/rdma-core_17.bb new file +4 -0
+
+S = "${WORKDIR}/git"
+
+LICENSE = "BSD"

it seems there are GPL-2.0 and MIT in play as well also this seems more like BSD-2-Clause so
please make it specific.

Thanks and noted. I will fix both comments above (change the LICENCE and remove the tag) in v2.

Thanks,
Wei Lin

Quoted 19 lines
Quoted 19 lines
meta-networking/recipes-support/rdma-core/rdma-core_17.bb new file +10 -1
+LIC_FILES_CHKSUM = "file://COPYING.BSD_MIT;md5=4cef3f976a07850eb6d2e5d1ef945e6b"
+
+
+FILES_SOLIBSDEV = ""
+FILES_${PN} += "${libdir}/*"
+INSANE_SKIP_${PN} += "dev-so"
+
+inherit cmake
+
+OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
--

2.9.3

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel