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

Speed up beaker wasm build on Mac Silicon #96

Closed
ethanfrey opened this issue Jul 30, 2022 · 1 comment
Closed

Speed up beaker wasm build on Mac Silicon #96

ethanfrey opened this issue Jul 30, 2022 · 1 comment

Comments

@ethanfrey
Copy link

workspace-optimizer could be much faster. but we are using the amd64 type always:

Unable to find image 'cosmwasm/workspace-optimizer:0.12.6' locally
0.12.6: Pulling from cosmwasm/workspace-optimizer
...
Status: Downloaded newer image for cosmwasm/workspace-optimizer:0.12.6
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

beaker could detect the local architecture and select between workspace-optimizer and https://hub.docker.com/r/cosmwasm/workspace-optimizer-arm64/tags. Alternately, we would be happy for a PR to build multi-architecture docker images, but that requires some other tooling, like CosmWasm/optimizer#67 first

@ethanfrey
Copy link
Author

Never mind. After writing this, I found the -a option... https://github.com/osmosis-labs/beaker/blob/main/docs/commands/beaker_wasm.md#beaker-wasm-build

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

1 participant