SIGN IN SIGN UP
microsoft / BitNet UNCLAIMED

Official inference framework for 1-bit LLMs

0 0 0 Python

Fix build error with GCC by forcing Clang compiler in CMake on android/aarch64 (#242)

GCC does not recognize Clang-specific warning flags like
-Wunreachable-code-break and -Wunreachable-code-return, which are passed
by upstream submodules (e.g., ggml). This patch forces CMake to use Clang
via command-line arguments, avoiding the need to patch nested submodules.

This resolves compiler errors without modifying submodule source code.
B
Benjamin Wegener committed
c9e752c9d705fbbbdca474a9ce8e112bde9cc8e0
Parent: 1792346
Committed by GitHub <noreply@github.com> on 5/8/2025, 8:22:45 AM