[PR #9932] [MERGED] ci: silence deprecated gpu targets warning #13101

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9932
Author: @mxyng
Created: 3/21/2025
Status: Merged
Merged: 4/25/2025
Merged by: @mxyng

Base: mainHead: mxyng/no-deprecated-gpu-targets


📝 Commits (1)

  • 9082b8c ci: silence deprecated gpu targets warning

📊 Changes

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

View changed files

📝 CMakePresets.json (+4 -2)

📄 Description

this quiets the nvcc warning when building for deprecated gpu targets. the build targets are set explicitly so there's no reason to show these warnings. setting it in CMakePresets allows quieter ci builds while giving any users the information they would need re: deprecated targets

nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

🔄 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/9932 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 3/21/2025 **Status:** ✅ Merged **Merged:** 4/25/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/no-deprecated-gpu-targets` --- ### 📝 Commits (1) - [`9082b8c`](https://github.com/ollama/ollama/commit/9082b8c497936180eb2b3bc614d0333a5d0c716c) ci: silence deprecated gpu targets warning ### 📊 Changes **1 file changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CMakePresets.json` (+4 -2) </details> ### 📄 Description this quiets the nvcc warning when building for deprecated gpu targets. the build targets are set explicitly so there's no reason to show these warnings. setting it in CMakePresets allows quieter ci builds while giving any users the information they would need re: deprecated targets ``` nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). ``` --- <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-13 00:18:05 -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#13101