All of lore.kernel.org
 help / color / mirror / Atom feed
From: "kai" <kai.kang@windriver.com>
To: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization] [meta-cloud-services][PATCH] libibverbs: add back from meta-virtualization
Date: Fri, 17 Sep 2021 21:00:46 +0800	[thread overview]
Message-ID: <cd708bfc-c48c-7ecc-316a-4b00b6ccf9cc@windriver.com> (raw)
In-Reply-To: <CADkTA4NaH5w_qXu4W+PoBOf6kej4Ts4ZkuAn3ivq4hjkPbRaXg@mail.gmail.com>

On 9/17/21 8:26 PM, Bruce Ashfield wrote:
> On Fri, Sep 17, 2021 at 3:48 AM kai <kai.kang@windriver.com> wrote:
>> From: Kai Kang <kai.kang@windriver.com>
>>
>> libibverbs has been removed from meta-virtualization but it is still required
>> by librdmacm and glusterfs. So add it back from meta-virtualization.
> My bad, I can revert the drop in meta-virtualization to keep the churn
> to a minimum.
>
> We should look into replacing this recipe with rdma-core (which was on
> my list, but I didn't want to do that replacement this late in the
> cycle).
I check the configure.ac file of librdmacm and no configure option for 
rdma-core. That's why add it back.

And revert is better.

Regards,
Kai

>
> As is obvious from the page:
> http://www.openfabrics.org/downloads/verbs/, there won't be any more
> releases of this package, and we are going to eventually run into
> trouble maintaining it.
>
> Bruce
>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> ---
>>   .../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..90c424ec
>> --- /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"
>> --
>> 2.33.0
>>
>>
>> 
>>
>

-- 
Kai Kang
Wind River Linux


      reply	other threads:[~2021-09-17 13:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-17  7:48 [meta-cloud-services][PATCH] libibverbs: add back from meta-virtualization kai
2021-09-17 12:26 ` [meta-virtualization] " Bruce Ashfield
2021-09-17 13:00   ` kai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd708bfc-c48c-7ecc-316a-4b00b6ccf9cc@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=meta-virtualization@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.