travis: switch to using the dpdk submodule

Change-Id: I96cb0bc89e793126984899a4ded4e3a1dee56107
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/362045
Tested-by: <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Daniel Verkamp 2017-05-17 16:44:20 -07:00 committed by Jim Harris
parent 305cb239d2
commit b23bc69cfa

View File

@ -24,18 +24,10 @@ before_script:
export PATH=$PWD/bin:$PATH;
popd;
fi
- wget http://fast.dpdk.org/rel/dpdk-17.02.tar.xz
- tar xf dpdk-17.02.tar.xz
- pushd dpdk-17.02
- make config T=x86_64-native-linuxapp-$CC
- sed -i s/CONFIG_RTE_EAL_IGB_UIO=y/CONFIG_RTE_EAL_IGB_UIO=n/ build/.config
- sed -i s/CONFIG_RTE_KNI_KMOD=y/CONFIG_RTE_KNI_KMOD=n/ build/.config
- make
- make install DESTDIR=.
- export DPDK_DIR=$PWD/usr/local/share/dpdk/x86_64-native-linuxapp-$CC
- popd
- git submodule update --init
script:
- ./scripts/check_format.sh
- make CONFIG_WERROR=y
- ./configure --enable-werror
- make
- ./unittest.sh