def __init__(self, args, cmd): self.args = args self.apple_clang_path = subprocess.check_output(["xcrun", "--find", "clang"]).strip() xcode_version = util.run_cmd_ignore_fail(["xcodebuild", "-version"]) apple_clang_version = util.run_cmd_ignore_fail([self.apple_clang_path, "--version"]) logging.info("Xcode version:\n%s", xcode_version) logging.info("clang version:\n%s", apple_clang_version) self.cmd = cmd
def __init__(self, args, cmd): self.args = args self.apple_clang_path = \ subprocess.check_output(['xcrun', '--find', 'clang']).strip() xcode_version = util.run_cmd_ignore_fail(['xcodebuild', '-version']) apple_clang_version = util.run_cmd_ignore_fail([self.apple_clang_path, '--version']) logging.info('Xcode version:\n%s', xcode_version) logging.info('clang version:\n%s', apple_clang_version) self.cmd = cmd
def __init__(self, args, cmd): self.args = args # TODO: make the extraction of targets smarter self.build_cmd = [cmd[0], '--debug'] + cmd[1:] # That contains javac version as well version_str = util.run_cmd_ignore_fail([cmd[0], '--version']) logging.info("Running with:\n" + version_str)
def __init__(self, args, cmd): self.args = args # TODO: make the extraction of targets smarter self.build_cmd = [cmd[0], '--debug'] + cmd[1:] # That contains javac version as well version_str = util.run_cmd_ignore_fail([cmd[0], '--version']) path = os.path.join(self.args.infer_out, jwlib.FILELISTS) if not os.path.exists(path): os.mkdir(path) logging.info("Running with:\n" + version_str)
def __init__(self, args, cmd): from inferlib import config, utils self.args = args # TODO: make the extraction of targets smarter self.build_cmd = [cmd[0], '--debug'] + cmd[1:] # That contains javac version as well version_str = util.run_cmd_ignore_fail([cmd[0], '--version']) path = os.path.join(self.args.infer_out, config.JAVAC_FILELISTS_FILENAME) if not os.path.exists(path): os.mkdir(path) logging.info('Running with:\n' + utils.decode(version_str))
def __init__(self, args, cmd): self.args = args util.log_java_version() logging.info(util.run_cmd_ignore_fail(['buck', '--version'])) self.cmd = cmd[2:] # TODO: make the extraction of targets smarter
def __init__(self, args, cmd): self.args = args self.cmd = cmd util.log_java_version() logging.info(util.run_cmd_ignore_fail(['buck', '--version']))
def __init__(self, args, cmd): self.args = args logging.info(util.run_cmd_ignore_fail(['mvn', '-version'])) # TODO: make the extraction of targets smarter self.build_cmd = ['mvn', '-X'] + cmd[1:]
def __init__(self, args, cmd): self.args = args util.log_java_version() logging.info(util.run_cmd_ignore_fail(['ant', '-version'])) # TODO: make the extraction of targets smarter self.build_cmd = ['ant', '-verbose'] + cmd[1:]