diff options
author | 2016-09-04 15:29:00 +0300 | |
---|---|---|
committer | 2016-09-04 15:29:00 +0300 | |
commit | a11688641cc2a7f2c0a47ee9fc91af5768dd8b22 (patch) | |
tree | 9994c72be8c3ded45f21a79beb4a8e5aad602650 /linux_dpdk/b | |
parent | 13a81619495c7d94366182ebfd1ceaafb3b966e4 (diff) |
update waf to version 1.9.3 & update building scripts to support Ubuntu16 & Python3
Diffstat (limited to 'linux_dpdk/b')
-rwxr-xr-x | linux_dpdk/b | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/linux_dpdk/b b/linux_dpdk/b index ba89556f..a6eeed6a 100755 --- a/linux_dpdk/b +++ b/linux_dpdk/b @@ -1,7 +1,14 @@ #! /bin/bash export WAFLOCK=.lock-wafbuild_dpdk -python2.7 waf-1.6.8 $@ -sts=$? -exit $sts +if python2.7 waf-1.9.3 --help &> /dev/null ; then + python2.7 waf-1.9.3 $@ + exit $? +elif python3 waf-1.9.3 --help &> /dev/null ; then + python3 waf-1.9.3 $@ + exit $? +else + echo Required Python versions at least 2.7 or 3 + exit 1 +fi |