mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-14 00:18:36 +02:00
ruby : add Metal support (#2516)
This commit is contained in:
@ -17,7 +17,12 @@ extsources.each_pair do |src_dir, dests|
|
||||
end
|
||||
SOURCES = extsources.values.flatten
|
||||
CLEAN.include SOURCES
|
||||
CLEAN.include FileList["ext/*.o", "ext/whisper.so", "ext/whisper.bundle", "ext/whisper.dll"]
|
||||
CLEAN.include FileList[
|
||||
"ext/*.o",
|
||||
"ext/*.metal",
|
||||
"ext/whisper.{so,bundle,dll}",
|
||||
"ext/depend"
|
||||
]
|
||||
|
||||
task build: SOURCES + FileList[
|
||||
"ext/extconf.rb",
|
||||
|
Reference in New Issue
Block a user