ml-explore/mlx

Why is `MLX_BUILD_METAL` disabled on iOS

Closed

#3,493 opened on May 8, 2026

 (5 comments) (0 reactions) (0 assignees)C++ (1,794 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (26,216 stars)
PR merge metrics
 (Avg merge 6d 17h) (75 merged PRs in 30d)

Description

When targeting iOS, the CMAKE_SYSTEM_NAME fails the Darwin equality check, resulting in MLX_BUILD_METAL being disabled. Does MLX Metal not work on iOS?

Contributor guide