From: Georgi Gerganov Date: Mon, 26 Sep 2022 08:58:44 +0000 (+0300) Subject: ref #1 : add -pthread to compilation flags X-Git-Tag: upstream/1.7.4~2018 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=154fa796dd86077fe23936beff99b69c1d48bf96;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ref #1 : add -pthread to compilation flags --- diff --git a/Makefile b/Makefile index e725dc4d..773bde0e 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,10 @@ main: ggml.o main.o ./main -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 - g++ -O3 -std=c++11 -c main.cpp + g++ -pthread -O3 -std=c++11 -c main.cpp # clean up the directory clean: