-
Notifications
You must be signed in to change notification settings - Fork 682
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
Compatibility issue while installing emsdk 1.40.1 with M1 Mac #1327
Comments
Update: Tried enforcing
|
I was able to get emsdk v1.40.1 up and running on M1 mac by following steps: Get the emsdk repogit clone https://github.com/emscripten-core/emsdk.git Enter that directorycd emsdk Enforcing EMSDK_ARCH=x86_64 in emsdk.pyUpdate arm64 to x86_64 in line: 148: Line 148 in 9347bc3
Installing google-closure-compiler-osx through Rosetta 2.Steps: https://www.cypress.io/blog/2021/01/20/running-cypress-on-the-apple-m1-silicon-arm-architecture-using-rosetta-2 (instructions are for cypress but works for google-closure-compiler) Tip: easier would be to use Rosetta with iterm than cloning native terminal |
We do have support for M1 macs in emsdk but only with newer versions of emsdk and 1.40.1, which is 3.5 years old, pre-dates that support. I'm glad you found a workaround. Can I ask why you have a hard dependency on such an old version? Perhaps we can help you update? |
We do have hard dependency on older version because of our testing setup which fails on newer version (2+). The workaround I mentioned works well for us.
Can you help us understand the changes involved? |
Can you share the build failures you are seeing when attempting to use newer versions of emscripten? Perhaps close this issue and open a new one in the emscripten repo for that? |
Encountered compatibility issues installing emsdk 1.40.1 on my M1 Mac. The installation process fails with unexpected errors.
I understand there is no precompiled emsdk package for Apple's new M1 macs but wondering if there is any work around to install older version. I have a hard dependency on emsdk version 1.40.1
The text was updated successfully, but these errors were encountered: