From 154fa796dd86077fe23936beff99b69c1d48bf96 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 26 Sep 2022 11:58:44 +0300 Subject: [PATCH] ref #1 : add -pthread to compilation flags --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e725dc4..773bde0 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: