]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
binding : fix ruby build by adding missing ggml-alloc (#1305)
authorJhen-Jie Hong <redacted>
Mon, 18 Sep 2023 13:15:45 +0000 (21:15 +0800)
committerGitHub <redacted>
Mon, 18 Sep 2023 13:15:45 +0000 (21:15 +0800)
bindings/ruby/ext/.gitignore
bindings/ruby/ext/extconf.rb

index 7c9cb0378aed4fb48e4bdf4c423b6fb3ad5f0142..9f9b7abd60f9abaae4145594f5033cbc53472aab 100644 (file)
@@ -1,6 +1,8 @@
 Makefile
 ggml.c
 ggml.h
+ggml-alloc.c
+ggml-alloc.h
 whisper.bundle
 whisper.cpp
 whisper.h
index 851c52dbd0c300d8f2a0bddde2220f7cb7c00fc7..95108b634263eb1d0d93947cc36cd190000c320e 100644 (file)
@@ -3,6 +3,8 @@ system("cp #{File.join(File.dirname(__FILE__),'..','..','..','whisper.cpp')} .")
 system("cp #{File.join(File.dirname(__FILE__),'..','..','..','whisper.h')} .")
 system("cp #{File.join(File.dirname(__FILE__),'..','..','..','ggml.h')} .")
 system("cp #{File.join(File.dirname(__FILE__),'..','..','..','ggml.c')} .")
+system("cp #{File.join(File.dirname(__FILE__),'..','..','..','ggml-alloc.h')} .")
+system("cp #{File.join(File.dirname(__FILE__),'..','..','..','ggml-alloc.c')} .")
 system("cp #{File.join(File.dirname(__FILE__),'..','..','..','examples','dr_wav.h')} .")