diff mbox series

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

Message ID 1507557617-32018-11-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v3,1/13] linux-gen: drop unused _odp_packet_cmp_data() function | expand

Commit Message

Github ODP bot Oct. 9, 2017, 2 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 188 (WonderfulVoid:master)
 ** https://github.com/Linaro/odp/pull/188
 ** Patch: https://github.com/Linaro/odp/pull/188.patch
 ** Base sha: c16af6486eea240609f334b1bdc81a11404275de
 ** Merge commit sha: 4ad1d0615a4dcd74d4e9703090149eec1a58d7d2
 **/
 .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