Hi,
the test on NUMA machine is done at build time on the host (the build 
machine)
on the number of files in the /sys/devices/system/node directory:


x=$(ls /sys/devices/system/node | wc -l)
if [ $x -gt 1 ]
then
echo yes; # numa is available
else
echo no; #numa is not present
fi

When doing cross-compilation this doesn't make sense.
We can easily comment out the whole directory from the build system.

Anyway, to address this kind of issues, I think it could be useful to add
a sort of .config option to the LTP build system, or something else similar.

Also latest fix to check if /usr/include/numa.h is present, works only
if host and target machine are the same (using same kernel), while
doesn't make sense in cross-compilation.

Regards,
Carmelo




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to