ggml-org/whisper.cpp

OpenBLAS hardcoded in Makefile - and should we use it?

开放

#414 创建于 2023年1月16日

 (4 条评论) (0 个反应) (0 位负责人)C++ (6,072 个派生)batch import
enhancementgood first issue

仓库指标

星标
 (52,942 个星标)
PR 合并指标
 (平均合并 5天 20小时) (30 天内合并 36 个 PR)

描述

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?

贡献者指南