diff options
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0002-Add-knob-to-control-whether-numa-support-should-be-c.patch')
-rw-r--r-- | meta/recipes-extended/ltp/ltp/0002-Add-knob-to-control-whether-numa-support-should-be-c.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0002-Add-knob-to-control-whether-numa-support-should-be-c.patch b/meta/recipes-extended/ltp/ltp/0002-Add-knob-to-control-whether-numa-support-should-be-c.patch deleted file mode 100644 index 31460b9089..0000000000 --- a/meta/recipes-extended/ltp/ltp/0002-Add-knob-to-control-whether-numa-support-should-be-c.patch +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | From 867ad5d5d64b9b27ee32148027532db0a00f6433 Mon Sep 17 00:00:00 2001 | ||
2 | From: "Roy.Li" <rongqing.li@windriver.com> | ||
3 | Date: Thu, 7 Jan 2016 17:33:26 +0000 | ||
4 | Subject: [PATCH 02/32] Add knob to control whether numa support should be | ||
5 | checked | ||
6 | |||
7 | otherwise undeterministic dependency will be generated | ||
8 | during build depending upong numa being staged or not | ||
9 | |||
10 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | Signed-off-by: Anders Roxell <anders.roxell@linaro.org> | ||
13 | Upstream-Status: Pending | ||
14 | --- | ||
15 | m4/ltp-numa.m4 | 10 +++++++++- | ||
16 | 1 file changed, 9 insertions(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/m4/ltp-numa.m4 b/m4/ltp-numa.m4 | ||
19 | index fc3383e..44cb559 100644 | ||
20 | --- a/m4/ltp-numa.m4 | ||
21 | +++ b/m4/ltp-numa.m4 | ||
22 | @@ -24,7 +24,13 @@ dnl LTP_CHECK_SYSCALL_NUMA | ||
23 | dnl ---------------------------- | ||
24 | dnl | ||
25 | AC_DEFUN([LTP_CHECK_SYSCALL_NUMA], [ | ||
26 | - AC_CHECK_LIB(numa, numa_available, [have_libnuma=yes]) | ||
27 | + AC_MSG_CHECKING([for numa]) | ||
28 | + AC_ARG_WITH( | ||
29 | + [numa], | ||
30 | + AC_HELP_STRING([--without-numa], | ||
31 | + [without numa support]), | ||
32 | + [], | ||
33 | + [AC_CHECK_LIB(numa, numa_available, [have_libnuma=yes]) | ||
34 | AC_CHECK_HEADERS([numa.h numaif.h], [], [have_numa_headers=no]) | ||
35 | |||
36 | if test "x$have_numa_headers" != "xno"; then | ||
37 | @@ -42,3 +48,5 @@ exit(1); | ||
38 | AC_DEFINE(HAVE_NUMA_V2, 1, [Define to 1 if you have libnuma and it's headers version >= 2 installed.]) | ||
39 | fi | ||
40 | ]) | ||
41 | +AC_MSG_RESULT([$with_numa]) | ||
42 | +]) | ||
43 | -- | ||
44 | 2.7.0 | ||
45 | |||