Skip to content

Commit 412f4c7

Browse files
committed
ggml-cpu: disable ggml-nnpa compile flag by default
fixes #14877 Signed-off-by: Aaron Teo <[email protected]>
1 parent 2177ccd commit 412f4c7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ggml/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ option(GGML_RVV "ggml: enable rvv" ON)
131131
option(GGML_RV_ZFH "ggml: enable riscv zfh" OFF)
132132
option(GGML_XTHEADVECTOR "ggml: enable xtheadvector" OFF)
133133
option(GGML_VXE "ggml: enable vxe" ON)
134-
option(GGML_NNPA "ggml: enable nnpa" ON)
134+
option(GGML_NNPA "ggml: enable nnpa" OFF) # temp disabled by default, see: https://github.com/ggml-org/llama.cpp/issues/14877
135135

136136
option(GGML_CPU_ALL_VARIANTS "ggml: build all variants of the CPU backend (requires GGML_BACKEND_DL)" OFF)
137137
set(GGML_CPU_ARM_ARCH "" CACHE STRING "ggml: CPU architecture for ARM")

ggml/src/ggml-cpu/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ function(ggml_add_cpu_backend_variant_impl tag_name)
458458
list(APPEND ARCH_FLAGS -march=z16)
459459
elseif (${S390X_M} MATCHES "9175|9176")
460460
# NOTE: Only available from GCC 15.1.0 onwards. Any z17 machine with compile issues must first verify their GCC version.
461+
# binutils must also be updated to the latest for the -march=z17 flag to work. Otherwise, use -march=arch15.
461462
message(STATUS "z17 target")
462463
list(APPEND ARCH_FLAGS -march=z17)
463464
else()

0 commit comments

Comments
 (0)