[dpdk-dev] [PATCH] test: remove meson dependency on /proc file
Thomas Monjalon
thomas at monjalon.net
Thu Apr 9 21:24:47 CEST 2020
09/04/2020 20:10, Lukasz Wojciechowski:
>
> W dniu 09.04.2020 o 20:03, Thomas Monjalon pisze:
> > 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>
> > ---
> > +linux_hugepages_number=/proc/sys/vm/nr_hugepages
> > +
> > +if [ -r "$linux_hugepages_number" ] ; then
> > + cat /proc/sys/vm/nr_hugepages
> cat $linux_hugepages_number
True, thank you :-)
More information about the dev
mailing list