> -----Original Message-----
> From: Thomas Monjalon <tho...@monjalon.net>
> Sent: Friday, April 10, 2020 3:34 AM
> To: dev@dpdk.org
> Cc: bruce.richard...@intel.com; Lukasz Wojciechowski
> <l.wojciec...@partner.samsung.com>; Aaron Conole
> <acon...@redhat.com>; Ruifeng Wang <ruifeng.w...@arm.com>; David
> Marchand <david.march...@redhat.com>; Gavin Hu <gavin...@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 <tho...@monjalon.net>
> Tested-by: Lukasz Wojciechowski <l.wojciec...@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.w...@arm.com>

Reply via email to