]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ruby : fix bindings (#2484)
authorKITAITI Makoto <redacted>
Wed, 16 Oct 2024 15:44:04 +0000 (00:44 +0900)
committerGitHub <redacted>
Wed, 16 Oct 2024 15:44:04 +0000 (18:44 +0300)
commitd3f7137cc9befa6d74dc4085de2b664b97b7c8bb
tree4aaf434902724725cfe4a477f1a5323265255d55
parentf7c99e49b38a08377f3dc04759177d884d484443
ruby : fix bindings (#2484)

* Improve Rakefile

* Remove intermediate files

* Remove unnecessary manipulations from extconf.rb

* Add README and LINCENSE to source files

* Manage ext source files using YAML file

* Use extsources.yaml to include files into gem package file

* Add git-managed source files to build dependency

* Add test task

* Download model for test if not exists

* Add test for build

* Ignore gem package directory

* Enable GitHub action for Ruby binding

* Fix model name

* Build lib file for test

* Use extension for each platform

* Use extension for each platform on testing

* Move built lib file rather than copy

* Add intermediate files to clean targets
22 files changed:
.github/workflows/bindings-ruby.yml [new file with mode: 0644]
.github/workflows/bindings-ruby.yml.disabled [deleted file]
bindings/ruby/.gitignore [new file with mode: 0644]
bindings/ruby/Rakefile
bindings/ruby/ext/.gitignore
bindings/ruby/ext/extconf.rb
bindings/ruby/ext/ggml-backend-impl.h [deleted file]
bindings/ruby/ext/ggml-backend.c [deleted file]
bindings/ruby/ext/ggml-backend.h [deleted file]
bindings/ruby/ext/ggml-common.h [deleted file]
bindings/ruby/ext/ggml-cuda.h [deleted file]
bindings/ruby/ext/ggml-impl.h [deleted file]
bindings/ruby/ext/ggml-kompute.h [deleted file]
bindings/ruby/ext/ggml-metal.h [deleted file]
bindings/ruby/ext/ggml-opencl.h [deleted file]
bindings/ruby/ext/ggml-quants.c [deleted file]
bindings/ruby/ext/ggml-quants.h [deleted file]
bindings/ruby/ext/ggml-sycl.h [deleted file]
bindings/ruby/ext/ggml-vulkan.h [deleted file]
bindings/ruby/extsources.yaml [new file with mode: 0644]
bindings/ruby/tests/test_whisper.rb
bindings/ruby/whispercpp.gemspec