llvm.org GIT mirror llvm / 4621d01
NFC: lit: python3 compatibility for functions usePlatformSdkOnDarwin/findPlatformSdkVersionOnMacOS These functions should decode subprocess output git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365852 91177308-0d34-0410-b5e6-96231b3b80d8 Alex Lorenz a month ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
403403 except OSError:
404404 res = -1
405405 if res == 0 and out:
406 sdk_path = out
406 sdk_path = out.decode()
407407 lit_config.note('using SDKROOT: %r' % sdk_path)
408408 config.environment['SDKROOT'] = sdk_path
409409
419419 except OSError:
420420 res = -1
421421 if res == 0 and out:
422 return out
422 return out.decode()
423423 return None
424424
425425