Skip to content

Commit

Permalink
Add script for autobuilding releases.
Browse files Browse the repository at this point in the history
Likely will setup github actions at some point, but this works.
  • Loading branch information
adworacz committed Apr 25, 2024
1 parent f303a18 commit c4148f9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build_all_libs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
rm -rf zig-out
rm -f zsmooth.avx2.dll
rm -f zsmooth.avx512.dll

zig build -Doptimize=ReleaseFast -Dtarget=x86_64-windows -Dcpu=x86_64_v3
cp zig-out/lib/zsmooth.dll zsmooth.avx2.dll

zig build -Doptimize=ReleaseFast -Dtarget=x86_64-windows -Dcpu=x86_64_v4
cp zig-out/lib/zsmooth.dll zsmooth.avx512.dll

0 comments on commit c4148f9

Please sign in to comment.