-
Notifications
You must be signed in to change notification settings - Fork 40
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
M1 Mac build issue - could not compile wabt-sys
#237
Comments
Related: dfinity/internet-identity#434 |
Are you able to compile and run |
As a quick local fix you might try commenting this out: https://github.com/demergent-labs/azle/blob/main/src/azle.ts#L104 in node_modules/azle/src/azle.ts |
Related: pepyakin/wabt-rs#78 |
Someone else ran into an issue on an M1 with |
I'm sure there's some single command that magically fixes it somewhere. I'm not blocked because I have other machines though |
@krpeacock I wrapped dfx and the azle dependencies in a docker container. It's not really ready to be used but it be cool if you tried it to see if it gets you past this issue. |
2min fix for M1
|
Thanks for this, we can probably get this fix into Azle soon. @krpeacock I would love to know if this works for you if you ever get a chance. |
Could someone with an M1 could test building and deploying with |
I've had one person successfully use Azle on an M1 with this fix, so I'm considering it fixed for now |
I'm hoping this will for sure be resolved once we switch Azle to ic-wasm, like we are planning to do in Kybra: demergent-labs/kybra#42 |
Issue can be observed in any example project, or even a blank ts entrypoint. Spec is
OS: Monterey 12.3.1
Processor: M1 Pro
Node: 16.14.0
Rust: 1.60.0
Full output is:
The text was updated successfully, but these errors were encountered: