tree-sitter-sql
tree-sitter-sql copied to clipboard
Building playground fails
When using mac m1 and building playground it just fails
tree-sitter build-wasm
commit hash when it failed for me: 218b672499729ef71e4d66a949e4a1614488aeaa
Here is full logs:
https://gist.github.com/vjerci/19d2166a14c15aaf66663ff5c1937dbb
It seems as if some wrong version of c is used, but to be honest it doesn't happen with other parsers and I'm using about 15 different ones
I'm using dockerized version of emscripten, I've tried bumping it's version but it still fails. When trying with local version of emscripten it seems to be stuck in for loop indefinitely.
If you have any tips how to get it working I would much appreciate it.
When I run build-wasm
on a machine with 8GB RAM, it gets SIGKILLed due to running OOM.
I managed to build it on a machine with 128GB of RAM (took 30 mins) at 218b672499729ef71e4d66a949e4a1614488aeaa: tree-sitter-sql.zip, but it doesn't work in the playground. I get the following console error (I used https://hub.docker.com/r/emscripten/emsdk):
RuntimeError: abort(Assertion failed: undefined). Build with -s ASSERTIONS=1 for more info.