[PR #12412] [MERGED] Fix AMDGPU_TARGETS filtering condition #24355

Closed
opened 2026-04-19 17:31:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12412
Author: @Fachep
Created: 9/25/2025
Status: Merged
Merged: 9/26/2025
Merged by: @mxyng

Base: mainHead: main


📝 Commits (1)

  • 7275d17 fix: correct condition for AMDGPU_TARGETS filtering logic

📊 Changes

1 file changed (+4 additions, -2 deletions)

View changed files

📝 CMakeLists.txt (+4 -2)

📄 Description

e4ce68311a/CMakeLists.txt (L102)
The current condition may prevent the filtering logic from executing. I inverted it to ensure correct behavior, but I'm not sure if the original condition was intentional.


🔄 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/12412 **Author:** [@Fachep](https://github.com/Fachep) **Created:** 9/25/2025 **Status:** ✅ Merged **Merged:** 9/26/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`7275d17`](https://github.com/ollama/ollama/commit/7275d17f32d8c08926f31a78294df95431fcd74e) fix: correct condition for AMDGPU_TARGETS filtering logic ### 📊 Changes **1 file changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+4 -2) </details> ### 📄 Description https://github.com/ollama/ollama/blob/e4ce68311a64310ece5534ae3a4820b20ea3d42f/CMakeLists.txt#L102 The current condition may prevent the filtering logic from executing. I inverted it to ensure correct behavior, but I'm not sure if the original condition was intentional. --- <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 17:31:55 -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#24355