Skip to content

ollama 0.33.2 - #301407

Open
thypon wants to merge 1 commit into
Homebrew:mainfrom
thypon:ollama-0.33.2
Open

ollama 0.33.2#301407
thypon wants to merge 1 commit into
Homebrew:mainfrom
thypon:ollama-0.33.2

Conversation

@thypon

@thypon thypon commented Aug 30, 2026

Copy link
Copy Markdown

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>?
  • Is your test running fine brew test <formula>?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source ollama)? If this is a new formula, does it pass brew audit --new <formula>?

  • I did not use AI/LLM to create this PR, or I disclosed the tool/model below and reviewed its output; I did not attribute commits to AI and will answer maintainer questions and review comments myself without AI/LLM.

AI disclosure: the PR was prepared using the opencode CLI (model: z-ai/glm-5.3-flash). I (thypon) reviewed and verified all changes: brew style, brew audit --strict --online, HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source ollama, and brew test ollama were run locally on arm64 macOS 26 (Apple M5 Max) and all pass; the MLX runner loads libmlxc.dylib/libmlx.dylib and the server runs as 0.33.2. I will answer maintainer questions and review comments myself.


Changes

  • Version bump v0.33.0v0.33.2 (both are plain git-tag builds, so only tag:/revision: change).
  • llama.cpp pin b10488b10630, taken from upstream LLAMA_CPP_VERSION at v0.33.2.
  • New in llama.cpp b10630: tools/tuning hardcodes ${CMAKE_SOURCE_DIR}/ggml/src/ggml-metal in its target_include_directories. Under ollama's FetchContent consumption, CMAKE_SOURCE_DIR is the ollama build root, so the build fails with fatal error: 'ggml-metal-tuning.h' file not found. Added an inreplace retargeting it to ${CMAKE_CURRENT_SOURCE_DIR}/../../ggml/src/ggml-metal. Upstream llama.cpp master still has the same line, so there is no upstream fix to reference yet.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your pull request. This has been closed because it appears to be missing the pull request template, perhaps because this was written by an AI not a human. We require humans to read and fill in these templates.

Please edit this pull request to fill in the current pull request template. This workflow will reopen this pull request automatically once the template is complete. Do not open a new pull request for this.

Comment thread Formula/o/ollama.rb
Comment on lines +70 to +74
# b10630: tools/tuning hardcodes CMAKE_SOURCE_DIR, which is the ollama
# build root under FetchContent; retarget to llama.cpp's own ggml-metal dir
inreplace llama_source_dir/"tools/tuning/CMakeLists.txt",
"${CMAKE_SOURCE_DIR}/ggml/src/ggml-metal",
"${CMAKE_CURRENT_SOURCE_DIR}/../../ggml/src/ggml-metal"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When can this be removed? Is there an upstream issue or PR to follow?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No timeline, and I did not saw other reports, but I opened one ggml-org/llama.cpp#28114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Go use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants