diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-09-04 15:29:00 +0300 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-09-04 15:29:00 +0300 |
commit | a11688641cc2a7f2c0a47ee9fc91af5768dd8b22 (patch) | |
tree | 9994c72be8c3ded45f21a79beb4a8e5aad602650 /linux/ws_main.py | |
parent | 13a81619495c7d94366182ebfd1ceaafb3b966e4 (diff) |
update waf to version 1.9.3 & update building scripts to support Ubuntu16 & Python3
Diffstat (limited to 'linux/ws_main.py')
-rwxr-xr-x | linux/ws_main.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/linux/ws_main.py b/linux/ws_main.py index b1704e5e..b843fcb5 100755 --- a/linux/ws_main.py +++ b/linux/ws_main.py @@ -9,7 +9,6 @@ VERSION='0.0.1' APPNAME='cxx_test' import os; -import commands; import shutil; import copy; from distutils.version import StrictVersion @@ -76,8 +75,8 @@ def verify_cc_version (env): ver = '.'.join(env['CC_VERSION']) if StrictVersion(ver) < REQUIRED_CC_VERSION: - print "\nMachine GCC version too low '{0}' - required at least '{1}'".format(ver, REQUIRED_CC_VERSION) - print "\n*** please set a compiler using CXX / AR enviorment variables ***\n" + print("\nMachine GCC version too low '{0}' - required at least '{1}'".format(ver, REQUIRED_CC_VERSION)) + print( "\n*** please set a compiler using CXX / AR enviorment variables ***\n") exit(-1) @@ -425,7 +424,7 @@ def build_type(bld,build_obj): def post_build(bld): - print "copy objects" + print("copy objects") exec_p ="../scripts/" |