Skip to content

Commit

Permalink
try to disable metal
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Aug 22, 2024
1 parent 17df2db commit bf52802
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/pre_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,9 @@ if (process.env.GITHUB_ENV) {
await fs.appendFile(process.env.GITHUB_ENV, ffmpeg)
}
if (platform == 'macos') {
const embed_metal = 'WHISPER_METAL_EMBED_LIBRARY=ON'
await fs.appendFile(process.env.GITHUB_ENV, embed_metal)
// TODO: handle metal
// const embed_metal = 'WHISPER_METAL_EMBED_LIBRARY=ON'
// await fs.appendFile(process.env.GITHUB_ENV, embed_metal)
}
if (platform == 'windows') {
const openblas = `OPENBLAS_PATH=${exports.openBlas}\n`
Expand Down

0 comments on commit bf52802

Please sign in to comment.