This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via c16af6486eea240609f334b1bdc81a11404275de (commit) from 3cb452014694b6a20ab2896370a90b4fbded7512 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit c16af6486eea240609f334b1bdc81a11404275de Author: Maxim Uvarov maxim.uvarov@linaro.org Date: Fri Oct 6 09:21:22 2017 +0300
travis: purge dpdk cache on version change
changing dpdk version and not clearing build can lead to reference to old cached not supported dpdk version. Needed to remove cache if version was changed.
Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Reviewed-by: Dmitry Eremin-Solenikov dmitry.ereminsolenikov@linaro.org
diff --git a/.travis.yml b/.travis.yml index 99057920..7fcd98e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -149,11 +149,17 @@ install: fi - gem install asciidoctor
-# DPDK pktio. Note that cache must be purged if dpdk version changes. + # DPDK pktio. Note that cache must be purged if dpdk version changes. + - DPDK_VERS="17.02" + - | + CACHED_DPDK_VERS=`fgrep Version dpdk/pkg/dpdk.spec | cut -d " " -f 2` + if [ "${CACHED_DPDK_VERS}" != "${DPDK_VERS}" ]; then + rm -rf dpdk + fi - TARGET=${TARGET:-"x86_64-native-linuxapp-gcc"} - | if [ -z "$CROSS_ARCH" -a ! -f "dpdk/${TARGET}/lib/libdpdk.a" ]; then - git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v17.02 http://dpdk.org/git/dpdk dpdk + git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v${DPDK_VERS} http://dpdk.org/git/dpdk dpdk pushd dpdk git log --oneline --decorate make config T=${TARGET} O=${TARGET}
-----------------------------------------------------------------------
Summary of changes: .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
hooks/post-receive