On Fri, Nov 26, 2010 at 3:23 AM, Cyril Hrubis <[email protected]> wrote: >> > > +#include <numaif.h> >> > > +#include <numa.h> >> > > +#include <sys/mman.h> >> > > +#include <stdio.h> >> > > +#include <unistd.h> >> > > +#include <stdlib.h> >> > > +#include <string.h> >> > > +#include "test.h" >> > > +#include "usctest.h" >> > > >> > > gcooper> This will cause breakage on systems without proper numa >> > lib >> > > support *cues some RHEL users from Ryobi on the list :)...* >> > Right, I'll add a autoconf check for this. >> I recalled in the pass that Masatake YAMATO created a doc about how to add >> autoconf to a test but I could not find it now. Is there any recent document >> about how to do it right now?? > > I would start by looking at existing autoconf tests which is > configure.ac and functions in m4/*. Doing 'make autotools' should update > configure script and running it by './configure' should update > include/config.h and few other make scripts.
I'd just look at some of the other numa tests. -Garrett ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
