Skip to content

CPU/Windows: Ensure LLVMs OpenMP library gets selected in CMake and CI#25782

Draft
JTischbein wants to merge 1 commit into
ggml-org:masterfrom
JTischbein:woa-openmp_linking_fix
Draft

CPU/Windows: Ensure LLVMs OpenMP library gets selected in CMake and CI#25782
JTischbein wants to merge 1 commit into
ggml-org:masterfrom
JTischbein:woa-openmp_linking_fix

Conversation

@JTischbein

Copy link
Copy Markdown
Contributor

Overview

Right now the Windows build uses the debug non-redistributable DLL of OpenMP from MSVC and Visual Studio does not ship a distributable DLL. LLVM on the other hand does ship one.

This PR changes the build toolchain for Windows on Arm to use the LLVM OpenMP DLL (libomp.dll) and changes the CI to package the LLVM \Llvm\ARM64\bin\libomp.dll instead of the MSVC/.../debug_nonredist/.../libomp140.aarch64.dll

Requirements

  • I have read and agree with the contributing guidelines Done
  • AI usage disclosure: AI was used for the implementation, which I reviewed and partly changed on my own.

@github-actions github-actions Bot added build Compilation issues devops improvements to build systems and github actions labels Jul 16, 2026
@JTischbein

Copy link
Copy Markdown
Contributor Author

@ORippler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Compilation issues devops improvements to build systems and github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant