diff options
author | Dengke Du <dengke.du@windriver.com> | 2019-03-22 10:13:53 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-03-24 23:14:23 -0400 |
commit | 106a30b756289990070068ecc18b680afee76351 (patch) | |
tree | a9973a7c330956fd535d531687d0e1d3359fd820 /recipes-extended | |
parent | 29b76f4c82a4402e64b96eb766d7cd628122d646 (diff) | |
download | meta-cloud-services-106a30b756289990070068ecc18b680afee76351.tar.gz |
librdmacm: upgrade to 1.1.0
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r-- | recipes-extended/librdmacm/files/0001-librdmacm-needs-libdl.patch (renamed from recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch) | 21 | ||||
-rw-r--r-- | recipes-extended/librdmacm/librdmacm_1.1.0.bb (renamed from recipes-extended/librdmacm/librdmacm_1.0.17.bb) | 6 |
2 files changed, 19 insertions, 8 deletions
diff --git a/recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch b/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 @@ | |||
1 | From d2c39b265f397256482154ad7807260b347176fb Mon Sep 17 00:00:00 2001 | ||
2 | From: Dengke Du <dengke.du@windriver.com> | ||
3 | Date: Thu, 21 Mar 2019 15:58:32 +0800 | ||
4 | Subject: [PATCH] librdmacm needs libdl | ||
5 | |||
1 | Librdmacm links against libibverbs, and the current version of libibverbs | 6 | Librdmacm links against libibverbs, and the current version of libibverbs |
2 | uses dlopen(), so librdmacm must also link against libdl. | 7 | uses dlopen(), so librdmacm must also link against libdl. |
3 | 8 | ||
4 | Upstream-Status: Pending | 9 | Upstream-Status: Pending |
5 | 10 | ||
6 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> | 11 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> |
12 | Signed-off-by: Dengke Du <dengke.du@windriver.com> | ||
7 | --- | 13 | --- |
8 | configure.in | 2 ++ | 14 | configure.ac | 2 ++ |
9 | 1 file changed, 2 insertions(+) | 15 | 1 file changed, 2 insertions(+) |
10 | 16 | ||
11 | --- a/configure.in | 17 | diff --git a/configure.ac b/configure.ac |
12 | +++ b/configure.in | 18 | index 4a43995..2a7f4b9 100644 |
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
13 | @@ -39,6 +39,8 @@ AC_CHECK_SIZEOF(long) | 21 | @@ -39,6 +39,8 @@ AC_CHECK_SIZEOF(long) |
14 | dnl Checks for libraries | 22 | dnl Checks for libraries |
15 | AC_CHECK_LIB(pthread, pthread_mutex_init, [], | 23 | AC_CHECK_LIB(pthread, pthread_mutex_init, [], |
@@ -17,5 +25,8 @@ Signed-off-by: Donn Seeley <donn.seeley@windriver.com> | |||
17 | +AC_CHECK_LIB(dl, dlsym, [], | 25 | +AC_CHECK_LIB(dl, dlsym, [], |
18 | + AC_MSG_ERROR([dlsym() not found. librdmacm requires libdl.])) | 26 | + AC_MSG_ERROR([dlsym() not found. librdmacm requires libdl.])) |
19 | if test "$disable_libcheck" != "yes"; then | 27 | if test "$disable_libcheck" != "yes"; then |
20 | AC_CHECK_LIB(ibverbs, ibv_get_device_list, [], | 28 | AC_CHECK_LIB(ibverbs, ibv_cmd_open_xrcd, [], |
21 | AC_MSG_ERROR([ibv_get_device_list() not found. librdmacm requires libibverbs.])) | 29 | AC_MSG_ERROR([ibv_cmd_open_xrcd() not found. librdmacm requires libibverbs 1.1.8 or later.])) |
30 | -- | ||
31 | 2.7.4 | ||
32 | |||
diff --git a/recipes-extended/librdmacm/librdmacm_1.0.17.bb b/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" | |||
16 | 16 | ||
17 | # Repo is at http://git.openfabrics.org/git?p=~shefty/librdmacm.git | 17 | # Repo is at http://git.openfabrics.org/git?p=~shefty/librdmacm.git |
18 | SRC_URI = "https://www.openfabrics.org/downloads/rdmacm/${BPN}-${PV}.tar.gz \ | 18 | SRC_URI = "https://www.openfabrics.org/downloads/rdmacm/${BPN}-${PV}.tar.gz \ |
19 | file://librdmacm-needs-libdl.patch" | 19 | file://0001-librdmacm-needs-libdl.patch" |
20 | 20 | ||
21 | SRC_URI[md5sum] = "da6fad887e9c24cb01b74b75f8449cb1" | 21 | SRC_URI[md5sum] = "9459e523002978ef6e7b852e01d8b29e" |
22 | SRC_URI[sha256sum] = "9381e1bf2c7079fc257b8eee74e731d3e7eec70e539bb4245084a7b05aeecb2a" | 22 | SRC_URI[sha256sum] = "8f10848d4810585d6d70b443abc876c1db8df5e9b8b07e095c7e6eaf4ac380c5" |
23 | 23 | ||
24 | inherit autotools | 24 | inherit autotools |
25 | 25 | ||