Skip to content

Commit 514c7a1

Browse files
BrewTestBotp-linnane
authored andcommitted
mlx 0.30.0
mlx: fix python3 method definition Signed-off-by: Patrick Linnane <patrick@linnane.io> mlx: update macOS requirements Signed-off-by: Patrick Linnane <patrick@linnane.io>
1 parent 5cdf35b commit 514c7a1

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

Formula/m/mlx.rb

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ class Mlx < Formula
33

44
desc "Array framework for Apple silicon"
55
homepage "https://github.com/ml-explore/mlx"
6-
url "https://github.com/ml-explore/mlx/archive/refs/tags/v0.29.3.tar.gz"
7-
sha256 "54ede208b267ea8cda566a659b7095266da78ce4d6046cf17fbeb8c5fbc9b2ee"
6+
url "https://github.com/ml-explore/mlx/archive/refs/tags/v0.30.0.tar.gz"
7+
sha256 "d36ea81788bdce79984e188dadb906d93688e3fb798145c393697056a05ed258"
88
license all_of: [
99
"MIT", # main license
1010
"Apache-2.0", # metal-cpp resource
@@ -24,24 +24,18 @@ class Mlx < Formula
2424
depends_on "nlohmann-json" => :build
2525
depends_on "python-setuptools" => :build
2626
depends_on "robin-map" => :build
27+
depends_on xcode: ["15.0", :build] # for metal
28+
depends_on arch: :arm64
29+
depends_on macos: :sonoma
2730
depends_on :macos
28-
depends_on macos: :ventura
2931
depends_on "python@3.14"
3032

31-
on_arm do
32-
depends_on xcode: ["15.0", :build] # for metal
33-
end
34-
35-
on_intel do
36-
depends_on "openblas"
37-
end
38-
3933
# https://github.com/ml-explore/mlx/blob/v#{version}/CMakeLists.txt
4034
# Included in not_a_binary_url_prefix_allowlist.json
4135
resource "metal-cpp" do
4236
on_arm do
43-
url "https://developer.apple.com/metal/cpp/files/metal-cpp_macOS15_iOS18.zip"
44-
sha256 "0433df1e0ab13c2b0becbd78665071e3fa28381e9714a3fce28a497892b8a184"
37+
url "https://developer.apple.com/metal/cpp/files/metal-cpp_26.zip"
38+
sha256 "4df3c078b9aadcb516212e9cb03004cbc5ce9a3e9c068fa3144d021db585a3a4"
4539
end
4640
end
4741

0 commit comments

Comments
 (0)