8000 binding : fix ruby build by adding missing ggml-alloc (#1305) · vonstring/whisper.cpp@b4ab90f · GitHub
[go: up one dir, main page]

Skip to content

Commit b4ab90f

Browse files
jhen0409vonstring
authored andcommitted
binding : fix ruby build by adding missing ggml-alloc (ggml-org#1305)
1 parent ffc36c7 commit b4ab90f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

bindings/ruby/ext/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Makefile
22
ggml.c
33
ggml.h
4+
ggml-alloc.c
5+
ggml-alloc.h
46
whisper.bundle
57
whisper.cpp
68
whisper.h

bindings/ruby/ext/extconf.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','whisper.h')} .")
44
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','ggml.h')} .")
55
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','ggml.c')} .")
6+
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','ggml-alloc.h')} .")
7+
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','ggml-alloc.c')} .")
68
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','examples','dr_wav.h')} .")
79

810

0 commit comments

Comments
 (0)
0