Skip to content

Commit

Permalink
travis: Check compilation with DPDK experimental API.
Browse files Browse the repository at this point in the history
Add Travis jobs to check compilation with DPDK experimental API enabled.
This will help us catch issues for the day we need one of them.

Note: this should not be merged to master, intended for dpdk-latest
branch only.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
  • Loading branch information
david-marchand authored and istokes committed Nov 16, 2020
1 parent 94c4712 commit 8976305
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -44,6 +44,7 @@ env:
- KERNEL_LIST="4.14 4.9 4.4 3.16"
- AFXDP=1 KERNEL=5.3
- M32=1 OPTS="--disable-ssl"
- DPDK=1 DPDK_EXPERIMENTAL=1
- DPDK=1 OPTS="--enable-shared"
- DPDK_SHARED=1
- DPDK_SHARED=1 OPTS="--enable-shared"
Expand All @@ -56,6 +57,9 @@ matrix:
- arch: arm64
compiler: gcc
env: TESTSUITE=1 DPDK=1
- arch: arm64
compiler: gcc
env: DPDK=1 DPDK_EXPERIMENTAL=1
- arch: arm64
compiler: gcc
env: KERNEL_LIST="5.5 4.19"
Expand Down
3 changes: 3 additions & 0 deletions .travis/linux-build.sh
Expand Up @@ -186,6 +186,9 @@ if [ "$DPDK" ] || [ "$DPDK_SHARED" ]; then
# Disregard cast alignment errors until DPDK is fixed
CFLAGS_FOR_OVS="${CFLAGS_FOR_OVS} -Wno-cast-align"
fi
if [ -n "$DPDK_EXPERIMENTAL" ]; then
CFLAGS_FOR_OVS="${CFLAGS_FOR_OVS} -DALLOW_EXPERIMENTAL_API"
fi
fi

if [ "$CC" = "clang" ]; then
Expand Down

0 comments on commit 8976305

Please sign in to comment.