mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-02-09 15:00:41 +01:00
ref #1 : add -pthread to compilation flags
This commit is contained in:
parent
476182e439
commit
154fa796dd
4
Makefile
4
Makefile
@ -3,10 +3,10 @@ main: ggml.o main.o
|
|||||||
./main -h
|
./main -h
|
||||||
|
|
||||||
ggml.o: ggml.c ggml.h
|
ggml.o: ggml.c ggml.h
|
||||||
gcc -O3 -mavx -mavx2 -mfma -mf16c -c ggml.c
|
gcc -pthread -O3 -mavx -mavx2 -mfma -mf16c -c ggml.c
|
||||||
|
|
||||||
main.o: main.cpp ggml.h
|
main.o: main.cpp ggml.h
|
||||||
g++ -O3 -std=c++11 -c main.cpp
|
g++ -pthread -O3 -std=c++11 -c main.cpp
|
||||||
|
|
||||||
# clean up the directory
|
# clean up the directory
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user