MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / check_llvm

Function check_llvm

tools/shared.py:262–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

260
261
262def check_llvm():
263 targets = get_clang_targets()
264 if 'wasm32' not in targets:
265 logger.critical('LLVM has not been built with the WebAssembly backend, clang reports:')
266 print('===========================================================================', file=sys.stderr)
267 print(targets, file=sys.stderr)
268 print('===========================================================================', file=sys.stderr)
269 return False
270
271 return True
272
273
274def get_node_directory():

Callers 1

perform_sanity_checksFunction · 0.85

Calls 2

get_clang_targetsFunction · 0.85
printFunction · 0.70

Tested by

no test coverage detected