ruby : add Metal support (#2516)

This commit is contained in:
KITAITI Makoto
2024-10-28 20:08:09 +09:00
committed by GitHub
parent 0fbaac9c89
commit c0ea41f6b2
4 changed files with 242 additions and 3 deletions

View File

@ -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",