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

WASM Build #3

Open
edge0701 opened this issue Apr 20, 2017 · 1 comment
Open

WASM Build #3

edge0701 opened this issue Apr 20, 2017 · 1 comment

Comments

@edge0701
Copy link

It would be nice to be able to compile to WASM, as per the PR #2.

I have tried building to WASM from the fork but I get the following error:
LinkError: WebAssembly.instantiate(): Import #41 module="env" function="_llvm_exp2_f64" error: function import requires a callable

I am compiling on ArchLinux using the latest emsdk.
The sed tasks in the Makefile also fail on my OS as it should be sed -i.bak i.e. without a space.

As you know, I can't create an issue on a fork, hence why I am raising it here.
I believe using WASM should increase the speed of ccv-js, which is important.

Great work so far @fta2012 and @shahrodkh, very impressive (:

@fta2012
Copy link
Owner

fta2012 commented Apr 20, 2017

I played with a wasm build based on @shahrodkh's example back then. I just cleaned it up and pushed it. Let me know if that works for you.

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