[dpdk-dev] [PATCH v2] test: remove meson dependency on /proc file
Ruifeng Wang
Ruifeng.Wang at arm.com
Fri Apr 10 03:14:55 CEST 2020
> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Friday, April 10, 2020 3:34 AM
> To: dev at dpdk.org
> Cc: bruce.richardson at intel.com; Lukasz Wojciechowski
> <l.wojciechow at partner.samsung.com>; Aaron Conole
> <aconole at redhat.com>; Ruifeng Wang <Ruifeng.Wang at arm.com>; David
> Marchand <david.marchand at redhat.com>; Gavin Hu <Gavin.Hu at arm.com>
> Subject: [PATCH v2] test: remove meson dependency on /proc file
>
> Meson is detecting the path /proc/sys/vm/nr_hugepages in the call to cat in
> app/test/meson.build and then adding it as a build dependency.
> This causes build loop if the timestamp of this file keeps changing.
>
> It is fixed by hiding hugepage check in a shell script.
>
> Fixes: 77784ef0fba8 ("test: allow no-huge mode for fast-tests")
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> Tested-by: Lukasz Wojciechowski <l.wojciechow at partner.samsung.com>
> ---
>
> v2: use variable as pointed by Lukasz
>
> ---
> MAINTAINERS | 1 +
> app/test/has-hugepage.sh | 11 +++++++++++
> app/test/meson.build | 8 ++------
> 3 files changed, 14 insertions(+), 6 deletions(-) create mode 100755
> app/test/has-hugepage.sh
>
Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
More information about the dev
mailing list