mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-26 20:29:09 +02:00
* Use CMake to build shared object * Make Rakefile follow change of build process * Add test for packaging * Run CI for Ruby bindings almost always because each CMakeLists.txt might affect Ruby bindings * Enable PIC * Bump Ruby version to 3.2 on CI * Check libgomp * Check dependency of whisper.cpp accurately
35 lines
737 B
Ruby
35 lines
737 B
Ruby
ignored_dirs = %w[
|
|
.devops
|
|
examples/wchess/wchess.wasm
|
|
examples/whisper.android
|
|
examples/whisper.android.java
|
|
examples/whisper.objc
|
|
examples/whisper.swiftui
|
|
grammars
|
|
models
|
|
samples
|
|
scripts
|
|
]
|
|
ignored_files = %w[
|
|
AUTHORS
|
|
Makefile
|
|
README.md
|
|
README_sycl.md
|
|
.gitignore
|
|
.gitmodules
|
|
whisper.nvim
|
|
twitch.sh
|
|
yt-wsp.sh
|
|
]
|
|
|
|
EXTSOURCES =
|
|
`git ls-files -z ../..`.split("\x0")
|
|
.select {|file|
|
|
basename = File.basename(file)
|
|
|
|
ignored_dirs.all? {|dir| !file.start_with?("../../#{dir}")} &&
|
|
!ignored_files.include?(basename) &&
|
|
(file.start_with?("../..") || file.start_with?("../javascript")) &&
|
|
(!file.start_with?("../../.github/") || basename == "bindings-ruby.yml")
|
|
}
|