diff options
author | Eric Engestrom <[email protected]> | 2017-09-19 13:56:34 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2017-09-25 11:57:12 +0100 |
commit | 7d48219b3ac78895315ea6cef3ced3e55d3d92f0 (patch) | |
tree | a8eda30806669392696991393ed9db1cf4e26691 /src/gallium/drivers/swr | |
parent | 3f6a17a8fcdb891409794bb7925a6fb4947b54e1 (diff) |
scons: use python3-compatible print()
These changes were generated using python's `2to3` tool.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102852
Reported-by: Alex Granni <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r-- | src/gallium/drivers/swr/SConscript | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/swr/SConscript b/src/gallium/drivers/swr/SConscript index b394cbc17e3..fdced66463c 100644 --- a/src/gallium/drivers/swr/SConscript +++ b/src/gallium/drivers/swr/SConscript @@ -8,12 +8,12 @@ if not env['swr']: Return() if not env['llvm']: - print 'warning: LLVM disabled: not building swr' + print('warning: LLVM disabled: not building swr') env['swr'] = False Return() if env['LLVM_VERSION'] < distutils.version.LooseVersion('3.9'): - print "warning: swr requires LLVM >= 3.9: not building swr" + print("warning: swr requires LLVM >= 3.9: not building swr") env['swr'] = False Return() @@ -28,7 +28,7 @@ if env['platform'] == 'windows': else: llvm_config = os.environ.get('LLVM_CONFIG', 'llvm-config') llvm_includedir = env.backtick('%s --includedir' % llvm_config).rstrip() - print "llvm include dir %s" % llvm_includedir + print("llvm include dir %s" % llvm_includedir) if not env['msvc'] : env.Append(CCFLAGS = [ |