Skip to content

Commit

Permalink
mlx 0.19.2
Browse files Browse the repository at this point in the history
mlx: remove build patch

Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Oct 31, 2024
1 parent f0f6d95 commit c0d64e0
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions Formula/m/mlx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,12 @@ class Mlx < Formula

desc "Array framework for Apple silicon"
homepage "https://github.com/ml-explore/mlx"
url "https://github.com/ml-explore/mlx/archive/refs/tags/v0.19.2.tar.gz"
sha256 "0a53f9542c40a27efc9902e2d59223e3c6b0b6c581fff51b513a754f6c95a601"
# Main license is MIT while `metal-cpp` resource is Apache-2.0
license all_of: ["MIT", "Apache-2.0"]
head "https://github.com/ml-explore/mlx.git", branch: "main"

# TODO: Remove `stable` block when patch is no longer needed.
stable do
url "https://github.com/ml-explore/mlx/archive/refs/tags/v0.19.1.tar.gz"
sha256 "b6b76d5ddbe4ff7c667425fec2a67dc0abd258b734e708b1b45fd73910a2dc83"

# Fix running tests in VMs.
# https://github.com/ml-explore/mlx/pull/1537
patch do
url "https://github.com/ml-explore/mlx/commit/1a992e31e835d05638a6f3cd53d4b136996a63c9.patch?full_index=1"
sha256 "fd3a19a756e581840046e4b49365622025e2589bd33914602350a18c7ed0e2c2"
end
end

bottle do
rebuild 1
sha256 cellar: :any, arm64_sequoia: "8d95b1fec7643617c266d3c4ccf1700654241a68c6d1d07a3d977c6c721ac18c"
Expand Down

0 comments on commit c0d64e0

Please sign in to comment.