From: Przemysław Pawełczyk Date: Mon, 28 Aug 2023 10:28:26 +0000 (+0200) Subject: make : use cpuinfo in MSYS2 to enable x86 ISA extensions on the host (#1216) X-Git-Tag: upstream/1.7.4~1349 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=8e46ba80d3c1dcf532a0029f9bcdf99ce9ce7d40;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp make : use cpuinfo in MSYS2 to enable x86 ISA extensions on the host (#1216) --- diff --git a/Makefile b/Makefile index b53a4320..a2631011 100644 --- a/Makefile +++ b/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