Browse Source

add fast build

Change-Id: Iad9017220c1bb0c8143910786c3a6bd1ee2de826
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Guo Ruijing 2 years ago
parent
commit
953703d2da
2 changed files with 4 additions and 0 deletions
  1. 2
    0
      ovs_build/build-ovs-dpdk.sh
  2. 2
    0
      ovs_build/build-ovs-nsh-dpdk.sh

+ 2
- 0
ovs_build/build-ovs-dpdk.sh View File

@@ -6,6 +6,8 @@ OVS_VER=${OVS_VER:-2.5.1}
6 6
 BUILD_HOME=$HOME/dpdk
7 7
 BUILD_DEST=${BUILD_DEST:-/deb}
8 8
 
9
+export DEB_BUILD_OPTIONS='parallel=8 nocheck'
10
+
9 11
 sudo apt-get build-dep openvswitch -y
10 12
 sudo apt-get -y install devscripts dpkg-dev git wget
11 13
 

+ 2
- 0
ovs_build/build-ovs-nsh-dpdk.sh View File

@@ -6,6 +6,8 @@ OVS_VER=${OVS_VER:-2.5.90}
6 6
 BUILD_HOME=$HOME/nsh
7 7
 BUILD_DEST=${BUILD_DEST:-/deb}
8 8
 
9
+export DEB_BUILD_OPTIONS='parallel=8 nocheck'
10
+
9 11
 sudo apt-get build-dep openvswitch -y
10 12
 sudo apt-get -y install devscripts dpkg-dev git wget
11 13
 

Loading…
Cancel
Save