-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
[deps/zlib]: Fixed cpu-features.h not found during building for Android aarch64 #49828
Conversation
Review requested:
|
Thanks for the pull request. I don't think it's appropriate to modify the user's .bashrc, and using shell syntax in the build scripts is suboptimal, but what you can do instead is:
|
I've done. |
This comment was marked as off-topic.
This comment was marked as off-topic.
How do I change the first commit message? |
@MatteoBax rebase and force push. |
@MatteoBax try rebase + squash ( |
I've done. |
Can you squash into a single commit? I still count 6. |
I just squashed in a single commit. |
What shall I do that node-test-commit, node-test-commit-osx and node-test-pull-request checks failed? |
@MatteoBax the node-test-commit-osx build failed because while it was queued to run this PR was force pushed and git removed the old commit that the check was scheduled to run on. One of those force pushes has introduced additional unrelated changes to this PR to tools/osx-notarize.sh. If you could undo those changes I can restart the CI runs -- once we've started CI runs please do not update the PR unless asked to do so as every new commit or force push would require us to restart the CI runs from the beginning again. |
I've done. |
Fixed cpu-features.h not found issue. Co-Authored-By: Luigi Pinca <[email protected]> Fixes: #49766 PR-URL: #49828 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Landed in 16ac5e1. |
If i add -Wno-implicit-function-declaration option to cflags these problems disappear.Did you do this too?
The next problems are:
How did you fix them? I can only compile with your workflow. @zongou I think it's best if you open a pull request to resolve these issues. |
i did not encounter this problem, i guess this step have skipped this problem echo > test/cctest/test_crypto_clienthello.cc |
Fixed cpu-features.h not found issue. Co-Authored-By: Luigi Pinca <[email protected]> Fixes: nodejs#49766 PR-URL: nodejs#49828 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Fixed cpu-features.h not found issue. Co-Authored-By: Luigi Pinca <[email protected]> Fixes: #49766 PR-URL: #49828 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Fixed cpu-features.h not found issue. Co-Authored-By: Luigi Pinca <[email protected]> Fixes: nodejs#49766 PR-URL: nodejs#49828 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Fixed #49766
I fixed cpu-features.h not found during building for Android aarch64 but now the building problems are:
To solve this problem I created an environment variable called NDK_PATH that points to the ndk installation folder.
In the common.gypi file I added another argument to cflags which contains the path to the cpu-features.h file.
I changed only release configuration.