summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorKepka, Krzysztof <krzysztof.kepka@intel.com>2021-03-31 13:32:49 +0200
committerDamjan Marion <dmarion@me.com>2021-04-01 12:44:35 +0000
commit5f35a185d5afee2c364fe84f33922bac1a808113 (patch)
tree7021f2f76c73f84b45efe8a989ffdc9342f5d33f /build
parentf339f49d2d4e503e1c3fb2ad5aedc539ab51b4f1 (diff)
dpdk: Update version to 21.02
Update of DPDK to latest stable release. As this introduces new build dependency, it also adds install of pyelftools to the build step. (note however that flush of pip downloads cache dir is required) https://doc.dpdk.org/guides-21.02/rel_notes/release_21_02.html Type: improvement Signed-off-by: Kepka, Krzysztof <krzysztof.kepka@intel.com> Change-Id: I7ed2ca965f01c1062f5abc25ea428e8c1a016366
Diffstat (limited to 'build')
-rw-r--r--build/external/packages/dpdk.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/external/packages/dpdk.mk b/build/external/packages/dpdk.mk
index c35ac84c27b..c7eb0fc3fe1 100644
--- a/build/external/packages/dpdk.mk
+++ b/build/external/packages/dpdk.mk
@@ -22,10 +22,10 @@ DPDK_FAILSAFE_PMD ?= n
DPDK_MACHINE ?= default
DPDK_MLX_IBV_LINK ?= static
-dpdk_version ?= 20.11
+dpdk_version ?= 21.02
dpdk_base_url ?= http://fast.dpdk.org/rel
dpdk_tarball := dpdk-$(dpdk_version).tar.xz
-dpdk_tarball_md5sum_20.11 := 13a990dc3b300635f685e268b36918a3
+dpdk_tarball_md5sum_21.02 := 2c3e4800b04495ad7fa8656a7e1a3ec1
dpdk_tarball_md5sum := $(dpdk_tarball_md5sum_$(dpdk_version))
dpdk_url := $(dpdk_base_url)/$(dpdk_tarball)
dpdk_tarball_strip_dirs := 1
@@ -168,8 +168,8 @@ define dpdk_config_cmds
mkdir -p ../dpdk-meson-venv && \
python3 -m venv ../dpdk-meson-venv && \
source ../dpdk-meson-venv/bin/activate && \
- (if ! ls $(PIP_DOWNLOAD_DIR)meson* ; then pip3 download -d $(PIP_DOWNLOAD_DIR) -f $(DL_CACHE_DIR) meson==0.54 setuptools wheel; fi) && \
- pip3 install --no-index --find-links=$(PIP_DOWNLOAD_DIR) meson==0.54 && \
+ (if ! ls $(PIP_DOWNLOAD_DIR)meson* ; then pip3 download -d $(PIP_DOWNLOAD_DIR) -f $(DL_CACHE_DIR) meson==0.54 setuptools wheel pyelftools; fi) && \
+ pip3 install --no-index --find-links=$(PIP_DOWNLOAD_DIR) meson==0.54 pyelftools && \
PKG_CONFIG_PATH=$(dpdk_install_dir)/lib/pkgconfig meson setup $(dpdk_src_dir) \
$(dpdk_build_dir) \
$(DPDK_MESON_ARGS) \