返回全部动态

llama.cpp 发布 b10932:修复 clang 预编译头时间戳构建问题

原标题:b10932

llama.cpp Releases一手来源开源质量 62

AI 摘要

llama.cpp 发布 b10932 版本,主要修复了 CMake 构建中 clang 预编译头(PCH)因时间戳不一致导致构建失败的问题,该选项覆盖 ccache 视为 MSVC 但底层为 clang 的编译器,包括 clang-cl 和 Intel LLVM 驱动。同时该版本提供了覆盖 macOS/iOS、Linux、Android、Windows 及 openEuler 等多平台的预编译二进制包,支持 CUDA、Vulkan、ROCm、SYCL、OpenVINO 等多种后端。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

<details open> cmake: leave the timestamp out of precompiled headers on clang (#28816) Clang stores the modification time of the precompiled header sources inside the header and refuses the header when they differ. A cached header restored from another checkout carries the timestamps of that checkout, so the build fails. The option covers the compilers ccache treats as MSVC while they are clang underneath, clang-cl and the Intel LLVM drivers. </details> **Website:** - <https://llama.app> **


发布时间:2026-09-13 07:09
抓取时间:2026-09-13 07:49
来源机构:ggml-org
阅读原文github.com