summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/0002-Add-knob-to-control-whether-numa-support-should-be-c.patch
diff options
context:
space:
mode:
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.patch45
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 @@
1From 867ad5d5d64b9b27ee32148027532db0a00f6433 Mon Sep 17 00:00:00 2001
2From: "Roy.Li" <rongqing.li@windriver.com>
3Date: Thu, 7 Jan 2016 17:33:26 +0000
4Subject: [PATCH 02/32] Add knob to control whether numa support should be
5 checked
6
7otherwise undeterministic dependency will be generated
8during build depending upong numa being staged or not
9
10Signed-off-by: Roy.Li <rongqing.li@windriver.com>
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
13Upstream-Status: Pending
14---
15 m4/ltp-numa.m4 | 10 +++++++++-
16 1 file changed, 9 insertions(+), 1 deletion(-)
17
18diff --git a/m4/ltp-numa.m4 b/m4/ltp-numa.m4
19index 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--
442.7.0
45