[PR #15160] [CLOSED] linux: enhance docker build for mlx arm64 #25596

Closed
opened 2026-04-19 18:18:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15160
Author: @dhiltgen
Created: 3/31/2026
Status: Closed

Base: mainHead: mlx_arm64


📝 Commits (1)

  • fb74e1e linux: enhance docker build for mlx arm64

📊 Changes

5 files changed (+117 additions, -19 deletions)

View changed files

📝 CMakePresets.json (+22 -1)
📝 Dockerfile (+17 -7)
📝 scripts/build_linux.sh (+15 -11)
scripts/build_linux_ollama_only.sh (+59 -0)
📝 x/imagegen/mlx/CMakeLists.txt (+4 -0)

📄 Description

This adds support for the MLX build on arm64, and creates a new incremental build short-cut to speed up dev/test cycles. It also drops compression slightly to speed up developer builds.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/15160 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 3/31/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `mlx_arm64` --- ### 📝 Commits (1) - [`fb74e1e`](https://github.com/ollama/ollama/commit/fb74e1e79a9a980caa26eae3c9e5f8ad5dfc126a) linux: enhance docker build for mlx arm64 ### 📊 Changes **5 files changed** (+117 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `CMakePresets.json` (+22 -1) 📝 `Dockerfile` (+17 -7) 📝 `scripts/build_linux.sh` (+15 -11) ➕ `scripts/build_linux_ollama_only.sh` (+59 -0) 📝 `x/imagegen/mlx/CMakeLists.txt` (+4 -0) </details> ### 📄 Description This adds support for the MLX build on arm64, and creates a new incremental build short-cut to speed up dev/test cycles. It also drops compression slightly to speed up developer builds. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-19 18:18:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#25596