Skip to content

Commit 74ed097

Browse files
authored
Support 13.0+ with xcode 14.3 (#806)
* Support 13.0+ with xcode 14.3 * revert revert
1 parent ec8a486 commit 74ed097

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,8 @@ elseif (MLX_BUILD_METAL)
7777
set(METAL_CPP_URL https://developer.apple.com/metal/cpp/files/metal-cpp_macOS14.2_iOS17.2.zip)
7878
elseif (${MACOS_VERSION} GREATER_EQUAL 14.0)
7979
set(METAL_CPP_URL https://developer.apple.com/metal/cpp/files/metal-cpp_macOS14_iOS17-beta.zip)
80-
elseif (${MACOS_VERSION} GREATER_EQUAL 13.3)
81-
set(METAL_CPP_URL https://developer.apple.com/metal/cpp/files/metal-cpp_macOS13.3_iOS16.4.zip)
82-
else ()
83-
message(FATAL_ERROR "MLX requires macOS >= 13.3 to be built with MLX_BUILD_METAL=ON")
80+
else()
81+
message(FATAL_ERROR "MLX requires macOS SDK >= 14.0 to be built with MLX_BUILD_METAL=ON" )
8482
endif()
8583

8684
FetchContent_Declare(

docs/src/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To install from PyPI you must meet the following requirements:
1818
- macOS >= 13.5
1919

2020
.. note::
21-
MLX is only available on devices running macOS >= 13.3
21+
MLX is only available on devices running macOS >= 13.5
2222
It is highly recommended to use macOS 14 (Sonoma)
2323

2424

@@ -54,7 +54,7 @@ Build Requirements
5454

5555
- A C++ compiler with C++17 support (e.g. Clang >= 5.0)
5656
- `cmake <https://cmake.org/>`_ -- version 3.24 or later, and ``make``
57-
- Xcode >= 15.0 and macOS >= 13.5
57+
- Xcode >= 15.0 and macOS SDK >= 14.0
5858

5959
.. note::
6060
Ensure your shell environment is native ``arm``, not ``x86`` via Rosetta. If

0 commit comments

Comments
 (0)