Open grga1349 opened 1 month ago
Use Brew's version of clang rather than the Mac's version as it doesn't support fopenmp
brew install llvm libomp
export CC=/opt/homebrew/opt/llvm/bin/clang
If brew doesn't install clang to that directory you'll need to change the export line.
It now would compile cpp part but go bindings still wont build, the error is: ld: library not found for -lm clang: error: linker command failed with exit code 1 (use -v to see invocation)
Action: $ cd whisper.cpp/bindings/go/ $ make test Output:
clang: error: unsupported option '-fopenmp'
FAIL github.com/ggerganov/whisper.cpp/bindings/go [build failed] FAIL make: *** [test] Error 1