]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
make : update MSYS_NT (#1813)
authorjwijffels <redacted>
Tue, 30 Jan 2024 12:13:49 +0000 (13:13 +0100)
committerGitHub <redacted>
Tue, 30 Jan 2024 12:13:49 +0000 (14:13 +0200)
I 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

index f09c0bcf22a9ba46d6f03c7c742f57d4a2ba5036..762dc65ea0fadec785b740467c72e8dafe4ce098 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -117,7 +117,7 @@ ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686 amd64))
                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)))
+       else ifneq (,$(filter MINGW32_NT% MINGW64_NT% MSYS_NT%,$(UNAME_S)))
                CPUINFO_CMD := cat /proc/cpuinfo
        else ifneq (,$(filter DragonFly FreeBSD,$(UNAME_S)))
                CPUINFO_CMD := grep Features /var/run/dmesg.boot