From 9df8fed046da922e8acfa814e6cc71f5b210f9b2 Mon Sep 17 00:00:00 2001 From: Amethyst Shen <186444718+ameszy@users.noreply.github.com> Date: Mon, 9 Dec 2024 22:40:35 -0500 Subject: [PATCH] Metal-cpp version bump (#1668) * Metal-cpp version bump Apple has released the stable version of Metal-cpp for macOS 15 and iOS 18. CMakeLists.txt is updated to build with it instead of the beta one. * Fix style with cmake-format --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index be03f9b97..8b6228167 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,8 +93,7 @@ elseif(MLX_BUILD_METAL) message(STATUS "Building with macOS SDK version ${MACOS_SDK_VERSION}") set(METAL_CPP_URL - https://developer.apple.com/metal/cpp/files/metal-cpp_macOS15_iOS18-beta.zip - ) + https://developer.apple.com/metal/cpp/files/metal-cpp_macOS15_iOS18.zip) if(NOT CMAKE_OSX_DEPLOYMENT_TARGET STREQUAL "") set(XCRUN_FLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}")