Skip to content

Commit

Permalink
configure: add knob to control numa support
Browse files Browse the repository at this point in the history
Allow to disable numa from the top level.

Based on patch:
http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-extended/ltp?id=4c7873552e13dfdba96afca7562c398d2966ca71

Reported-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
  • Loading branch information
roxell authored and pevik committed Feb 5, 2018
1 parent 4c00397 commit 39a85a1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ else
AC_SUBST([WITH_EXPECT],["no"])
fi

# Numa
AC_ARG_WITH([numa],
AC_HELP_STRING([--without-numa],
[without numa support (default=yes)]),
[with_numa=no],
[with_numa=yes]
)

# Perl
AC_ARG_WITH([perl],
[AC_HELP_STRING([--with-perl],
Expand Down Expand Up @@ -157,7 +165,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
Expand Down

0 comments on commit 39a85a1

Please sign in to comment.