> -----Original Message-----
> From: Pai G, Sunil <[email protected]>
> Sent: Wednesday, September 2, 2020 7:25 PM
> To: [email protected]
> Cc: Stokes, Ian <[email protected]>; [email protected];
> [email protected]; Richardson, Bruce
> <[email protected]>; Pai G, Sunil <[email protected]>;
> [email protected]
> Subject: [PATCH dpdk-latest v3] build: Add support for DPDK meson build.
>
> Make based build is deprecated in DPDK. Meson based build to be used for
> future DPDK releases.
>
> This updates travis, configure script and documentation for using DPDK Meson
> with OVS.
>
> Tested-at: https://travis-ci.org/github/Sunil-Pai-G/ovs-copy/builds/723223426
> Signed-off-by: Sunil Pai G <[email protected]>
> ---
> v2->v3:
> - Update Documentation for vhost-user
>
> v1->v2:
> - Update Documentation
> - Simplify the pkg-config parsing script
> - Rename and move the pkg-config parsing script to python dir
> - Update travis to:
> - install DPDK to cached dir
> - disable DPDK tests
> - removed fPIC flag for DPDK
> - removed cross compilation for aarch64
> ---
> .travis.yml | 3 ++
> .travis/linux-build.sh | 39 +++++++++++-----
> .travis/linux-prepare.sh | 1 +
> Documentation/intro/install/afxdp.rst | 2 +-
> Documentation/intro/install/dpdk.rst | 57 ++++++++++++++++++++----
> Documentation/topics/dpdk/vhost-user.rst | 18 +-------
> acinclude.m4 | 44 ++++++++++++------
> python/automake.mk | 3 +-
> python/build/pkgcfg.py | 30 +++++++++++++
> 9 files changed, 145 insertions(+), 52 deletions(-) create mode 100644
> python/build/pkgcfg.py
>
> diff --git a/.travis.yml b/.travis.yml
> index 3dd5d1d23..a8f9a4d79 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -27,6 +27,9 @@ addons:
> - selinux-policy-dev
> - libunbound-dev
> - libunwind-dev
> + - python3-setuptools
> + - python3-wheel
> + - ninja-build
>
> before_install: ./.travis/${TRAVIS_OS_NAME}-prepare.sh
>
> diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index
> 817bf24aa..edd91bd0b 100755
> --- a/.travis/linux-build.sh
> +++ b/.travis/linux-build.sh
> @@ -85,17 +85,29 @@ function install_dpdk() {
> local DPDK_VER=$1
> local VERSION_FILE="dpdk-dir/travis-dpdk-cache-version"
> + local DPDK_OPTS=""
> + local DPDK_LIB=""
>
> if [ -z "$TRAVIS_ARCH" ] ||
> [ "$TRAVIS_ARCH" == "amd64" ]; then
> - TARGET="x86_64-native-linuxapp-gcc"
> + DPDK_LIB="x86_64-linux-gnu"
> elif [ "$TRAVIS_ARCH" == "aarch64" ]; then
> - TARGET="arm64-armv8a-linuxapp-gcc"
> + DPDK_LIB="aarch64-linux-gnu"
> else
> echo "Target is unknown"
<snipped>
V4 sent out to correct checkpatch issues.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev