forked from ggerganov/llama.cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to CMakePresets.json to add ninja clang target on windows (gg…
…erganov#10668) * Update cmakepreset.json to use clang with ninja by default * Update cmakepreset.json to add clang and ninja based configs * Updates to build.md file * Make updates to rename preset targets * Update with .cmake file * Remove additional whitespaces * Add .cmake file for x64-windows-llvm * Update docs/build.md * Update docs/build.md --------- Co-authored-by: Max Krasnyansky <[email protected]>
- Loading branch information
1 parent
3d98b4c
commit c37fb4c
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
set( CMAKE_SYSTEM_NAME Windows ) | ||
set( CMAKE_SYSTEM_PROCESSOR x86_64 ) | ||
|
||
set( CMAKE_C_COMPILER clang ) | ||
set( CMAKE_CXX_COMPILER clang++ ) | ||
|
||
set( arch_c_flags "-march=native" ) | ||
|
||
set( CMAKE_C_FLAGS_INIT "${arch_c_flags}" ) | ||
set( CMAKE_CXX_FLAGS_INIT "${arch_c_flags}" ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters