From: Carmelo A. <car...@st...> - 2008-04-07 15:24:50
|
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 |