feat: vendor mlx-c at pinned commit SHA for stable builds #1
Labels
No labels
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/go-mlx#1
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
brew upgradecan silently change the Metal/MLX allocator behaviour, breaking memory management that was previously working. The CGO build links against whatever mlx-c brew has installed, making builds non-reproducible.Proposal
Vendor mlx-c headers + static library at a known-good commit SHA.
Options considered
.a+ headers. CGO links against vendored copy.What to vendor
mlx-cheaders (few hundred KB)libmlx.afordarwin/arm64VENDOREDfileWhy
mx.metal.*deprecation)Priority
Not urgent — needed before any distribution/release. Track alongside LEM Lab packaging.