File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ class OllamaElastic < Formula
2+ desc ""
3+ homepage ""
4+ version "dbeaea4"
5+
6+ on_macos do
7+ url "https://github.com/elastic/ollama/releases/download/dbeaea4/ollama-darwin"
8+ sha256 "df241ff0b7f0f4ed3be36e2f9322848bd6b2a4dec205a84e0b104272a6393ffe"
9+ def install
10+ bin . install "ollama-darwin" => "ollama-elastic"
11+ end
12+ end
13+
14+ on_linux do
15+ on_intel do
16+ if Hardware ::CPU . is_64_bit?
17+ url "https://github.com/elastic/ollama/releases/download/dbeaea4/ollama-linux-amd64.tgz"
18+ sha256 "fa8429dccf0f484aab143e934cc3fa2ffb2d07519c62b380d3554d12ed5af6ec"
19+
20+ def install
21+ bin . install "bin/ollama" => "ollama-elastic"
22+ end
23+ end
24+ end
25+ on_arm do
26+ if Hardware ::CPU . is_64_bit?
27+ url "https://github.com/elastic/ollama/releases/download/dbeaea4/ollama-linux-arm64.tgz"
28+ sha256 "fc49eeeba27db672b1d56d91ccbe4f6ef853bc49162275d98f173e78ef1b1c48"
29+
30+ def install
31+ bin . install "bin/ollama" => "ollama-elastic"
32+ end
33+ end
34+ end
35+ end
36+ end
You can’t perform that action at this time.
0 commit comments