Skip to content

Rework host platform naming#617

Merged
indygreg merged 1 commit into
mainfrom
indygreg/host-platform-cleanups
May 21, 2025
Merged

Rework host platform naming#617
indygreg merged 1 commit into
mainfrom
indygreg/host-platform-cleanups

Conversation

@indygreg
Copy link
Copy Markdown
Collaborator

"host platform" is this concept I invented very early in the project to encode the build machine os and architecture. I chose "linux64" to represent Linux x86-64. And for reasons I can't recall, I never qualified the macOS architecture into the name like I did for Linux.

This commit refactors the string so that it is consistently os_arch. linux64 becomes linux_x86_64. macos becomes macos_x86_64 and macos_arm64.

I'm doing this cleanup in service of native ARM Linux builds. linux64 is ambiguous. And macOS not behaving the same was always wonky. Let's impose some consistency instead of layering hacks upon hacks.

@indygreg indygreg force-pushed the indygreg/host-platform-cleanups branch 2 times, most recently from d8bd68d to cbe7a4b Compare May 18, 2025 22:29
@indygreg indygreg marked this pull request as ready for review May 18, 2025 22:50
"host platform" is this concept I invented very early in the project
to encode the build machine os and architecture. I chose "linux64" to
represent Linux x86-64. And for reasons I can't recall, I never
qualified the macOS architecture into the name like I did for Linux.

This commit refactors the string so that it is consistently `os_arch`.
`linux64` becomes `linux_x86_64`. `macos` becomes `macos_x86_64` and
`macos_arm64`.

I'm doing this cleanup in service of native ARM Linux builds. `linux64`
is ambiguous. And macOS not behaving the same was always wonky. Let's
impose some consistency instead of layering hacks upon hacks.
@indygreg indygreg force-pushed the indygreg/host-platform-cleanups branch from cbe7a4b to 6c123e9 Compare May 21, 2025 00:09
@indygreg indygreg merged commit 784ea01 into main May 21, 2025
438 checks passed
@indygreg indygreg deleted the indygreg/host-platform-cleanups branch May 21, 2025 02:27
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