mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-25 03:38:22 +02:00
make : use cpuinfo in MSYS2 to enable x86 ISA extensions on the host (#1216)
This commit is contained in:
parent
b0d35995c4
commit
8e46ba80d3
2
Makefile
2
Makefile
@ -70,6 +70,8 @@ ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
|
|||||||
CPUINFO_CMD := sysctl machdep.cpu.features
|
CPUINFO_CMD := sysctl machdep.cpu.features
|
||||||
else ifeq ($(UNAME_S),Linux)
|
else ifeq ($(UNAME_S),Linux)
|
||||||
CPUINFO_CMD := cat /proc/cpuinfo
|
CPUINFO_CMD := cat /proc/cpuinfo
|
||||||
|
else ifneq (,$(filter MINGW32_NT% MINGW64_NT%,$(UNAME_S)))
|
||||||
|
CPUINFO_CMD := cat /proc/cpuinfo
|
||||||
else ifeq ($(UNAME_S),Haiku)
|
else ifeq ($(UNAME_S),Haiku)
|
||||||
CPUINFO_CMD := sysinfo -cpu
|
CPUINFO_CMD := sysinfo -cpu
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user