Skip to content
This repository was archived by the owner on Sep 20, 2026. It is now read-only.

feat: add macOS SDK formula placeholder - #531

Merged
MeteorsLiu merged 3 commits into
xgo-dev:mainfrom
MeteorsLiu:feat/macos-sdk-placeholder
Sep 14, 2026
Merged

MeteorsLiu merged 3 commits into
xgo-dev:mainfrom
MeteorsLiu:feat/macos-sdk-placeholder

Conversation

@MeteorsLiu

@MeteorsLiu MeteorsLiu commented Sep 10, 2026 •

Copy link
Copy Markdown
Collaborator

Add a macOS SDK formula placeholder with an explicit reminder to follow Apple's license terms.

The implementation includes:

  • Register joseluisq/macosx-sdks with a formula starting at SDK 14.5.
  • Panic in onBuild with an explicit prebuilt-artifact requirement because the SDK is not built from source here.
  • State that the SDK must be obtained and used only as permitted by Apple's license terms.
  • Verify that source-build attempts fail without publishing an empty cache entry, while cache hits bypass onBuild on both macOS architectures.

This keeps the SDK placeholder independent of the Linux formulas without adding SDK download or redistribution behavior.

@MeteorsLiu
MeteorsLiu marked this pull request as ready for review September 10, 2026 08:26

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the locked 6dc9e05...4deef8a change that registers joseluisq/macosx-sdks at SDK 14.5 with an intentionally empty build hook. The formula ID, version boundary, directory layout, and versions.json schema are internally consistent, and the no-op hook matches the documented externally supplied artifact design. Structural checks against the fixed commit passed; I found no reportable correctness or compatibility issue in this review target.

The PR now also contains follow-up commit 5b4d5bc, which is outside the locked review range and replaces the artifact wording with the explicit Apple license reminder.

@MeteorsLiu
MeteorsLiu merged commit 2352d57 into xgo-dev:main Sep 14, 2026
0 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant