Skip to content

Commit 3f3def8

Browse files
authored
Merge pull request #220227 from Homebrew/bump-localai-2.28.0
localai 2.28.0
2 parents 5d09c4e + 764ba8f commit 3f3def8

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

Formula/l/localai.rb

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ class Localai < Formula
33

44
desc "OpenAI alternative"
55
homepage "https://localai.io"
6-
url "https://github.com/mudler/LocalAI/archive/refs/tags/v2.27.0.tar.gz"
7-
sha256 "595ade8031a8f7d4fd23c4e3a5c24b37f542059f3585c9f15352da4fb79c06e0"
6+
url "https://github.com/mudler/LocalAI/archive/refs/tags/v2.28.0.tar.gz"
7+
sha256 "b75f7cffb3b105c1f5e7cd4aa2d5c18cf461b6af0977d150d654d596f1dc8d79"
88
license "MIT"
99

1010
bottle do
11-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "916762f5f150ed512bb360288131b670e6427b526e6e480f4511d4f93514f930"
12-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "98e12b6113ea36844382ce0595a5d14b4ff2fd9337cb4a7c4ceb9406e1a8b85d"
13-
sha256 cellar: :any_skip_relocation, arm64_ventura: "4d90aa4ed4e526312efa24791ea0d3d674dbff652598649fac15ca946abbddde"
14-
sha256 cellar: :any_skip_relocation, sonoma: "cfd6d4afaffd374de8c1b79f9f4116e5e7d23e0fe35efb3435c96bf8abe435c7"
15-
sha256 cellar: :any_skip_relocation, ventura: "69404bfbc7780df4439d1dd6f89df61685800699d2863b8001f8486462b4565d"
16-
sha256 x86_64_linux: "8661a59a281d2837ee130910cf4b838c608f0d5bd1d9307e5d8bb047e2ae952b"
11+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "b50f832facfac7f166ca59de5d3b7f241b10bcfe0dcdee6afec90b3d557e1812"
12+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "2c82bb99e40beb0bb781ecf1087d0a0c3deeca7f2423d177c831e5ee639db516"
13+
sha256 cellar: :any_skip_relocation, arm64_ventura: "27a1f5a845087a4604800f0eee1642747f95f68a4f9eb268f6180aba2cbd4638"
14+
sha256 cellar: :any_skip_relocation, sonoma: "dc8a9eb26fe99a47a098f82f050302a548f6f529b86c14f1b90f5f602e204b07"
15+
sha256 cellar: :any_skip_relocation, ventura: "71df6ef43bb378c2fac806673579b47e5a717e0805a17227fd9ddea6b0070043"
16+
sha256 x86_64_linux: "3a36fc178cc6108855d3f75d2c7751d616e9a176901ecc5dc6dca9e2ff5e134e"
1717
end
1818

1919
depends_on "abseil" => :build
@@ -35,6 +35,9 @@ def python3
3535
end
3636

3737
def install
38+
# Fix to CMake Error at encodec.cpp/ggml/CMakeLists.txt:1 (cmake_minimum_required):
39+
ENV["CMAKE_POLICY_VERSION_MINIMUM"] = "3.5"
40+
3841
ENV["SDKROOT"] = MacOS.sdk_path if OS.mac?
3942

4043
venv = virtualenv_create(buildpath/"venv", python3)
@@ -50,7 +53,7 @@ def install
5053

5154
spawn bin/"local-ai", "run", "--address", addr
5255
sleep 5
53-
sleep 10 if OS.mac? && Hardware::CPU.intel?
56+
sleep 20 if OS.mac? && Hardware::CPU.intel?
5457

5558
response = shell_output("curl -s -i #{addr}")
5659
assert_match "HTTP/1.1 200 OK", response

0 commit comments

Comments
 (0)