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 422ed4f2be27223b53c39a3d3f7b973781a6a420 (commit) from d3cae7aa012174bac6eecdca4ee3189c62400c48 (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 422ed4f2be27223b53c39a3d3f7b973781a6a420 Author: Matias Elo matias.elo@nokia.com Date: Wed Jul 19 16:38:19 2017 +0300
travis: cache dpdk directory
Cache DPDK directory so each individual test doesn't have to download and build the code. Speeds up each tests which require dpdk by ~3 minutes.
Signed-off-by: Matias Elo matias.elo@nokia.com Reviewed-by: Bill Fischofer bill.fischofer@linaro.org
diff --git a/.travis.yml b/.travis.yml index 93567912..b1f8e4ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,9 @@ # See https://scan.coverity.com/travis_ci
language: c +cache: + directories: + - dpdk sudo: required dist: trusty group: deprecated-2017Q2 @@ -108,17 +111,21 @@ install: - gem install asciidoctor - PATH=${PATH//:./node_modules/.bin/}
-# DPDK pktio +# DPDK pktio. Note that cache must be purged if dpdk version changes. - TARGET=${TARGET:-"x86_64-native-linuxapp-gcc"} - - git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v17.02 http://dpdk.org/git/dpdk dpdk - - pushd dpdk - - git log --oneline --decorate - - make config T=${TARGET} O=${TARGET} - - pushd ${TARGET} - - sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config - - popd - - make install T=${TARGET} EXTRA_CFLAGS="-fPIC" - - popd + - | + if [ ! -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 + pushd dpdk + git log --oneline --decorate + make config T=${TARGET} O=${TARGET} + pushd ${TARGET} + sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config + popd + make install T=${TARGET} EXTRA_CFLAGS="-fPIC" + rm -r ./doc ./${TARGET}/app ./${TARGET}/build + popd + fi
# Netmap pktio - git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v11.2 https://github.com/luigirizzo/netmap.git
-----------------------------------------------------------------------
Summary of changes: .travis.yml | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-)
hooks/post-receive