> -----Original Message-----
> From: Thomas Monjalon <[email protected]>
> Sent: Friday, April 10, 2020 3:34 AM
> To: [email protected]
> Cc: [email protected]; Lukasz Wojciechowski
> <[email protected]>; Aaron Conole
> <[email protected]>; Ruifeng Wang <[email protected]>; David
> Marchand <[email protected]>; Gavin Hu <[email protected]>
> 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 <[email protected]>
> Tested-by: Lukasz Wojciechowski <[email protected]>
> ---
> 
> 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 <[email protected]>

Reply via email to