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

feat: add riscv64 and loong64 to known archs #62

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

hack3ric
Copy link

These are two architecture that Node.js supports (however no official prebuilts; unofficial prebuilts are in https://unofficial-builds.nodejs.org/download/release/). Include them will at least allow us to build patch Node on those platforms. However to build in CI we probably need to update Dockerfile.linuxcross to at least GCC 13. I am not too sure if this affects compatibility.

hack3ric added a commit to hack3ric/pkg that referenced this pull request Nov 20, 2024
riscv64 and loong64 have unofficial builds at https://unofficial-builds.nodejs.org and can be used in SEA build.

This is in conjunction with yao-pkg/pkg-fetch#62.
@robertsLando
Copy link
Member

@hack3ric Why do you need this change? In order to allow fetch to build nodejs patches? Because I will not create patches for this archs, if your goal is to use pkg SEA this change is not needed as SEA doesn't use fetch

@hack3ric
Copy link
Author

Just like previously included ppc64 and s390x, at least allow it to build from source on these architectures, not limited to SEA.

SEA still needs to read knownArchs, though:

> Error! Unknown token 'riscv64' in 'node20-linux-riscv64'

That CI part is just a BTW.

hack3ric added a commit to hack3ric/pkg that referenced this pull request Nov 20, 2024
riscv64 and loong64 have unofficial builds at https://unofficial-builds.nodejs.org and can be used in SEA build.

This is in conjunction with yao-pkg/pkg-fetch#62.
hack3ric added a commit to hack3ric/pkg that referenced this pull request Nov 20, 2024
riscv64 and loong64 have unofficial builds at https://unofficial-builds.nodejs.org and can be used in SEA build.

This is in conjunction with yao-pkg/pkg-fetch#62.
@robertsLando robertsLando changed the title Add riscv64 and loong64 to known archs feat: add riscv64 and loong64 to known archs Nov 20, 2024
@robertsLando robertsLando merged commit 361ac29 into yao-pkg:main Nov 20, 2024
4 checks passed
@hack3ric hack3ric deleted the more-archs branch November 20, 2024 13:32
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

Successfully merging this pull request may close these issues.

2 participants