summaryrefslogtreecommitdiffstats
path: root/src/vnf/virtio-user-ping/build_vpp.sh
blob: 9404bb18b92ce6e9a87f059f683d649e0a0e7f94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
sudo apt-get update
sudo apt-get -y install sudo apt-transport-https devscripts git wget vim net-tools
cd /root
git clone https://gerrit.fd.io/r/vpp
cd vpp
git checkout stable/1707
cp  ../01-add-single-file.patch  dpdk/dpdk-17.05_patches
cp  ../02-fix-nohuge-option.patch  dpdk/dpdk-17.05_patches
patch -p1 < ../virtio-user.patch
make UNATTENDED=yes install-dep || true
make bootstrap
make build; find . -type f | grep "install.*bin" | xargs -I {} cp {} /usr/bin/