ref #1 : add -pthread to compilation flags

pull/3/head
Georgi Gerganov 2 years ago
parent 476182e439
commit 154fa796dd
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

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

Loading…
Cancel
Save