Spaces:
Running
Running
Didzis Gosko commited on
make : fix detection of AVX2 on macOS (#1250)
Browse files
Makefile
CHANGED
|
@@ -67,7 +67,7 @@ endif
|
|
| 67 |
# feel free to update the Makefile for your architecture and send a pull request or issue
|
| 68 |
ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686 amd64))
|
| 69 |
ifeq ($(UNAME_S),Darwin)
|
| 70 |
-
CPUINFO_CMD := sysctl machdep.cpu.features
|
| 71 |
else ifeq ($(UNAME_S),Linux)
|
| 72 |
CPUINFO_CMD := cat /proc/cpuinfo
|
| 73 |
else ifneq (,$(filter MINGW32_NT% MINGW64_NT%,$(UNAME_S)))
|
|
|
|
| 67 |
# feel free to update the Makefile for your architecture and send a pull request or issue
|
| 68 |
ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686 amd64))
|
| 69 |
ifeq ($(UNAME_S),Darwin)
|
| 70 |
+
CPUINFO_CMD := sysctl machdep.cpu.features machdep.cpu.leaf7_features
|
| 71 |
else ifeq ($(UNAME_S),Linux)
|
| 72 |
CPUINFO_CMD := cat /proc/cpuinfo
|
| 73 |
else ifneq (,$(filter MINGW32_NT% MINGW64_NT%,$(UNAME_S)))
|