Skip to content

Commit 314da78

Browse files
committed
changed linux flags
1 parent 34859c6 commit 314da78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sys/whisper/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ import "C"
1414
// Setting the prefix to the base of the repository
1515
//go:generate go run ../pkg-config --version "0.0.0" --prefix "../.." --cflags "-I$DOLLAR{prefix}/third_party/whisper.cpp/include -I$DOLLAR{prefix}/third_party/whisper.cpp/ggml/include" --libs "-L$DOLLAR{prefix}/third_party/whisper.cpp -lwhisper -lggml -lm -lstdc++" libwhisper.pc
1616
//go:generate go run ../pkg-config --version "0.0.0" --libs "-framework Accelerate -framework Metal -framework Foundation -framework CoreGraphics" libwhisper-darwin.pc
17-
//go:generate go run ../pkg-config --version "0.0.0" --libs "-lgomp" libwhisper-linux.pc
17+
//go:generate go run ../pkg-config --version "0.0.0" --cflags "-fopenmp" --libs "-lgomp" libwhisper-linux.pc

0 commit comments

Comments
 (0)