[Buildroot] [PATCH 1/2] ltp-testsuite: disable numa tests

Petr Vorel petr.vorel at gmail.com
Fri Jan 26 14:55:08 UTC 2018


Hi Baruch,

> > As I understand this is about cross compilation, which is inherently 
> > incompatible with AC_RUN_IFELSE[1].

> > > Any idea how to fix it in upstream?

> Thinking about this a little more, I think you can make the test into a 
> compile time test instead of run-time with something like:

> #if LIBNUMA_API_VERSION < 2
> #error libnuma API version too old
> #endif
No, we had it, but we change it to the current state.  as we want to check for presence of
libnuma.so as well during build, as there is LTP library which is linked statically.
I know, this is very unusual, but that's how was LTP designed.

> baruch


Kind regards,
Petr

[1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Runtime



More information about the buildroot mailing list