Skip to content

Commit

Permalink
try to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Aug 12, 2024
1 parent b5dfaa2 commit d65aaa5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/pre_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,6 @@ if (process.env.GITHUB_ENV) {
await fs.appendFile(process.env.GITHUB_ENV, embed_metal)
}
if (platform == 'windows') {
// ort + whisper.cpp + fbank-rs... something there requires static linking of msvc
const rustFlags = `RUSTFLAGS=-C target-feature=+crt-static\n`
console.log('Adding ENV', rustFlags)
await fs.appendFile(process.env.GITHUB_ENV, rustFlags)

const openblas = `OPENBLAS_PATH=${exports.openBlas}\n`
console.log('Adding ENV', openblas)
await fs.appendFile(process.env.GITHUB_ENV, openblas)
Expand Down

0 comments on commit d65aaa5

Please sign in to comment.