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

Enable building Node native addon via Python 3 #8145

Merged
merged 2 commits into from
Dec 19, 2023
Merged

Enable building Node native addon via Python 3 #8145

merged 2 commits into from
Dec 19, 2023

Conversation

ayushmanchhabra
Copy link
Contributor

@ayushmanchhabra ayushmanchhabra commented Nov 27, 2023

Description

Depends on nwjs/node#58.

This is a follow up of #8134 which turned out to be an incorrect fix. This PR will allow nw-builder to build node native addons (directly via node-gyp using NW.js node headers) using Python 3. Since only ICU requires v8_host_byteorder, I have moved it there. After making these changes, I am able to successfully build Node. I'm planning to submit a test case for this in a subsequent PR.

@ayushmanchhabra ayushmanchhabra marked this pull request as ready for review November 27, 2023 21:58
@ayushmanchhabra ayushmanchhabra changed the title Allow building Node Native Addon via GYP Enable building Node native addon via Python 3 Nov 30, 2023
@ayushmanchhabra
Copy link
Contributor Author

Can we get this merged in for upcoming v0.83?

@rogerwang
Copy link
Member

Can we get this merged in for upcoming v0.83?

yes I will try to.

@rogerwang rogerwang changed the base branch from nw82 to nw83 December 19, 2023 03:51
@rogerwang rogerwang merged commit a6fbda1 into nwjs:nw83 Dec 19, 2023
@ayushmanchhabra ayushmanchhabra deleted the node-addon branch December 19, 2023 18:18
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