Skip to content

ci(release): resolve OpenMP redist DLL by glob instead of pinned MSVC version - #50

Merged
khosravipasha merged 1 commit into
prismfrom
fix/release-openmp-redist-glob
Jul 6, 2026
Merged

khosravipasha merged 1 commit into
prismfrom
fix/release-openmp-redist-glob

Conversation

@khosravipasha

Copy link
Copy Markdown
Collaborator

Problem

Today's Release (Prism) run 28762436839 failed in windows-cpu (arm64) (and fail-fast cancelled x64):

Cannot find path 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\14.44.35112\debug_nonredist\arm64\Microsoft.VC143.OpenMP.LLVM\libomp140.aarch64.dll'

The pack step hardcodes the MSVC redist version directory, which changes whenever GitHub updates the windows-2025 runner image. Upstream has the same pattern and just bumps the pin by hand (currently VS 18 / 14.51.36231 / VC145 on master).

Fix

Glob the VS product dir, redist version, and VC14* toolset, pick the newest match, and fail with a clear message if nothing is found. Runner-image updates stop breaking the release build.

Note: a workflow-file change only takes effect on a fresh dispatch — re-running the failed jobs of the current run would still use the old definition. After merging, re-run Release (Prism) on prism with create_release=true.

🤖 Generated with Claude Code

… version

The windows-cpu pack step hardcoded VC\Redist\MSVC\14.44.35112, which broke
when the windows-2025 runner image moved to a newer MSVC (arm64 job failed,
fail-fast cancelled x64). Glob the VS product and redist version directories
and pick the newest match so runner-image updates stop breaking the release.

Co-Authored-By: Claude Fable 5 <[email protected]>
@github-actions github-actions Bot added the devops label Jul 6, 2026
@khosravipasha
khosravipasha merged commit db9019f into prism Jul 6, 2026
6 checks passed
@khosravipasha
khosravipasha deleted the fix/release-openmp-redist-glob branch July 6, 2026 02:01
khosravipasha added a commit that referenced this pull request Jul 7, 2026
… version (#50)

The windows-cpu pack step hardcoded VC\Redist\MSVC\14.44.35112, which broke
when the windows-2025 runner image moved to a newer MSVC (arm64 job failed,
fail-fast cancelled x64). Glob the VS product and redist version directories
and pick the newest match so runner-image updates stop breaking the release.

Co-authored-by: Claude Fable 5 <[email protected]>
khosravipasha added a commit that referenced this pull request Aug 11, 2026
… version (#50)

The windows-cpu pack step hardcoded VC\Redist\MSVC\14.44.35112, which broke
when the windows-2025 runner image moved to a newer MSVC (arm64 job failed,
fail-fast cancelled x64). Glob the VS product and redist version directories
and pick the newest match so runner-image updates stop breaking the release.

Co-authored-by: Claude Fable 5 <[email protected]>
MasterCool4389 pushed a commit to MasterCool4389/Built_PrismML-ENG-CUDA_llama.cpp that referenced this pull request Sep 18, 2026
… version (PrismML-Eng#50)

The windows-cpu pack step hardcoded VC\Redist\MSVC\14.44.35112, which broke
when the windows-2025 runner image moved to a newer MSVC (arm64 job failed,
fail-fast cancelled x64). Glob the VS product and redist version directories
and pick the newest match so runner-image updates stop breaking the release.

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant