Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to whisper.cpp 1.6.2 + allow to transcribe with turbowhisper #68

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
trying to compile
jwijffels committed Oct 2, 2024
commit b1631167cdd8fcea9d54b404b59e599995e8cbb0
7 changes: 5 additions & 2 deletions src/Makevars
Original file line number Diff line number Diff line change
@@ -3,8 +3,11 @@ CXX_STD = CXX11

PKG_CPPFLAGS += -DSTRICT_R_HEADERS -I./dr_libs -I./whisper_cpp/ggml/include -I./whisper_cpp/src -I./whisper_cpp/include -I./whisper_cpp/examples

SOURCES = whisper_cpp/src/whisper.cpp whisper_cpp/ggml/src/ggml.c rcpp_whisper.cpp RcppExports.cpp
OBJECTS = whisper_cpp/src/whisper.o whisper_cpp/ggml/src/ggml.o rcpp_whisper.o RcppExports.o
SOURCES = whisper_cpp/ggml/src/ggml-quants.c whisper_cpp/ggml/src/ggml-backend.c whisper_cpp/ggml/src/ggml-alloc.c whisper_cpp/ggml/src/ggml.c
OBJECTS = whisper_cpp/ggml/src/ggml-quants.o whisper_cpp/ggml/src/ggml-backend.o whisper_cpp/ggml/src/ggml-alloc.o whisper_cpp/ggml/src/ggml.o

SOURCES += whisper_cpp/src/whisper.cpp rcpp_whisper.cpp RcppExports.cpp
OBJECTS += whisper_cpp/src/whisper.o rcpp_whisper.o RcppExports.o

all: $(SHLIB)