forked from pooler/cpuminer
-
Notifications
You must be signed in to change notification settings - Fork 7
/
build_x86.sh
43 lines (36 loc) · 835 Bytes
/
build_x86.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 x86 before running this
./configure CFLAGS="-march=nocona -O3"
make clean
make
strip minerd.exe
mv minerd.exe minerd-x86-nocona.exe
./configure CFLAGS="-march=core2 -O3"
make clean
make
strip minerd.exe
mv minerd.exe minerd-x86-core2.exe
./configure CFLAGS="-march=corei7 -O3"
make clean
make
strip minerd.exe
mv minerd.exe minerd-x86-corei7.exe
./configure CFLAGS="-march=corei7-avx -O3"
make clean
make
strip minerd.exe
mv minerd.exe minerd-x86-avx.exe
./configure CFLAGS="-march=core-avx-i -O3"
make clean
make
strip minerd.exe
mv minerd.exe minerd-x86-avx-i.exe
./configure CFLAGS="-march=core-avx2 -O3"
make clean
make
strip minerd.exe
mv minerd.exe minerd-x86-avx2.exe
./configure CFLAGS="-march=athlon-fx -O3"
make clean
make
strip minerd.exe
mv minerd.exe minerd-x86-athlonfx.exe