mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-10-06 22:41:59 +02:00
ggml : detect SSSE3 (#1211)
* ggml : add ggml_cpu_has_ssse3 * whisper : show SSSE3 in system info * make : detect SSSE3 via cpuinfo
This commit is contained in:
@@ -104,6 +104,11 @@ ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
|
||||
ifneq (,$(findstring sse3,$(SSE3_M)))
|
||||
CFLAGS += -msse3
|
||||
endif
|
||||
|
||||
SSSE3_M := $(shell $(CPUINFO_CMD) | grep -m 1 "ssse3 ")
|
||||
ifneq (,$(findstring ssse3,$(SSSE3_M)))
|
||||
CFLAGS += -mssse3
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifeq ($(UNAME_M),amd64)
|
||||
|
||||
Reference in New Issue
Block a user