File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,6 @@ add_library(ggml-base
196196 ../include /gguf.h
197197 ggml.c
198198 ggml.cpp
199- ggml-impl.h
200199 ggml-alloc.c
201200 ggml-backend.cpp
202201 ggml-opt.cpp
@@ -403,17 +402,3 @@ if (BUILD_SHARED_LIBS)
403402 target_compile_definitions (${target} PUBLIC GGML_SHARED)
404403 endforeach ()
405404endif ()
406-
407- if (GGML_VXE)
408- add_compile_definitions (GGML_VXE)
409- target_compile_definitions (ggml PRIVATE GGML_VXE)
410- target_compile_definitions (ggml-base PRIVATE GGML_VXE)
411- message (STATUS "GGML_VXE triggered" )
412- endif ()
413-
414- if (GGML_NNPA)
415- add_compile_definitions (GGML_NNPA)
416- target_compile_definitions (ggml PRIVATE GGML_NNPA)
417- target_compile_definitions (ggml-base PRIVATE GGML_NNPA)
418- message (STATUS "GGML_NNPA triggered" )
419- endif ()
Original file line number Diff line number Diff line change @@ -443,6 +443,7 @@ function(ggml_add_cpu_backend_variant_impl tag_name)
443443 elseif (GGML_SYSTEM_ARCH STREQUAL "s390x" )
444444 message (STATUS "s390x detected" )
445445 list (APPEND GGML_CPU_SOURCES ggml-cpu/arch/s390/quants.c)
446+ list (APPEND GGML_CPU_SOURCES ggml-cpu/arch/s390/typedef.h)
446447 file (READ "/proc/cpuinfo" CPUINFO_CONTENTS)
447448 string (REGEX REPLACE "machine[ \t\r\n ]*=[ \t\r\n ]*([0-9]+)" "\\ 1" S390X_M ${CPUINFO_CONTENTS} )
448449
You can’t perform that action at this time.
0 commit comments