Commit Graph
4 Commits
Author SHA1 Message Date
AJ ONeal c3fff12f2b fix(ollama): fix macOS segfault and exclude mlx/rocm/jetpack variants
- pkg_link called webi_link which called pkg_link — infinite recursion
  causing SIGSEGV on macOS; fixed by switching to WEBI_SINGLE-style paths
  so the template's webi_link handles symlinking directly
- macOS pkg_src now points to the flat ollama binary (not ./bin/ollama)
- mlx, rocm, jetpack5, jetpack6 tagged as variants so generic installs
  get the standard build instead of a GPU-specific one
2026-05-18 00:31:41 -06:00
AJ ONeal e6ad76382d fix(ollama): handle macOS tgz flat layout
macOS releases are a flat tgz (bare ollama binary + libggml dylibs +
mlx_metal dirs at the archive root), unlike Linux (bin/ollama +
lib/ollama/ hierarchy).

Detect macOS via uname -s, set pkg_src_cmd/pkg_dst_cmd to the
root-level binary, and move the full archive root into
~/.local/opt/ollama-vX.Y.Z/ in one pass.
2026-05-17 18:34:47 -06:00
AJ ONeal 3385ceaa02 fix(ollama): support bespoke file extensions, locations, version format, etc 2024-09-16 23:18:08 +00:00
Tod HansmannandAJ ONeal ccc0ed17b9 feat: add ollama (LLM, like ChatGPT) 2023-10-28 17:05:12 -06:00