[PR #12458] [MERGED] build: call find_package to instantiate library paths #45075

Closed
opened 2026-04-25 00:45:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12458
Author: @mxyng
Created: 9/30/2025
Status: Merged
Merged: 9/30/2025
Merged by: @mxyng

Base: mainHead: mxyng/fix-build


📝 Commits (1)

  • ff1b9bb build: call find_package to instantiate library paths

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 CMakeLists.txt (+1 -0)

📄 Description

moving the earlier find_package(hip REQUIRED) into the branch means when using presets and defining AMDGPU_TARGETS directly will skip this configuration step which affects dependency resolution when installing the target


🔄 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/12458 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 9/30/2025 **Status:** ✅ Merged **Merged:** 9/30/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/fix-build` --- ### 📝 Commits (1) - [`ff1b9bb`](https://github.com/ollama/ollama/commit/ff1b9bb2f371836ff270dd4aa2642e58c565736a) build: call find_package to instantiate library paths ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+1 -0) </details> ### 📄 Description moving the earlier `find_package(hip REQUIRED)` into the branch means when using presets and defining `AMDGPU_TARGETS` directly will skip this configuration step which affects dependency resolution when installing the target --- <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-25 00:45:48 -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#45075