Skip to content

fix: allow clang-cl for ARM ggml builds - #16

Merged
gabewillen merged 1 commit into
mainfrom
fix/clangcl-arm-ggml
Aug 7, 2026
Merged

fix: allow clang-cl for ARM ggml builds#16
gabewillen merged 1 commit into
mainfrom
fix/clangcl-arm-ggml

Conversation

@gabewillen

Copy link
Copy Markdown
Contributor

Allows Windows ARM64 Node prebuilds to use the clang-cl toolchain required by ggml.

The existing ARM guard rejected all MSVC-compatible compilers; clang-cl reports MSVC compatibility while its compiler ID is Clang. This narrows the rejection to non-Clang MSVC and preserves the safety check.

Copilot AI lite review requested due to automatic review settings August 7, 2026 07:23
@gabewillen
gabewillen merged commit 8ac8fbc into main Aug 7, 2026
13 checks passed
@gabewillen
gabewillen deleted the fix/clangcl-arm-ggml branch August 7, 2026 07:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the build configuration to allow Windows ARM64 builds (including Node prebuilds) to use the clang-cl toolchain needed by ggml while keeping the existing safety guard that prevents unsupported MSVC-only configurations for embedded AIST model blobs.

Changes:

  • Narrowed the CORTEXT_EMBED_AIST_MODEL + MSVC fatal guard to trigger only for non-Clang MSVC-compatible compilers.
  • Preserves the existing error message and guidance while permitting clang-cl (compiler ID Clang) to proceed.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants