Skip to content

Commit a03ce1e

Browse files
authored
Merge pull request ggml-org#132 from richinseattle/master
add windows build commands
2 parents de6f2fc + b18d325 commit a03ce1e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ runfast: run.c
3232
runomp: run.c
3333
$(CC) -Ofast -fopenmp -march=native run.c -lm -o run
3434

35+
.PHONY: win64
36+
win64:
37+
x86_64-w64-mingw32-gcc-win32 -Ofast -D_WIN32 -o run.exe -I. run.c win.c
38+
3539
.PHONY: clean
3640
clean:
3741
rm -f run

build_msvc.bat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cl.exe /Ox /openmp /I. run.c win.c

0 commit comments

Comments
 (0)