Shogo Ishigami
Shogo Ishigami
LLAMA_LTO was changed so that it can be used outside of Release so that it can be built on Windows.
The build flags to enable FMA, F16C, and SSE3 are not in the MSVC. (At least not within the official documentation) https://learn.microsoft.com/en-us/cpp/build/reference/arch-x86?view=msvc-170 https://learn.microsoft.com/en-us/cpp/build/reference/arch-x64?view=msvc-170 However, by using Clang, which can be...
> @nusu-github wouldn't this work? > > ``` > cmake_minimum_required(VERSION 3.8) > project(YourProjectName LANGUAGES CXX) > > # Set C++ standard > set(CMAKE_CXX_STANDARD 17) > > # Add the source...
@BadisG Clang must be installed using Visual Studio Installer. https://learn.microsoft.com/en-us/cpp/build/clang-support-msbuild?view=msvc-170 If you already have Clang installed, you can now build. ``` -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ command: cmake -S . -B Windows-build/ -DCMAKE_BUILD_TYPE=Release...
@BadisG I forgot about the generator! Now Clang will be used. ``` -G "Ninja" command: cmake -G "Ninja" -S . -B Windows-build/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ``` When executed correctly, it...