发布

  • cmake: use CMAKE_SYSTEM_PROCESSOR instead of CMAKE_OSX_ARCHITECTURES for mlx.metallib install (#13696)

    frostbyte_neo 发布于 2026-01-13 04:05:11 +00:00

    The CMake condition for installing mlx.metallib checks
    CMAKE_OSX_ARCHITECTURES, but this variable is only set when explicitly
    passed - not auto-detected. The arm64 build was missing this flag,
    causing the metallib to not be installed, which then caused codesign
    to fail on the unexpanded glob pattern.

    下载附件