-
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.
- Loading branch information
Showing
2 changed files
with
18 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,13 @@ | ||
diff --git a/src/llama.cpp/ggml/src/ggml-cpu/CMakeLists.txt b/src/llama.cpp/ggml/src/ggml-cpu/CMakeLists.txt | ||
index f0aecac1..53dffd55 100644 | ||
--- a/src/llama.cpp/ggml/src/ggml-cpu/CMakeLists.txt | ||
+++ b/src/llama.cpp/ggml/src/ggml-cpu/CMakeLists.txt | ||
@@ -80,7 +80,7 @@ function(ggml_add_cpu_backend_variant_impl tag_name) | ||
message(STATUS "ARM detected") | ||
|
||
if (MSVC AND NOT CMAKE_C_COMPILER_ID STREQUAL "Clang") | ||
- message(FATAL_ERROR "MSVC is not supported for ARM, use clang") | ||
+ list(APPEND ARCH_FLAGS /arch:armv8.7) | ||
else() | ||
check_cxx_compiler_flag(-mfp16-format=ieee GGML_COMPILER_SUPPORTS_FP16_FORMAT_I3E) | ||
if (NOT "${GGML_COMPILER_SUPPORTS_FP16_FORMAT_I3E}" STREQUAL "") |