diff mbox series

[API-NEXT,v1,1/1] travis: build dpdk for general cpu

Message ID 1507219211-24313-2-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [API-NEXT,v1,1/1] travis: build dpdk for general cpu | expand

Commit Message

Github ODP bot Oct. 5, 2017, 4 p.m. UTC
From: Maxim Uvarov <maxim.uvarov@linaro.org>


as described here build dpdk for Sandybridge
https://stackoverflow.com/questions/37386738/error-when-running-dpdk-app-on-valgrind
to make it work in Travis

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 218 (muvarov:api-next_dpdksnd)
 ** https://github.com/Linaro/odp/pull/218
 ** Patch: https://github.com/Linaro/odp/pull/218.patch
 ** Base sha: 506bf9dcf0e071cd8b168806b1d279124551af86
 ** Merge commit sha: c149cc01768885e10479128e560b3b68c2b7fcf8
 **/
 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 448cfe1bf..b6001c551 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -161,6 +161,8 @@  install:
             make config T=${TARGET} O=${TARGET}
             pushd ${TARGET}
             sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config
+            cat .config |grep RTE_MACHINE
+            sed -ri 's,(CONFIG_RTE_MACHINE=).*,\1"snb",' .config
             popd
             make install T=${TARGET} EXTRA_CFLAGS="-fPIC"
             rm -r ./doc ./${TARGET}/app ./${TARGET}/build