[PR #1832] [MERGED] add -DCMAKE_SYSTEM_NAME=Darwin cmake flag #72991

Closed
opened 2026-05-05 04:36:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1832
Author: @jmorganca
Created: 1/7/2024
Status: Merged
Merged: 1/7/2024
Merged by: @jmorganca

Base: mainHead: darwin-cmake-flags


📝 Commits (1)

  • 3c46be5 add -DCMAKE_SYSTEM_NAME=Darwin cmake flag

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 llm/ext_server/ext_server.cpp (+1 -0)
📝 llm/generate/gen_darwin.sh (+1 -1)

📄 Description

-DCMAKE_SYSTEM_NAME=Darwin is required for the -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DCMAKE_OSX_ARCHITECTURES=x86_64 flags to take effect

This also adds system info logging in verbose mode

Fixes #1827


🔄 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/1832 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 1/7/2024 **Status:** ✅ Merged **Merged:** 1/7/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `darwin-cmake-flags` --- ### 📝 Commits (1) - [`3c46be5`](https://github.com/ollama/ollama/commit/3c46be571bdada4b7aa695843c628e808124e802) add `-DCMAKE_SYSTEM_NAME=Darwin` cmake flag ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `llm/ext_server/ext_server.cpp` (+1 -0) 📝 `llm/generate/gen_darwin.sh` (+1 -1) </details> ### 📄 Description `-DCMAKE_SYSTEM_NAME=Darwin` is required for the `-DCMAKE_SYSTEM_PROCESSOR=x86_64 -DCMAKE_OSX_ARCHITECTURES=x86_64` flags to take effect This also adds system info logging in verbose mode Fixes #1827 --- <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-05-05 04:36:43 -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#72991