feat: remove option to build with external startup data, and tools builds (x64) - #6
Merged
Merged
Conversation
The automatic exportation of environment variables based on the config key in package.json was removed in later versions of Node.js. Here, we manually set the environment variable if it's not automatically set.
Ninja is a prerequisite for the build. On Ubuntu install it with apt-get, and on GitHub's macOS Docker image it needs to come from Homebrew.
This makes V8 always build with v8_use_external_startup_data=false. Since that was previously controlled by the EXTERNAL_STARTUP_DATA variable, we can remove that variable. If we're not using external startup heap snapshots, we also don't need to export mksnapshot and mkcodecache; they are now only used internally by the V8 build. This also makes a TOOLS_ONLY build and therefore a tools_macos_android build obsolete. Summary: - Remove EXTERNAL_STARTUP_DATA - Remove TOOLS_ONLY - Remove MKSNAPSHOT_ONLY - Remove MKCODECACHE_ONLY - Remove patch to allow monolithic build with external startup data - Remove patch to export mkcodecache - Remove tools_macos_android workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Same as #2, for x64 branch.