From: Didzis Gosko Date: Wed, 6 Sep 2023 15:22:21 +0000 (+0300) Subject: make : fix detection of AVX2 on macOS (#1250) X-Git-Tag: upstream/1.7.4~1336 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=64cb45fd79b243654a2e15f139e05e52cc700d7c;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp make : fix detection of AVX2 on macOS (#1250) --- diff --git a/Makefile b/Makefile index d775b74b..066ad598 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ endif # feel free to update the Makefile for your architecture and send a pull request or issue ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686 amd64)) ifeq ($(UNAME_S),Darwin) - CPUINFO_CMD := sysctl machdep.cpu.features + CPUINFO_CMD := sysctl machdep.cpu.features machdep.cpu.leaf7_features else ifeq ($(UNAME_S),Linux) CPUINFO_CMD := cat /proc/cpuinfo else ifneq (,$(filter MINGW32_NT% MINGW64_NT%,$(UNAME_S)))