diff mbox series

[v3,2/2] travis: build dpdk for general cpu

Message ID 1507316406-2042-3-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v3,1/2] travis: temporary turn off dpdk caching | expand

Commit Message

Github ODP bot Oct. 6, 2017, 7 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 225 (muvarov:master_dpdkgeneric)
 ** https://github.com/Linaro/odp/pull/225
 ** Patch: https://github.com/Linaro/odp/pull/225.patch
 ** Base sha: a63f25ff2994b2df78c24f1f8b63d0e06628eb68
 ** Merge commit sha: 9117f9f378d917666cb63a5090247b0cb3a9493f
 **/
 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 7aff2e623..990579202 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -159,6 +159,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