ref #1 : add -pthread to compilation flags

This commit is contained in:
Georgi Gerganov 2022-09-26 11:58:44 +03:00
parent 476182e439
commit 154fa796dd
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -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: