Spaces:
Running
Running
binding : fix ruby build by adding missing ggml-alloc (#1305)
Browse files
bindings/ruby/ext/.gitignore
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
Makefile
|
| 2 |
ggml.c
|
| 3 |
ggml.h
|
|
|
|
|
|
|
| 4 |
whisper.bundle
|
| 5 |
whisper.cpp
|
| 6 |
whisper.h
|
|
|
|
| 1 |
Makefile
|
| 2 |
ggml.c
|
| 3 |
ggml.h
|
| 4 |
+
ggml-alloc.c
|
| 5 |
+
ggml-alloc.h
|
| 6 |
whisper.bundle
|
| 7 |
whisper.cpp
|
| 8 |
whisper.h
|
bindings/ruby/ext/extconf.rb
CHANGED
|
@@ -3,6 +3,8 @@ system("cp #{File.join(File.dirname(__FILE__),'..','..','..','whisper.cpp')} .")
|
|
| 3 |
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','whisper.h')} .")
|
| 4 |
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','ggml.h')} .")
|
| 5 |
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','ggml.c')} .")
|
|
|
|
|
|
|
| 6 |
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','examples','dr_wav.h')} .")
|
| 7 |
|
| 8 |
|
|
|
|
| 3 |
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','whisper.h')} .")
|
| 4 |
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','ggml.h')} .")
|
| 5 |
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')} .")
|
| 8 |
system("cp #{File.join(File.dirname(__FILE__),'..','..','..','examples','dr_wav.h')} .")
|
| 9 |
|
| 10 |
|