add recipe to compile an arm64-musl version by mollux · Pull Request #189 · nodejs/unofficial-builds
This is the successor of #59, which also contains additional info and the discussion history.
This PR contains the needed changes to compile an arm64 musl version of currently supported nodejs versions.
I tested this by building multiple versions of nodejs, and running those in an Alpine container:
- v20.19.5
- v22.19.0
- v24.8.0
- v25.0.0-nightly20250914c8c6bfab2
All of those versions build successfully using GCC 14.2.0, using the local-build.sh script, e.g.
bin/local_build.sh -r arm64-musl -v v24.8.0
This is an updated comment, the initial version (and the PR) also contained info about compiling unsupported versions (v16 and v18).
I removed that part, based in the comments below.