-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
nodejs: fix cross-compilation from aarch64-linux to x86_64-linux #238377
Conversation
44db024
to
f637e04
Compare
Result of 77 packages marked as broken and skipped:
1 package blacklisted:
38 packages failed to build:
829 packages built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left one comment, but otherwise this looks fine enough for me now. Do you have any other thoughts @marsam?
@SuperSandro2000 @lilyinstarlight, gentle ping, is there anything else blocking this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you!
I am not that fit in cross to know if this is the correct way or not. |
I think the patch |
Building --without-snapshot is no longer possible since v14. See nodejs/node@0822bfa
This change adds a fix for Node.js build system passing flags intended for the target toolchain to the host toolchain.
tr1/type_traits replacement is only relevent for Node.js v6 that’s reached EOL in 2019.
You are right, I’ve rebased the branch and removed the patch for v20. |
Description of changes
This PR adds patches for Node.js that fix cross-compilation for v18 and v20. It also enables checkPhase for a subset of test suite that does not require dependencies not bundled with the tarball.
See also #234124 (comment)
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)