Spaces:
Running
Running
make : update MSYS_NT (#1813)
Browse filesI just upgraded the R wrapper at https://github.com/bnosac/audio.whisper to use whisper.cpp 1.5.4
I'm working on Windows and noticed while doing that that it did not pick up the relevant CFLAGS/CXXFLAGS as my system showed
```
I whisper.cpp build info:
I UNAME_S: MSYS_NT-10.0-19045
I UNAME_P: unknown
I UNAME_M: x86_64
```
Many thanks for all the tremendous hard work on maintaining whisper.cpp!
Makefile
CHANGED
|
@@ -117,7 +117,7 @@ ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686 amd64))
|
|
| 117 |
CPUINFO_CMD := sysctl machdep.cpu.features machdep.cpu.leaf7_features
|
| 118 |
else ifeq ($(UNAME_S),Linux)
|
| 119 |
CPUINFO_CMD := cat /proc/cpuinfo
|
| 120 |
-
else ifneq (,$(filter MINGW32_NT% MINGW64_NT%,$(UNAME_S)))
|
| 121 |
CPUINFO_CMD := cat /proc/cpuinfo
|
| 122 |
else ifneq (,$(filter DragonFly FreeBSD,$(UNAME_S)))
|
| 123 |
CPUINFO_CMD := grep Features /var/run/dmesg.boot
|
|
|
|
| 117 |
CPUINFO_CMD := sysctl machdep.cpu.features machdep.cpu.leaf7_features
|
| 118 |
else ifeq ($(UNAME_S),Linux)
|
| 119 |
CPUINFO_CMD := cat /proc/cpuinfo
|
| 120 |
+
else ifneq (,$(filter MINGW32_NT% MINGW64_NT% MSYS_NT%,$(UNAME_S)))
|
| 121 |
CPUINFO_CMD := cat /proc/cpuinfo
|
| 122 |
else ifneq (,$(filter DragonFly FreeBSD,$(UNAME_S)))
|
| 123 |
CPUINFO_CMD := grep Features /var/run/dmesg.boot
|