You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 withpkg
. 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
orwin-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
multiStdenv
and the ability to produceia32
binaries start hereTasks
The text was updated successfully, but these errors were encountered: