Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building playground fails #66

Open
vjerci opened this issue Aug 16, 2022 · 1 comment
Open

Building playground fails #66

vjerci opened this issue Aug 16, 2022 · 1 comment

Comments

@vjerci
Copy link

vjerci commented Aug 16, 2022

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.

@chrismwendt
Copy link

chrismwendt commented Nov 6, 2022

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 218b672: 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants