ggml-org/whisper.cpp

OpenBLAS hardcoded in Makefile - and should we use it?

Offen

#414 geöffnet am 16.01.2023

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (6.074 Forks)batch import
enhancementgood first issue

Repository-Metriken

Stars
 (52.968 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 5T 20h) (36 gemergte PRs in 30 T)

Beschreibung

the path to openblas libraries is hardcoded as: /usr/local/include/openblas a la:

ifdef WHISPER_OPENBLAS
        CFLAGS  += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas
        LDFLAGS += -lopenblas
endif

As I wish to give whisper.cpp all the help I can with libraries it can use (M1 arm64 MBP13"), I could install macports' version but it would probably be located in /opt/local/include/openblas (I'm assuming).

Should I install that and change the Makefile? Benefits?

Contributor Guide