mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-27 00:09:30 +01: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
|
||||
else ifeq ($(UNAME_S),Linux)
|
||||
CPUINFO_CMD := cat /proc/cpuinfo
|
||||
else ifneq (,$(filter MINGW32_NT% MINGW64_NT%,$(UNAME_S)))
|
||||
CPUINFO_CMD := cat /proc/cpuinfo
|
||||
else ifeq ($(UNAME_S),Haiku)
|
||||
CPUINFO_CMD := sysinfo -cpu
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user