Commit Graph

444 Commits

Author SHA1 Message Date
R. Ryantm
c3201ad09c olivetin-3k: 3000.18.1 -> 3000.19.0 2026-08-18 12:53:19 +00:00
R. Ryantm
1ace7ddea4 olympus-unwrapped: 26.08.04.01 -> 26.07.27.01 2026-08-18 01:19:14 +00:00
Weijia Wang
06ca749b04 olvid: 2.7.0 -> 3.1.1 (#511385) 2026-08-16 11:18:29 +00:00
R. Ryantm
4055e99dd4 ollama-cpu: 0.32.11 -> 0.32.13 2026-08-15 00:37:22 +00:00
Sandro Jäckel
d1645f33cf ollama: 0.32.7 -> 0.32.11
Diff: https://github.com/ollama/ollama/compare/v0.32.7...v0.32.11

Changelog: https://github.com/ollama/ollama/releases/tag/v0.32.11
2026-08-14 17:50:58 +02:00
Sandro Jäckel
6d9be5f06f ollama: check that llama-cpp is matching 2026-08-14 17:50:57 +02:00
Sandro Jäckel
1e3b4d12bc ollama: add updateScript to passthru 2026-08-14 17:50:57 +02:00
R. Ryantm
be5df4340f ollama: 0.32.6 -> 0.32.7 2026-08-10 13:18:43 +00:00
R. Ryantm
a2d36b9e72 olympus-unwrapped: 26.07.27.01 -> 26.08.04.01 2026-08-09 07:55:23 +00:00
R. Ryantm
38774f8d5d ollama-cpu: 0.32.5 -> 0.32.6 2026-08-06 03:39:16 +00:00
R. Ryantm
27fb68ec28 olvid: 2.7.0 -> 3.1.1 2026-08-02 22:27:24 +00:00
R. Ryantm
b9d058a279 ollama: 0.32.4 -> 0.32.5 2026-08-01 16:40:06 +00:00
R. Ryantm
7dd0835d80 olivetin-3k: 3000.17.3 -> 3000.18.1 2026-07-31 15:24:06 +00:00
R. Ryantm
712f4b849b olympus-unwrapped: 26.07.12.04 -> 26.07.27.01 2026-07-31 00:25:02 +00:00
Peder Bergebakken Sundt
b70f67b09e ols: dev-2026-05 -> dev-2026-06 (#545147) 2026-07-28 14:26:18 +00:00
R. Ryantm
1d311a8662 ollama-cpu: 0.32.3 -> 0.32.4 2026-07-27 05:52:59 +00:00
Christopher Kaster
1c9ca9386f ols: dev-2026-05 -> dev-2026-06 2026-07-24 08:36:03 +02:00
Pavol Rusnak
ffc8c1c9eb ollama: 0.32.1 -> 0.32.3 2026-07-23 18:44:49 +02:00
Pavol Rusnak
97087f83d5 ollama: add update.sh which also updates llamaCppSrc 2026-07-23 18:44:48 +02:00
R. Ryantm
1cfcb26438 olivetin-3k: 3000.17.0 -> 3000.17.3 2026-07-22 12:07:35 +00:00
Sandro
09a68f4130 ollama: mark cross as broken, fix cmake invocation (#399738) 2026-07-18 15:04:51 +00:00
Sandro Jäckel
ff792c649a ollama: 0.32.0 -> 0.32.1
Diff: https://github.com/ollama/ollama/compare/v0.32.0...v0.32.1

Changelog: https://github.com/ollama/ollama/releases/tag/v0.32.1
2026-07-17 22:45:03 +02:00
R. Ryantm
4d01e35160 ollama: 0.31.2 -> 0.32.0 2026-07-14 10:04:54 +00:00
Peder Bergebakken Sundt
4c8f4e8925 olm: modernize slightly (#537207) 2026-07-13 23:55:29 +00:00
R. Ryantm
74d2f39773 olympus-unwrapped: 26.06.06.03 -> 26.07.12.04 2026-07-12 21:59:00 +00:00
Pavol Rusnak
1a5e7bf73b ollama-cpu: 0.31.1 -> 0.31.2 (#539829) 2026-07-12 10:20:53 +00:00
Felix Bargfeldt
879ee618cb olivetin-3k: 3000.15.0 -> 3000.17.0 (#540842) 2026-07-12 08:03:48 +00:00
Thomas Butter
688d2cc580 olivetin-3k: 3000.15.0 -> 3000.17.0 2026-07-11 08:12:41 +00:00
R. Ryantm
1fd39e9a2f ollama-cpu: 0.31.1 -> 0.31.2 2026-07-09 04:46:43 +00:00
Christopher Kaster
93d0f36ba0 ols: remove haiku support for dev-2026-05
The newer odin compiler dropped haiku support, breaking this version's build.
2026-07-07 15:42:28 +02:00
Stephane
33223e67c4 ollama: 0.30.7 -> 0.31.1
Assisted-by: github-copilot-cli, gpt-5.3-codex
2026-07-02 21:19:33 +02:00
Ethan Carter Edwards
9aaffcdb9c olm: modernize slightly
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2026-06-30 15:46:57 -07:00
FliegendeWurst
036cf95347 ollama: mark cross as broken, fix cmake invocation 2026-06-30 18:19:25 +02:00
R. Ryantm
9c64640ada olivetin-3k: 3000.14.0 -> 3000.15.0 2026-06-26 04:37:17 +00:00
Gaetan Lepage
3fecd68e9d cudaPackages_13_3.cccl: init at 13.3.3.3.1 2026-06-21 16:56:43 +00:00
Colin
1f74714294 ols: fix missing builtin directory (#509482) 2026-06-19 21:04:26 +00:00
R. Ryantm
4c1a84d7fc ollama-cpu: 0.30.6 -> 0.30.7 2026-06-11 07:40:48 +00:00
R. Ryantm
f2cf50e275 ollama: 0.30.5 -> 0.30.6 2026-06-08 19:12:14 +00:00
R. Ryantm
4a14806f7b olivetin-3k: 3000.13.0 -> 3000.14.0 2026-06-08 02:41:29 +00:00
Pavol Rusnak
a23fd78461 ollama: fix darwin build by disabling MLX backends (#529079) 2026-06-07 22:59:16 +00:00
Pavol Rusnak
c86447e44c ollama: use tag rev for llama.cpp pin + drop redundant version comment (#528374) 2026-06-07 22:47:13 +00:00
R. Ryantm
091c580304 olympus-unwrapped: 26.05.23.02 -> 26.06.06.03 2026-06-07 16:56:09 +00:00
Aaron Jheng
b195b40fb0 ollama: fix darwin build by disabling MLX backends
MLX backends require xcrun metal/metalib which are unavailable in the
Nix sandbox. Pass -DOLLAMA_MLX_BACKENDS="" to cmake to skip the
Metal toolchain check. Core Metal/llama.cpp backend is unaffected.
2026-06-07 17:15:55 +08:00
phibkro
1e9315fd0c ollama: use tag field for llama.cpp pin + drop redundant version comment
Addresses two review comments — different reviewers, same direction:

* @SuperSandro2000 on the original PR #528150 (line 118 of
  pkgs/by-name/ol/ollama/package.nix): "Why are we not using tag if
  there is a tag?". Drop the SHA + `# tag b9509` shape that required
  reviewers to cross-check the SHA matched the inline comment.

* @prusnak on this follow-up #528374: "I think we should use `tag`
  instead of `rev`." `fetchFromGitHub`'s dedicated `tag` field is
  preferred over `rev = "<tag-string>"` — same git object, same
  tarball, same hash, but signals intent at the schema level and
  renders into the store path nicely.

* Line 113 prose comment (the other half of SuperSandro's review on
  #528150): "We should not repeat the version in this comment and
  have to update that, too, on every update." Drop `currently b9509`
  from the prose; the remaining text explains the mechanism (tracks
  upstream's `LLAMA_CPP_VERSION` file, pre-staged because
  FetchContent can't network in the sandbox) without naming a
  specific version that would drift on every bump.

Pure source-readability change. `nix-build -A ollama --no-out-link`
on x86_64-linux produces the same store path as master, confirming
the tag resolves to the same git object → same tarball → same hash
→ no rebuild impact.

The same lines exist on `release-26.05` via the original backport
#528272; happy to mirror this fix there if you apply the
`backport release-26.05` label.

Assisted-by: Claude <noreply@anthropic.com>
2026-06-05 15:28:21 +02:00
phibkro
bba51cb247 ollama: fix darwin build for 0.30.5
Two darwin-only issues surfaced when building on x86_64-darwin:

1. The conditional postPatch removed three test files
   (ml/backend/ggml/ggml_test.go, ml/nn/pooling/pooling_test.go,
   model/models/nemotronh/model_omni_test.go) that no longer exist
   in v0.30.5 upstream. The `rm` failed with "No such file or directory"
   and aborted patchPhase. Tests in the new paths
   (e.g. fs/ggml/ggml_test.go) pass on darwin without removal — verified
   via the test phase in this commit's local build.

2. preFixup ran `patchelf --shrink-rpath` unconditionally; patchelf is
   ELF-only and darwin's Mach-O dylibs don't carry the build-dir RPATH
   problem in the first place. Gated on stdenv.hostPlatform.isLinux.

Verified: nix-build -A ollama on x86_64-darwin (macOS 15.6.1, Sequoia)
lands /nix/store/.../ollama-0.30.5; checkPhase green for all listed
packages including x/models/gemma4; ollama --version reports 0.30.5.

Assisted-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-05 01:19:37 +02:00
phibkro
0e1071782c ollama: 0.30.4 -> 0.30.5
Upstream patch release; notably fixes a divide-by-zero crash in
gemma3:12b. Bumps the vendored llama.cpp pin b9493 -> b9509 to match
upstream's LLAMA_CPP_VERSION. Verified ollama-cuda + ollama-vulkan
build on x86_64-linux.

https://github.com/ollama/ollama/releases/tag/v0.30.5

Assisted-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-05 00:00:00 +02:00
phibkro
6432d78bff ollama: fix vulkan variant — wire SPIRV-Headers across the ExternalProject boundary
Two layers were missing for ollama-vulkan after the 0.30.x bump's switch to
per-accelerator runners via ExternalProject_Add:

1. spirv-headers wasn't in nativeBuildInputs, so the parent cmake configure
   never even saw `SPIRV-HeadersConfig.cmake`. Add it (header-only — native
   is the right slot).

2. The runner sub-builds (`ollama-llama-server-vulkan` et al.) are launched
   by `cmake/local.cmake`'s `ExternalProject_Add`, whose child cmake process
   inherits env vars but not the parent's `-D` flags. Even after fixing
   (1), the child's `find_package(SPIRV-Headers REQUIRED)` at
   `ggml-vulkan/CMakeLists.txt:14` couldn't see the config, and once that
   was worked around with `CMAKE_PREFIX_PATH` as env, the compile then
   failed with `fatal error: spirv/unified1/spirv.hpp` — because
   upstream's `target_link_libraries(ggml-vulkan PRIVATE Vulkan::Vulkan)`
   notably does NOT link `SPIRV-Headers::SPIRV-Headers`, so the interface
   include path the cmake config exports never flows into the compile
   commands. Force the include via `NIX_CFLAGS_COMPILE` rather than
   patching upstream's CMakeLists across llama.cpp pins.

Verified: `ollama-vulkan` builds end-to-end; `$out/lib/ollama/vulkan/libggml-vulkan.so`
is present (not a silent CPU fallback like the cuda variant suffered in
the first 0.30 attempt).

🤖 Assisted by Claude
2026-06-04 11:24:14 +02:00
phibkro
63e0d2d52d ollama: 0.24.0 -> 0.30.4
Notable upstream build changes folded into this bump:

* llama.cpp moved from in-tree vendoring to CMake FetchContent, pinned
  via the `LLAMA_CPP_VERSION` file at the repo root (b9493 here →
  llama.cpp commit a731805c). Pre-stage it as `fetchFromGitHub` and
  apply Ollama's compat patch in `postPatch` — neither
  `cmake/local.cmake` nor `llama/server/CMakeLists.txt` auto-applies
  the patch when the source is overridden via
  `FETCHCONTENT_SOURCE_DIR_LLAMA_CPP` (the parent's `ExternalProject_Add`
  passes `OLLAMA_LLAMA_CPP_SKIP_COMPAT_PATCH=ON` to the child build).
  The `apply-patch.cmake` script is idempotent.

* Since 0.30, `cmake/local.cmake` splits the llama.cpp build into
  per-runner sub-projects gated by `OLLAMA_LLAMA_BACKENDS`. Without
  setting it, only the CPU runner is built — `ollama-cuda` /
  `ollama-rocm` / `ollama-vulkan` would all silently fall back to CPU
  at runtime, with `libggml-{cuda,hip,vulkan}.so` absent from
  `$out/lib/ollama`. Map the package's `acceleration` value to the
  cmake backend name the elseif chain accepts:
    cuda   → cuda_v${cudaMajor}               (cuda_v12 / cuda_v13)
    rocm   → rocm_v${rocmMajor}_${rocmMinor}  (rocm_v7_1 / rocm_v7_2)
    vulkan → vulkan

* `cmd/launch/*_test.go` are integration tests for user-facing CLI
  launchers (claude, qwen, cline, codex, kimi, droid, openclaw,
  hermes, …) that install the target binary via npm and exec it on
  PATH. Both prerequisites are unavailable in the nix sandbox, so the
  launch subpackage's tests can't pass here. Drop them — same
  precedent as the existing darwin Metal test removals.

* The llama.cpp sub-build is driven by ExternalProject_Add and does
  not inherit the parent's `CMAKE_SKIP_BUILD_RPATH` setting, so its
  `.so` payloads end up with build-dir entries in RPATH. Strip with
  `patchelf --shrink-rpath --allowed-rpath-prefixes /nix/store` in
  preFixup; `$ORIGIN` is preserved unconditionally (non-absolute
  entries always allowed) so peer-lib lookup in `$out/lib/ollama`
  still works.

Drive-by cleanup: deadnix + statix passes (overrideModAttrs unused
lambda args → `_:_`, `inherit (rocmPackages) stdenv;` /
`inherit (vulkan-tools) stdenv;` for `buildGoModule.override`, drop
unused `coreutils` input — the old launch-test substitutions that
needed coreutils are dropped along with the tests).

Release notes:
  https://github.com/ollama/ollama/releases/tag/v0.30.4
  https://github.com/ollama/ollama/releases/tag/v0.30.0

Assisted-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-04 08:15:02 +02:00
Felix Bargfeldt
e2c2d52554 olivetin-3k: 3000.12.0 -> 3000.13.0 (#525827) 2026-05-30 10:50:16 +00:00
GraysonTinker
55aab24f6c ola: migrate to by-name 2026-05-30 12:20:52 +02:00