[PR #12486] [MERGED] CI: workaround broken clang on windows temporarily #13839

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12486
Author: @dhiltgen
Created: 10/3/2025
Status: Merged
Merged: 10/3/2025
Merged by: @dhiltgen

Base: mainHead: ci


📝 Commits (1)

  • bb48e4e CI: temporarily disable clang install

📊 Changes

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

View changed files

📝 .github/workflows/release.yaml (+2 -1)

📄 Description

It looks like mingw-w64-clang-x86_64-clang 21.1.1-1 is broken for CGO compiles on windows right now, but I haven't found a way to install v20 + gcc-compat which we need. To unblock the build, we'll switch back to the default compiler (gcc) which likely breaks unicode handling on windows due to known bugs in the c++ library. Assuming that's confirmed, we'll need a different fix for CI before we finalize 0.12.4.

CI from a few days ago worked fine with clang 20.1.8-2


🔄 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/12486 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 10/3/2025 **Status:** ✅ Merged **Merged:** 10/3/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `ci` --- ### 📝 Commits (1) - [`bb48e4e`](https://github.com/ollama/ollama/commit/bb48e4e2bd053980b1e67afbda123bd794059255) CI: temporarily disable clang install ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yaml` (+2 -1) </details> ### 📄 Description It looks like mingw-w64-clang-x86_64-clang 21.1.1-1 is broken for CGO compiles on windows right now, but I haven't found a way to install v20 + gcc-compat which we need. To unblock the build, we'll switch back to the default compiler (gcc) which likely breaks unicode handling on windows due to known bugs in the c++ library. Assuming that's confirmed, we'll need a different fix for CI before we finalize 0.12.4. CI from a few days ago worked fine with clang 20.1.8-2 --- <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:38:17 -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#13839