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

Cross-Compilation for linux-arm64 and win-arm64 #3

Open
CMCDragonkai opened this issue May 21, 2022 · 0 comments
Open

Cross-Compilation for linux-arm64 and win-arm64 #3

CMCDragonkai opened this issue May 21, 2022 · 0 comments
Labels
development Standard development

Comments

@CMCDragonkai
Copy link
Member

Specification

Currently we have cross compilation working for macos. This is because our node-gyp rebuild runs with the appropriate configuration that compiles both the arm64 and x64 native-addon, and turns it into a "universal binary". However nodejs itself doesn't publish a universal binary version that can be bundled with pkg. So the final application releases are still separate files.

For linux-arm64, we will need to introduce ARM64 cross compilation into our nix expressions.

For win-arm64, this will likely need some additional changes to the binding.gyp and investigation into visual studio.

We won't bother with linux-ia32 or win-ia32. 32 bit desktop computers are not really a thing anymore and neither with mobile devices.

Additionally for integration testing, we will need arm64 CICD runners. This seems like it should be available on gitlab soon. Lacking arm64 CICD runners, it is possible to emulate arm64 with QEMU, and that is another way to perform integration testing. Building should be possible without this just by bringing in cross compilation tooling.

Additional context

Tasks

  1. ...
  2. ...
  3. ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Standard development
Development

No branches or pull requests

1 participant