Skip to content

Commit 758c1e3

Browse files
authored
make : use cpuinfo in MSYS2 to enable x86 ISA extensions on the host (ggml-org#1216)
1 parent 396a22b commit 758c1e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
7070
CPUINFO_CMD := sysctl machdep.cpu.features
7171
else ifeq ($(UNAME_S),Linux)
7272
CPUINFO_CMD := cat /proc/cpuinfo
73+
else ifneq (,$(filter MINGW32_NT% MINGW64_NT%,$(UNAME_S)))
74+
CPUINFO_CMD := cat /proc/cpuinfo
7375
else ifeq ($(UNAME_S),Haiku)
7476
CPUINFO_CMD := sysinfo -cpu
7577
endif

0 commit comments

Comments
 (0)