Skip to content

Commit 154fa79

Browse files
committed
ref #1 : add -pthread to compilation flags
1 parent 476182e commit 154fa79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ main: ggml.o main.o
33
./main -h
44

55
ggml.o: ggml.c ggml.h
6-
gcc -O3 -mavx -mavx2 -mfma -mf16c -c ggml.c
6+
gcc -pthread -O3 -mavx -mavx2 -mfma -mf16c -c ggml.c
77

88
main.o: main.cpp ggml.h
9-
g++ -O3 -std=c++11 -c main.cpp
9+
g++ -pthread -O3 -std=c++11 -c main.cpp
1010

1111
# clean up the directory
1212
clean:

0 commit comments

Comments
 (0)