[LTP] [PATCH 2/3] Add knob to control whether numa support should be checked

Khem Raj raj.khem@gmail.com
Thu Jan 7 18:46:43 CET 2016


From: "Roy.Li" <rongqing.li@windriver.com>

otherwise undeterministic dependency will be generated
during build depending upong numa being staged or not

signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 configure.ac | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/configure.ac b/configure.ac
index cc50397..d1095b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -129,6 +129,12 @@ else
     AC_SUBST([WITH_REALTIME_TESTSUITE],["no"])
 fi
 
+AC_ARG_WITH([numa],
+  AC_HELP_STRING([--without-numa],
+    [without the numa support]),
+  [],[with_numa=yes],
+)
+
 AC_CONFIG_SUBDIRS([utils/ffsb-6.0-rc2])
 
 # END testsuites knobs
@@ -145,7 +151,9 @@ LTP_CHECK_SELINUX
 LTP_CHECK_SIGNAL
 LTP_CHECK_SYSCALL_EVENTFD
 LTP_CHECK_SYSCALL_MODIFY_LDT
+if test "x$with_numa" = xyes; then
 LTP_CHECK_SYSCALL_NUMA
+fi
 LTP_CHECK_SYSCALL_QUOTACTL
 LTP_CHECK_SYSCALL_SIGNALFD
 LTP_CHECK_SYSCALL_UNSHARE
-- 
2.7.0



More information about the Ltp mailing list