forked from Thirtybird/cpuminer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_x64.sh
43 lines (36 loc) · 1.31 KB
/
build_x64.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#need to make sure LibCURL is built for x64 before running this
./configure --host=x86_64-w64-mingw32 CFLAGS="-O3 -march=nocona -DCPU_X86_FORCE_INTRINSICS"
make clean
make
x86_64-w64-mingw32-strip minerd.exe
mv minerd.exe minerd-x64-nocona.exe
./configure --host=x86_64-w64-mingw32 CFLAGS="-O3 -march=core2 -DCPU_X86_FORCE_INTRINSICS"
make clean
make
x86_64-w64-mingw32-strip minerd.exe
mv minerd.exe minerd-x64-core2.exe
./configure --host=x86_64-w64-mingw32 CFLAGS="-O3 -march=corei7 -DCPU_X86_FORCE_INTRINSICS"
make clean
make
x86_64-w64-mingw32-strip minerd.exe
mv minerd.exe minerd-x64-corei7.exe
./configure --host=x86_64-w64-mingw32 CFLAGS="-O3 -march=corei7-avx -DCPU_X86_FORCE_INTRINSICS"
make clean
make
x86_64-w64-mingw32-strip minerd.exe
mv minerd.exe minerd-x64-avx.exe
./configure --host=x86_64-w64-mingw32 CFLAGS="-O3 -march=core-avx-i -DCPU_X86_FORCE_INTRINSICS"
make clean
make
x86_64-w64-mingw32-strip minerd.exe
mv minerd.exe minerd-x64-avx-i.exe
./configure --host=x86_64-w64-mingw32 CFLAGS="-O3 -march=core-avx2 -DCPU_X86_FORCE_INTRINSICS"
make clean
make
x86_64-w64-mingw32-strip minerd.exe
mv minerd.exe minerd-x64-avx2.exe
./configure --host=x86_64-w64-mingw32 CFLAGS="-O3 -march=athlon-fx -DCPU_X86_FORCE_INTRINSICS"
make clean
make
x86_64-w64-mingw32-strip minerd.exe
mv minerd.exe minerd-x64-athlonfx.exe