From: "Hussin, Mohamad Noor Alim" <mohamad.noor.alim.hussin@intel.com>
To: "Xueming(Steven) Li" <xuemingl@nvidia.com>,
"stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [PATCH 20.11] ifpga/meson: Fix finding librt using find_library()
Date: Mon, 28 Jun 2021 07:42:33 +0000 [thread overview]
Message-ID: <DM5PR11MB2012CBAF856C6B25311AF63C8D039@DM5PR11MB2012.namprd11.prod.outlook.com> (raw)
In-Reply-To: <DM4PR12MB537385DE8EB43E61BA647014A1069@DM4PR12MB5373.namprd12.prod.outlook.com>
Hi Xueming,
This patch haven't merged in main branch. I will resend this patch to main branch.
I haven't run devtools/checkpatches.sh. Do I need to run this script before send the patch?
Regards,
Alim Hussin
-----Original Message-----
From: Xueming(Steven) Li <xuemingl@nvidia.com>
Sent: Friday, June 25, 2021 8:34 PM
To: Hussin, Mohamad Noor Alim <mohamad.noor.alim.hussin@intel.com>; stable@dpdk.org
Subject: RE: [dpdk-stable] [PATCH 20.11] ifpga/meson: Fix finding librt using find_library()
Hi Mohamad,
Is the patch merged into dpdk main branch? Need a line [ upstream commit <ID> ] in commit message.
BTW, have you run devtools/checkpatches.sh? Seems missing "Fixes: " line.
Best Regards,
Xueming
> -----Original Message-----
> From: stable <stable-bounces@dpdk.org> On Behalf Of mohamad.noor.alim.hussin@intel.com
> Sent: Thursday, June 24, 2021 2:28 PM
> To: stable@dpdk.org
> Cc: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>
> Subject: [dpdk-stable] [PATCH 20.11] ifpga/meson: Fix finding librt using find_library()
>
> From: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>
>
> Finding with "librt" keyword would give the output with full path of librt such as /usr/lib/librt.so instead of -lrt.
>
> Assume find_library() will prepend "lib", thus remove "lib" from "librt" keyword. The output will shows as -lrt.
>
> Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>
> ---
> drivers/raw/ifpga/base/meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/raw/ifpga/base/meson.build b/drivers/raw/ifpga/base/meson.build
> index da2d6e33c..949f7f127 100644
> --- a/drivers/raw/ifpga/base/meson.build
> +++ b/drivers/raw/ifpga/base/meson.build
> @@ -25,7 +25,7 @@ sources = [
>
> rtdep = dependency('librt', required: false) if not rtdep.found()
> - rtdep = cc.find_library('librt', required: false)
> + rtdep = cc.find_library('rt', required: false)
> endif
> if not rtdep.found()
> build = false
> --
> 2.32.0
next prev parent reply other threads:[~2021-06-28 7:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-24 6:27 mohamad.noor.alim.hussin
2021-06-25 12:34 ` Xueming(Steven) Li
2021-06-28 7:42 ` Hussin, Mohamad Noor Alim [this message]
2021-06-28 7:52 ` Xueming(Steven) Li
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=DM5PR11MB2012CBAF856C6B25311AF63C8D039@DM5PR11MB2012.namprd11.prod.outlook.com \
--to=mohamad.noor.alim.hussin@intel.com \
--cc=stable@dpdk.org \
--cc=xuemingl@nvidia.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).