forked from skydive-project/skydive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdpdk.govendor.patch
11 lines (10 loc) · 1.67 KB
/
dpdk.govendor.patch
1
2
3
4
5
6
7
8
9
10
11
--- vendor/github.com/intel-go/yanff/low/low.go.orig 2017-10-04 17:52:40.709990898 +1100
+++ vendor/github.com/intel-go/yanff/low/low.go 2017-10-04 17:52:12.927286519 +1100
@@ -22,6 +22,8 @@
extern void statistics(float N);
extern int getMempoolSpace(struct rte_mempool * m);
*/
+// #cgo CFLAGS: -I../../../../../dpdk/dpdk-17.08/x86_64-native-linuxapp-gcc/include -O3 -g -std=gnu11 -m64 -pthread -march=native -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2 -DRTE_MACHINE_CPUFLAG_SSE3 -DRTE_MACHINE_CPUFLAG_SSSE3 -DRTE_MACHINE_CPUFLAG_SSE4_1 -DRTE_MACHINE_CPUFLAG_SSE4_2 -DRTE_MACHINE_CPUFLAG_PCLMULQDQ -DRTE_MACHINE_CPUFLAG_RDRAND -DRTE_MACHINE_CPUFLAG_FSGSBASE -DRTE_MACHINE_CPUFLAG_F16C -include rte_config.h
+// #cgo LDFLAGS: -L../../../../../dpdk/dpdk-17.08/x86_64-native-linuxapp-gcc/lib -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -Wl,--no-as-needed -Wl,-export-dynamic -Wl,--whole-archive -lrte_distributor -lrte_reorder -lrte_kni -lrte_pipeline -lrte_table -lrte_port -lrte_timer -lrte_hash -lrte_jobstats -lrte_lpm -lrte_power -lrte_acl -lrte_meter -lrte_sched -lrte_vhost -Wl,--start-group -lrte_kvargs -lrte_mbuf -lrte_ip_frag -lrte_ethdev -lrte_mempool -lrte_ring -lrte_eal -lrte_cmdline -lrte_cfgfile -lrte_pmd_bond -lrte_pmd_vmxnet3_uio -lrte_net -lrte_pmd_virtio -lrte_pmd_cxgbe -lrte_pmd_enic -lrte_pmd_i40e -lrte_pmd_fm10k -lrte_pmd_ixgbe -lrte_pmd_e1000 -lrte_pmd_ring -lrte_pmd_af_packet -lrte_pmd_null -lrt -lm -ldl -lnuma -lrte_mempool_ring -Wl,--end-group -Wl,--no-whole-archive
import "C"
import (