From 5e3ad011e2cc35242dcdaf54aaf9177280b0521e Mon Sep 17 00:00:00 2001 From: Srihari-mcw Date: Thu, 5 Dec 2024 10:29:24 +0530 Subject: [PATCH] Updates to build.md file --- docs/build.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/build.md b/docs/build.md index a4964cbd1..934d95579 100644 --- a/docs/build.md +++ b/docs/build.md @@ -57,6 +57,13 @@ cmake --build build --config Release ``` Building for arm64 can also be done with the MSVC compiler with the build-arm64-windows-MSVC preset, or the standard CMake build instructions. However, note that the MSVC compiler does not support inline ARM assembly code, used e.g. for the accelerated Q4_0_4_8 CPU kernels. + For building with ninja generator and clang compiler as default: + -set path:set LIB=C:\Program Files (x86)\Windows Kits\10\Lib\10.0.22621.0\um\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\lib\x64\uwp;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.22621.0\ucrt\x64 + ```bash + cmake --preset x64-windows-ninja-release + cmake --build build-x64-windows-ninja-release + ``` + ## BLAS Build Building the program with BLAS support may lead to some performance improvements in prompt processing using batch sizes higher than 32 (the default is 512). Using BLAS doesn't affect the generation performance. There are currently several different BLAS implementations available for build and use: