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 solana-bankrun-linux-arm64-gnu #21

Open
bennofs opened this issue May 6, 2024 · 2 comments
Open

Distribute solana-bankrun-linux-arm64-gnu #21

bennofs opened this issue May 6, 2024 · 2 comments

Comments

@bennofs
Copy link

bennofs commented May 6, 2024

When using Linux VMs on Apple M1/M2 for solana development, arm64-linux-gnu builds are required.
Right now, I am using the following workaround:

$ git clone https://github.com/kevinheavey/solana-bankrun
$ cd solana-bankrun
$ cargo build --release
$ cp target/release/libsolana_bankrun.so PATH_TO_NODE_MODULES/solana-bankrun/dist/solana-bankrun.linux-arm64-gnu.node

It would be nice having this work out of the box, without requiring manual compilation.

@kevinheavey
Copy link
Owner

One problem here is I successfully cargo-culted the build.yml so I'm not sure which host and target I need to put in the workflow file to produce a linux-arm64-gnu build https://github.com/kevinheavey/solana-bankrun/blob/main/.github/workflows/build.yml

@bennofs
Copy link
Author

bennofs commented May 16, 2024

Ah, arm64 linux runners appear to in private beta for github ci :( https://github.com/orgs/community/discussions/19197 So it is not possible to build this with Github CI right now, except using qemu which will probably be slow.

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