Add Apple Silicon / arm64-compatible n64 formula and optional local sources - #5
Open
JackTriton wants to merge 3 commits into
Open
Add Apple Silicon / arm64-compatible n64 formula and optional local sources#5JackTriton wants to merge 3 commits into
JackTriton wants to merge 3 commits into
Conversation
This is not Apple Silicon related. |
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.
Add Apple Silicon-compatible n64 formula and optional local sources
This PR updates the Homebrew formulae for Apple Silicon while preserving the standard online installation workflow.
Before this, this PR is needed to be merged:
Changes
Keep the official installation path:
ootrandomizer/tap/n64ootrandomizer/tap/armipsAdd optional local source support through:
HOMEBREW_N64_SOURCE_DIRHOMEBREW_N64_HEAD_URLHOMEBREW_ARMIPS_SOURCE_DIRHOMEBREW_ARMIPS_HEAD_URLDetect the installed versioned Homebrew GCC executable instead of relying on a fixed GCC version.
Add GNU
sedas a build dependency.Propagate GMP, MPFR, and MPC paths through the complete toolchain build.
Use a serial build by default on Apple Silicon to improve reliability.
Disable GDB and simulator components by default only on Apple Silicon, where the selected GDB and binutils releases may have incompatible internal APIs.
Allow GDB and job count overrides through:
HOMEBREW_N64_BUILD_GDBHOMEBREW_N64_JOBSPreserve the existing behavior on Intel macOS and other supported Homebrew platforms.
The default installation continues to use the configured online Git sources. Local directories are used only when explicitly requested.