def check_tools(fips_dir) : """check whether required command line tools can be found""" log.colored(log.YELLOW, '=== tools:') tools = [ git, cmake, ccmake, cmake_gui, make, ninja, xcodebuild, java, ant, node, python2, ccache ] platform = util.get_host_platform() for tool in tools: if platform in tool.platforms : if tool.check_exists(fips_dir) : log.ok(tool.name, 'found') else : if tool.optional : log.optional(tool.name, 'OPTIONAL, NOT FOUND ({})'.format(tool.not_found)) else : log.failed(tool.name, 'NOT FOUND ({})'.format(tool.not_found))
def check_tools(fips_dir): """check whether required command line tools can be found""" log.colored(log.YELLOW, '=== tools:') tools = [ git, cmake, ccmake, cmake_gui, make, ninja, xcrun, javac, java, node, ccache, vscode, clion, httpserver, wasmtime ] platform = util.get_host_platform() for tool in tools: if platform in tool.platforms: if tool.check_exists(fips_dir): log.ok(tool.name, 'found') else: if tool.optional: log.optional( tool.name, 'OPTIONAL, NOT FOUND ({})'.format(tool.not_found)) else: log.failed(tool.name, 'NOT FOUND ({})'.format(tool.not_found))