()
| 4 | |
| 5 | |
| 6 | def 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 | |
| 25 | if __name__ == "__main__": |
no test coverage detected
searching dependent graphs…