[PATCH] gpu/cuda: fix getenv related build error
Elena Agostini
eagostini at nvidia.com
Thu Oct 5 14:42:48 CEST 2023
Sounds good to me
Thanks
EA
From: David Marchand <david.marchand at redhat.com>
Date: Friday, 29 September 2023 at 17:00
To: Elena Agostini <eagostini at nvidia.com>
Cc: dev at dpdk.org <dev at dpdk.org>, Levend Sayar <levendsayar at gmail.com>, Aaron Conole <aconole at redhat.com>, romein at astron.nl <romein at astron.nl>
Subject: Re: [PATCH] gpu/cuda: fix getenv related build error
External email: Use caution opening links or attachments
On Thu, Aug 3, 2023 at 6:25 PM Levend Sayar <levendsayar at gmail.com> wrote:
>
> If gdrapi.h is available, meson sets DRIVERS_GPU_CUDA_GDRCOPY_H as 1.
> This causes gdrcopy.c build to give an error;
> because compiler can not find signature of getenv.
> stdlib.h is included for the definition of getenv function.
>
There was a bug report for this issue:
Bugzilla ID: 1133
> Fixes: ca12f5e8a7db ("gpu/cuda: mark unused GDRCopy functions parameters")
It is probably worth backporting:
Cc: stable at dpdk.org
>
> Signed-off-by: Levend Sayar <levendsayar at gmail.com>
Elena, this is a quick one, review please.
--
David Marchand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20231005/1c11b34e/attachment.htm>
More information about the dev
mailing list