Skip to content

Commit 7088101

Browse files
authored
Merge pull request #233184 from Homebrew/bump-localai-3.4.0
localai 3.4.0
2 parents 2fd623f + f002285 commit 7088101

File tree

1 file changed

+8
-31
lines changed

1 file changed

+8
-31
lines changed

Formula/l/localai.rb

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,28 @@
11
class Localai < Formula
2-
include Language::Python::Virtualenv
3-
42
desc "OpenAI alternative"
53
homepage "https://localai.io"
6-
url "https://github.com/mudler/LocalAI/archive/refs/tags/v3.3.2.tar.gz"
7-
sha256 "e8c10990e41f4e1a89fecfa5eb26a5ad555f904bbb08867171a05c5dd715c642"
4+
url "https://github.com/mudler/LocalAI/archive/refs/tags/v3.4.0.tar.gz"
5+
sha256 "a3393c91b777c93bfcbe04557e823a4d52dc130669e505c2dba2633db37adef0"
86
license "MIT"
97
head "https://github.com/mudler/LocalAI.git", branch: "master"
108

119
bottle do
12-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "42691f9815e0ce8e13e92b1094b7fd8f1ecee4c2282703316d6751e19c0e39b7"
13-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "7be6c5223437fc93f44776f78bce8404c3af156ae1f780e9a6174e337516a3db"
14-
sha256 cellar: :any_skip_relocation, arm64_ventura: "2dc56ed893591c8736ab66a605ea98a78f366738a059023598e25dde7898a550"
15-
sha256 cellar: :any_skip_relocation, sonoma: "1cec2ae87b56d9b1f0937f06fd548d371350c94e50db49adfd1aa819e70f5cb0"
16-
sha256 cellar: :any_skip_relocation, ventura: "628892217a9f34991fd8e751f7987dd36a46e9dd73fa5c6d7571f3b75d9e5bae"
17-
sha256 cellar: :any_skip_relocation, x86_64_linux: "d2248f7b16ac7ec5f69c546d5a1c77548c11a4ea266f44d6e9e6b3f54ca0975b"
10+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "b6deca014aa1fd1b0e0cd061da8f84baadc47bf5a022352556a479ed3143b41d"
11+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "95ddbf84fd1f70d8d74bb5e09c8f3cb3668d778d3b450068c297c6c9bb519f9b"
12+
sha256 cellar: :any_skip_relocation, arm64_ventura: "4f8e826651bd977d68c51f6a6caecb0bccec4c3689e2338ddce39a732a881e00"
13+
sha256 cellar: :any_skip_relocation, sonoma: "617d2fa70ed913c951e83521143686ada51f9ec6e7832fc472ea9546ff2063bd"
14+
sha256 cellar: :any_skip_relocation, ventura: "701ff0eb1026724704e7637cb6127641209e1c02bea137d15c7e70a06eba1234"
15+
sha256 cellar: :any_skip_relocation, x86_64_linux: "6359b85d189ae70f7af2c19b63492e1385049d69e9efcb3fbd34108572869584"
1816
end
1917

20-
depends_on "abseil" => :build
21-
depends_on "cmake" => :build
2218
depends_on "go" => :build
23-
depends_on "go-rice" => :build
24-
depends_on "grpc" => :build
2519
depends_on "protobuf" => :build
2620
depends_on "protoc-gen-go" => :build
2721
depends_on "protoc-gen-go-grpc" => :build
28-
depends_on "[email protected]" => :build
29-
30-
resource "grpcio-tools" do
31-
url "https://files.pythonhosted.org/packages/90/c8/bca79cb8c14bb63027831039919c801db9f593c7504c09433934f5dff6a4/grpcio_tools-1.74.0.tar.gz"
32-
sha256 "88ab9eb18b6ac1b4872add6b394073bd8d44eee7c32e4dc60a022e25ffaffb95"
33-
end
34-
35-
def python3
36-
which("python3.13")
37-
end
3822

3923
def install
40-
# Fix to CMake Error at encodec.cpp/ggml/CMakeLists.txt:1 (cmake_minimum_required):
41-
ENV["CMAKE_POLICY_VERSION_MINIMUM"] = "3.5"
42-
4324
ENV["SDKROOT"] = MacOS.sdk_path if OS.mac?
4425

45-
venv = virtualenv_create(buildpath/"venv", python3)
46-
venv.pip_install resources
47-
ENV.prepend_path "PATH", venv.root/"bin"
48-
4926
system "make", "build", "VERSION=#{version}"
5027
bin.install "local-ai"
5128
end

0 commit comments

Comments
 (0)