[PR #608] [MERGED] update build scripts #15526

Closed
opened 2026-04-16 05:01:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/608
Author: @mxyng
Created: 9/26/2023
Status: Merged
Merged: 9/29/2023
Merged by: @mxyng

Base: mainHead: mxyng/build


📝 Commits (1)

📊 Changes

6 files changed (+67 additions, -23 deletions)

View changed files

📝 Dockerfile (+2 -1)
📝 Dockerfile.build (+5 -2)
scripts/build.sh (+21 -0)
📝 scripts/build_darwin.sh (+14 -13)
scripts/build_docker.sh (+15 -0)
📝 scripts/build_linux.sh (+10 -7)

📄 Description

update target arch so VERSION and GOFLAGS are consistently set. In particular Dockerfile.build's ARGs are out of scope when using in go build so it's not being set correctly

Resolves #607


🔄 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/608 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 9/26/2023 **Status:** ✅ Merged **Merged:** 9/29/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/build` --- ### 📝 Commits (1) - [`92d454e`](https://github.com/ollama/ollama/commit/92d454ec5f3fa53fc9bfb3dbc7bcc436454a437e) update build_darwin.sh ### 📊 Changes **6 files changed** (+67 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+2 -1) 📝 `Dockerfile.build` (+5 -2) ➕ `scripts/build.sh` (+21 -0) 📝 `scripts/build_darwin.sh` (+14 -13) ➕ `scripts/build_docker.sh` (+15 -0) 📝 `scripts/build_linux.sh` (+10 -7) </details> ### 📄 Description update target arch so VERSION and GOFLAGS are consistently set. In particular Dockerfile.build's ARGs are out of scope when using in `go build` so it's not being set correctly Resolves #607 --- <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-16 05:01:29 -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#15526