Skip to content

Commit 089c124

Browse files
committed
Merge remote-tracking branch 'origin/ggml-fix-arm-feature-verification' into installama
2 parents 3e6f2b7 + fee2a15 commit 089c124

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ggml/src/ggml-cpu/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ function(ggml_add_cpu_backend_variant_impl tag_name)
224224

225225
include(CheckCXXSourceCompiles)
226226
set(CMAKE_REQUIRED_FLAGS_SAVE ${CMAKE_REQUIRED_FLAGS})
227-
set(CMAKE_REQUIRED_FLAGS "${ARCH_FLAGS}")
227+
string(REPLACE ";" " " ARCH_FLAGS_STR "${ARCH_FLAGS}")
228+
set(CMAKE_REQUIRED_FLAGS "${ARCH_FLAGS_STR}")
228229
foreach(feature DOTPROD SVE MATMUL_INT8 FMA FP16_VECTOR_ARITHMETIC SME)
229230
set(ARM_FEATURE "HAVE_${feature}")
230231
check_cxx_source_compiles(

0 commit comments

Comments
 (0)