Skip to content

Commit 28b2065

Browse files
BrewTestBotdaeho-ro
authored andcommitted
localai 2.28.0
1 parent 6608e9a commit 28b2065

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Formula/l/localai.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ 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
@@ -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)

0 commit comments

Comments
 (0)