From d66ad47dd839f19556f404a16125908944f187fe Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 16 Dec 2024 23:06:37 +0000 Subject: [PATCH] ollama 0.5.2 --- Formula/o/ollama.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Formula/o/ollama.rb b/Formula/o/ollama.rb index 051ad4412e221..b486bd7b0438f 100644 --- a/Formula/o/ollama.rb +++ b/Formula/o/ollama.rb @@ -2,8 +2,8 @@ class Ollama < Formula desc "Create, run, and share large language models (LLMs)" homepage "https://ollama.com/" url "https://github.com/ollama/ollama.git", - tag: "v0.5.1", - revision: "de52b6c2f90ff220ed9469167d51e3f5d7474fa2" + tag: "v0.5.2", + revision: "60f75560a2a950e14aabe88c0a7b1223f31277ad" license "MIT" head "https://github.com/ollama/ollama.git", branch: "main" @@ -28,6 +28,10 @@ class Ollama < Formula depends_on "go" => :build def install + # Fix to makefile path, should be checked in next release + # https://github.com/ollama/ollama/blob/89d5e2f2fd17e03fd7cd5cb2d8f7f27b82e453d7/llama/llama.go#L3 + inreplace "llama/llama.go", "//go:generate make -j", "//go:generate make -C ../ -j" + # Silence tens of thousands of SDK warnings ENV["SDKROOT"] = MacOS.sdk_path if OS.mac?