summaryrefslogtreecommitdiffstats
path: root/recipes-extended/vpp-core/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/vpp-core/files')
-rw-r--r--recipes-extended/vpp-core/files/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch26
-rw-r--r--recipes-extended/vpp-core/files/0001-Link-vpp-api-with-shared-libs-if-static-is-disabled.patch28
-rw-r--r--recipes-extended/vpp-core/files/config.h1
3 files changed, 0 insertions, 55 deletions
diff --git a/recipes-extended/vpp-core/files/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch b/recipes-extended/vpp-core/files/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch
deleted file mode 100644
index 7f838476..00000000
--- a/recipes-extended/vpp-core/files/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 6dab3ad3f91ebcdb16eb9bbb37383718793b675a Mon Sep 17 00:00:00 2001
2From: babak sarashki <babak.sarashki@windriver.com>
3Date: Sat, 29 Sep 2018 09:57:05 -0700
4Subject: [PATCH] GCC above 5.4 fails when we specify arch funattribute.
5
6Here we are as a workaround setting target.
7---
8 src/vppinfra/cpu.h | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/src/vppinfra/cpu.h b/src/vppinfra/cpu.h
12index 110815c..618276c 100644
13--- a/src/vppinfra/cpu.h
14+++ b/src/vppinfra/cpu.h
15@@ -27,7 +27,7 @@
16
17 #if __x86_64__ && CLIB_DEBUG == 0
18 #define foreach_march_variant(macro, x) \
19- macro(avx2, x, "arch=core-avx2")
20+ macro(avx2, x, "avx2")
21 #else
22 #define foreach_march_variant(macro, x)
23 #endif
24--
252.7.4
26
diff --git a/recipes-extended/vpp-core/files/0001-Link-vpp-api-with-shared-libs-if-static-is-disabled.patch b/recipes-extended/vpp-core/files/0001-Link-vpp-api-with-shared-libs-if-static-is-disabled.patch
deleted file mode 100644
index ae1c9cbc..00000000
--- a/recipes-extended/vpp-core/files/0001-Link-vpp-api-with-shared-libs-if-static-is-disabled.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 7005c075cab39c8018d224c2fe56ad2e4f2db340 Mon Sep 17 00:00:00 2001
2From: babak sarashki <babak.sarashki@windriver.com>
3Date: Tue, 11 Sep 2018 14:08:51 -0700
4Subject: [PATCH] Link vpp-api with shared libs if static is disabled
5
6TODO: this is not complete
7---
8 src/vpp-api.am | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/src/vpp-api.am b/src/vpp-api.am
12index 553eafa..30dfe9d 100644
13--- a/src/vpp-api.am
14+++ b/src/vpp-api.am
15@@ -23,8 +23,8 @@ libvppapiclient_la_LIBADD = \
16 -lpthread -lm -lrt
17
18 libvppapiclient_la_LDFLAGS = \
19- -Wl,-L$(top_builddir)/.libs,--whole-archive,-l:libsvm.a,-l:libvppinfra.a,-l:libvlibmemoryclient.a,--no-whole-archive \
20- -Wl,--version-script=$(srcdir)/vpp-api/client/libvppapiclient.map,-lrt
21+ -L$(top_builddir)/.libs -lsvm -lvppinfra -lvlibmemoryclient \
22+ -Wl,--version-script=$(srcdir)/vpp-api/client/libvppapiclient.map,-lrt
23
24 libvppapiclient_la_DEPENDENCIES = libvppinfra.la libvlibmemoryclient.la libsvm.la
25
26--
272.7.4
28
diff --git a/recipes-extended/vpp-core/files/config.h b/recipes-extended/vpp-core/files/config.h
deleted file mode 100644
index 2d617618..00000000
--- a/recipes-extended/vpp-core/files/config.h
+++ /dev/null
@@ -1 +0,0 @@
1#define __PRE_DATA_SIZE 128