All of lore.kernel.org
 help / color / mirror / Atom feed
* [m-c-s][PATCH 1/2] libibverbs: upgrade to 1.2.1
@ 2019-03-22  2:13 Dengke Du
  2019-03-22  2:13 ` [m-c-s][PATCH 2/2] librdmacm: upgrade to 1.1.0 Dengke Du
  2019-03-25  3:14 ` [m-c-s][PATCH 1/2] libibverbs: upgrade to 1.2.1 Bruce Ashfield
  0 siblings, 2 replies; 3+ messages in thread
From: Dengke Du @ 2019-03-22  2:13 UTC (permalink / raw)
  To: meta-virtualization

Signed-off-by: Dengke Du <dengke.du@windriver.com>
---
 .../libibverbs/{libibverbs_1.1.7.bb => libibverbs_1.2.1.bb}          | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename recipes-extended/libibverbs/{libibverbs_1.1.7.bb => libibverbs_1.2.1.bb} (83%)

diff --git a/recipes-extended/libibverbs/libibverbs_1.1.7.bb b/recipes-extended/libibverbs/libibverbs_1.2.1.bb
similarity index 83%
rename from recipes-extended/libibverbs/libibverbs_1.1.7.bb
rename to recipes-extended/libibverbs/libibverbs_1.2.1.bb
index e7e8d65..dd74522 100644
--- a/recipes-extended/libibverbs/libibverbs_1.1.7.bb
+++ b/recipes-extended/libibverbs/libibverbs_1.2.1.bb
@@ -9,11 +9,12 @@ 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] = "5aea59e4766ae4548419010ac84032ff"
-SRC_URI[sha256sum] = "31b4114bf32d41c9fc81a862ec5febed1e982975f21fa177ea9c7516c9064690"
+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}"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [m-c-s][PATCH 2/2] librdmacm: upgrade to 1.1.0
  2019-03-22  2:13 [m-c-s][PATCH 1/2] libibverbs: upgrade to 1.2.1 Dengke Du
@ 2019-03-22  2:13 ` Dengke Du
  2019-03-25  3:14 ` [m-c-s][PATCH 1/2] libibverbs: upgrade to 1.2.1 Bruce Ashfield
  1 sibling, 0 replies; 3+ messages in thread
From: Dengke Du @ 2019-03-22  2:13 UTC (permalink / raw)
  To: meta-virtualization

Signed-off-by: Dengke Du <dengke.du@windriver.com>
---
 ...libdl.patch => 0001-librdmacm-needs-libdl.patch} | 21 ++++++++++++++++-----
 .../{librdmacm_1.0.17.bb => librdmacm_1.1.0.bb}     |  6 +++---
 2 files changed, 19 insertions(+), 8 deletions(-)
 rename recipes-extended/librdmacm/files/{librdmacm-needs-libdl.patch => 0001-librdmacm-needs-libdl.patch} (52%)
 rename recipes-extended/librdmacm/{librdmacm_1.0.17.bb => librdmacm_1.1.0.bb} (86%)

diff --git a/recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch b/recipes-extended/librdmacm/files/0001-librdmacm-needs-libdl.patch
similarity index 52%
rename from recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch
rename to recipes-extended/librdmacm/files/0001-librdmacm-needs-libdl.patch
index bf15bea..8e62f4b 100644
--- a/recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch
+++ b/recipes-extended/librdmacm/files/0001-librdmacm-needs-libdl.patch
@@ -1,15 +1,23 @@
+From d2c39b265f397256482154ad7807260b347176fb Mon Sep 17 00:00:00 2001
+From: Dengke Du <dengke.du@windriver.com>
+Date: Thu, 21 Mar 2019 15:58:32 +0800
+Subject: [PATCH] librdmacm needs libdl
+
 Librdmacm links against libibverbs, and the current version of libibverbs
 uses dlopen(), so librdmacm must also link against libdl.
 
 Upstream-Status: Pending
 
 Signed-off-by: Donn Seeley <donn.seeley@windriver.com>
+Signed-off-by: Dengke Du <dengke.du@windriver.com>
 ---
- configure.in |    2 ++
+ configure.ac | 2 ++
  1 file changed, 2 insertions(+)
 
---- a/configure.in
-+++ b/configure.in
+diff --git a/configure.ac b/configure.ac
+index 4a43995..2a7f4b9 100644
+--- a/configure.ac
++++ b/configure.ac
 @@ -39,6 +39,8 @@ AC_CHECK_SIZEOF(long)
  dnl Checks for libraries
  AC_CHECK_LIB(pthread, pthread_mutex_init, [],
@@ -17,5 +25,8 @@ Signed-off-by: Donn Seeley <donn.seeley@windriver.com>
 +AC_CHECK_LIB(dl, dlsym, [],
 +    AC_MSG_ERROR([dlsym() not found.  librdmacm requires libdl.]))
  if test "$disable_libcheck" != "yes"; then
- AC_CHECK_LIB(ibverbs, ibv_get_device_list, [],
-     AC_MSG_ERROR([ibv_get_device_list() not found.  librdmacm requires libibverbs.]))
+ AC_CHECK_LIB(ibverbs, ibv_cmd_open_xrcd, [],
+     AC_MSG_ERROR([ibv_cmd_open_xrcd() not found.  librdmacm requires libibverbs 1.1.8 or later.]))
+-- 
+2.7.4
+
diff --git a/recipes-extended/librdmacm/librdmacm_1.0.17.bb b/recipes-extended/librdmacm/librdmacm_1.1.0.bb
similarity index 86%
rename from recipes-extended/librdmacm/librdmacm_1.0.17.bb
rename to recipes-extended/librdmacm/librdmacm_1.1.0.bb
index 0ece665..30a0c94 100644
--- a/recipes-extended/librdmacm/librdmacm_1.0.17.bb
+++ b/recipes-extended/librdmacm/librdmacm_1.1.0.bb
@@ -16,10 +16,10 @@ DEPENDS = "virtual/libibverbs"
 
 # Repo is at http://git.openfabrics.org/git?p=~shefty/librdmacm.git
 SRC_URI = "https://www.openfabrics.org/downloads/rdmacm/${BPN}-${PV}.tar.gz \
-           file://librdmacm-needs-libdl.patch"
+           file://0001-librdmacm-needs-libdl.patch"
 
-SRC_URI[md5sum] = "da6fad887e9c24cb01b74b75f8449cb1"
-SRC_URI[sha256sum] = "9381e1bf2c7079fc257b8eee74e731d3e7eec70e539bb4245084a7b05aeecb2a"
+SRC_URI[md5sum] = "9459e523002978ef6e7b852e01d8b29e"
+SRC_URI[sha256sum] = "8f10848d4810585d6d70b443abc876c1db8df5e9b8b07e095c7e6eaf4ac380c5"
 
 inherit autotools
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [m-c-s][PATCH 1/2] libibverbs: upgrade to 1.2.1
  2019-03-22  2:13 [m-c-s][PATCH 1/2] libibverbs: upgrade to 1.2.1 Dengke Du
  2019-03-22  2:13 ` [m-c-s][PATCH 2/2] librdmacm: upgrade to 1.1.0 Dengke Du
@ 2019-03-25  3:14 ` Bruce Ashfield
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2019-03-25  3:14 UTC (permalink / raw)
  To: Dengke Du; +Cc: meta-virtualization

merged (both 1 and 2 in the series).

Bruce

On Thu, Mar 21, 2019 at 10:14 PM Dengke Du <dengke.du@windriver.com> wrote:
>
> Signed-off-by: Dengke Du <dengke.du@windriver.com>
> ---
>  .../libibverbs/{libibverbs_1.1.7.bb => libibverbs_1.2.1.bb}          | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>  rename recipes-extended/libibverbs/{libibverbs_1.1.7.bb => libibverbs_1.2.1.bb} (83%)
>
> diff --git a/recipes-extended/libibverbs/libibverbs_1.1.7.bb b/recipes-extended/libibverbs/libibverbs_1.2.1.bb
> similarity index 83%
> rename from recipes-extended/libibverbs/libibverbs_1.1.7.bb
> rename to recipes-extended/libibverbs/libibverbs_1.2.1.bb
> index e7e8d65..dd74522 100644
> --- a/recipes-extended/libibverbs/libibverbs_1.1.7.bb
> +++ b/recipes-extended/libibverbs/libibverbs_1.2.1.bb
> @@ -9,11 +9,12 @@ 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] = "5aea59e4766ae4548419010ac84032ff"
> -SRC_URI[sha256sum] = "31b4114bf32d41c9fc81a862ec5febed1e982975f21fa177ea9c7516c9064690"
> +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}"
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-25  3:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22  2:13 [m-c-s][PATCH 1/2] libibverbs: upgrade to 1.2.1 Dengke Du
2019-03-22  2:13 ` [m-c-s][PATCH 2/2] librdmacm: upgrade to 1.1.0 Dengke Du
2019-03-25  3:14 ` [m-c-s][PATCH 1/2] libibverbs: upgrade to 1.2.1 Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.