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

Build linux/arm64 docker images #1211

Open
justjake opened this issue Apr 23, 2023 · 1 comment
Open

Build linux/arm64 docker images #1211

justjake opened this issue Apr 23, 2023 · 1 comment

Comments

@justjake
Copy link

The current docker images (example) are published only for linux/amd64.

On my M1 Macbook Pro, using these images tends to take 10-100x longer than using native ARM64 builds of Emscripten from homebrew. However, Homebrew will randomly upgrade my Emscripten version due to python changing or something.

It would be great to be able to use the EMSDK docker image for stability/reproducibility without suffering from super slow builds on my laptop.

It appears that CircleCI supports ARM, so perhaps all that's needed is adding an extra build variant for Dockerfile-related build jobs?

https://circleci.com/docs/using-arm/

@sbc100
Copy link
Collaborator

sbc100 commented Apr 23, 2023

While I agree we should provide arm64 docker images, if you want a solution that works today you could just install emsdk the normal way on macOS. The emsdk binaries provided via emsdk install latest are built for arm64.

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