MCPcopy
hub / github.com/pyodide/pyodide / main

Function main

tools/check_ccache.py:6–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5
6def main():
7 result = subprocess.run(
8 ["emcc", "--version"], capture_output=True, encoding="utf8", check=False
9 )
10 if result.returncode == 0:
11 return 0
12 if re.search("GLIBC.*not found.*ccache", result.stderr):
13 print(
14 "Emscripten ccache was linked against an incompatible version of glibc.\n"
15 "Run `make -C emsdk clean` and try again.\n"
16 "If this error persists, please open an issue to ask for help."
17 )
18 else:
19 print("Something is wrong but I'm not sure what.")
20 print("Info:")
21 print(result)
22 return 1
23
24
25if __name__ == "__main__":

Callers 1

check_ccache.pyFile · 0.70

Calls 1

runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…