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

distribute prebuilds of @agoric/xsnap #8383

Open
turadg opened this issue Sep 25, 2023 · 0 comments
Open

distribute prebuilds of @agoric/xsnap #8383

turadg opened this issue Sep 25, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@turadg
Copy link
Member

turadg commented Sep 25, 2023

What is the Problem Being Solved?

#8360 lets develops install SDK from npm instead of requiring a git checkout. A consequence of this is that @agoric/xsnap rebuilds every time running agoric install. (At least in Yarn 1, which isn't smart enough to notice when native deps don't need rebuidling.)

xsnap takes over a minute to build on my MBP.

Description of the Design

In publishing @agoric/xnsap prebuild for multiple architectures and include in the published package such that installing it from NPM brings it along.

Security Considerations

Trusting the prebuild when installing the NPM package. Validators will still install from a local build.

Scaling Considerations

n/a

Test Plan

Install on multiple OS/architectures developers use. E.g. MacOS with arm64.

Upgrade Considerations

n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants