Files
OpenLLM/Formula/openllm.rb

48 lines
1.6 KiB
Ruby
Generated

# Generated by tools/update-brew-tap.py. DO NOT EDIT!
# Please refers to the original template file Formula/openllm.rb.j2
# vim: set ft=ruby:
class Openllm < Formula
desc "OpenLLM: Operating LLMs in production"
homepage "https://github.com/bentoml/OpenLLM"
version "0.4.35"
license "Apache-2.0"
head "https://github.com/bentoml/OpenLLM, branch: main"
url "https://github.com/bentoml/OpenLLM/archive/v0.4.35.tar.gz"
sha256 "c19e7ebd439ccc8ea0f5f39bba44634f70229c6582ce9ccbf59e70f7d3a33d7e"
on_linux do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.35/openllm-0.4.35-x86_64-unknown-linux-musl.tar.gz"
sha256 "1e9a5f1190a98eaa7e28e695f414b1e2c0aead3dafb54889278f81a689c4803d"
end
on_macos do
on_arm do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.35/openllm-0.4.35-aarch64-apple-darwin.tar.gz"
sha256 "953a2334c120ef841ff698167c0382874bd66c3c8a45d220fc8cf7fa504e48cc"
end
on_intel do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.35/openllm-0.4.35-x86_64-apple-darwin.tar.gz"
sha256 "0c30343b6cbc6d0b79822230af3396d39452e68e9e5acb85831edca330caec30"
end
end
def install
on_linux do
bin.install "openllm-0.4.35-x86_64-unknown-linux-musl" => "openllm"
end
on_macos do
on_arm do
bin.install "openllm-0.4.35-aarch64-apple-darwin" => "openllm"
end
on_intel do
bin.install "openllm-0.4.35-x86_64-apple-darwin" => "openllm"
end
end
ohai "To get started, run: 'openllm --help'"
ohai "To see supported models, run: 'openllm models'"
end
test do
shell_output "#{bin}/openllm --version"
end
end