summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorLu Qiuwen <[email protected]>2021-05-11 09:56:09 +0800
committerLu Qiuwen <[email protected]>2021-05-11 09:56:09 +0800
commitb2b9b27262292d60a726da68a81c0bbe8aa42a33 (patch)
treedb3d72d30adf792d08c04d59129517477eb5751a /cmake
parentdd626f381f590e27394030150af6a761092eb620 (diff)
适配DPDK 20.11并降级指令集拓展以适应E5-2650v2等处理器。
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindDPDK.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindDPDK.cmake b/cmake/FindDPDK.cmake
index 6a7c3aa..c45b8d7 100644
--- a/cmake/FindDPDK.cmake
+++ b/cmake/FindDPDK.cmake
@@ -22,7 +22,7 @@ include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(DPDK DEFAULT_MSG DPDK_ROOT_DIR DPDK_INCLUDE_DIR DPDK_LIBRARY)
if(NOT RTE_MARCH)
- set(RTE_MARCH "native")
+ set(RTE_MARCH "core-avx2")
endif()
# DPDK CPU Flags