Open cryptozeny opened 6 years ago
i found it.
Note for pi64 users:
./configure --disable-assembly CFLAGS="-Ofast -march=native" --with-crypto --with-curl
Architecture-specific notes:
ARM:
No runtime CPU detection. The miner can take advantage of some instructions specific to ARMv5E and later processors, but the decision whether to use them is made at compile time, based on compiler-defined macros.
To use NEON instructions, add "-mfpu=neon" to CFLAGS.
https://github.com/tpruvot/cpuminer-multi
run
./autogen.sh && ./nomacro.pl && ./configure --disable-assembly CFLAGS="-Ofast -march=native" --with-crypto --with-curl && make
benchmark
pi@minami:~/cpuminer-balloon$ ./cpuminer -a balloon -o stratum+tcp://pool.deft.host:3334 -u dHRyjS1nevnBWHyN7td1kqcTpiNiCmC9iQ -t 8
▄▄▄▄ ▄▄▄ ▄▄▌ ▄▄▌ ▐ ▄
▐█ ▀█ ▐█ ▀█ ██ ██ █▌▐█
▐█▀▀█▄▄█▀▀█ ██ ██ ▄█▀▄ ▄█▀▄ ▐█▐▐▌
██▄ ▐█▐█ ▐▌▐█▌▐▌▐█▌▐▌▐█▌ ▐▌▐█▌ ▐▌██▐█▌
▀▀▀▀ ▀ ▀ ▀▀▀ ▀▀▀ ▀█▄▀ ▀█▄▀ ▀▀ █
** cpuminer-balloon / barrystyle **
[2018-06-18 15:08:10] Starting Stratum on stratum+tcp://pool.deft.host:3334
[2018-06-18 15:08:10] 8 miner threads started, using 'balloon' algorithm.
[2018-06-18 15:08:15] net diff: 0.120259 -> shift 29, bits 000850b7
[2018-06-18 15:08:15] Stratum difficulty set to 0.00000128
[2018-06-18 15:08:51] net diff: 0.120259 -> shift 29, bits 000850b7
[2018-06-18 15:08:55] accepted: 1/1 (diff 0.00000145), 431.67 H/s yes!
[2018-06-18 15:09:14] accepted: 2/2 (diff 0.00000161), 431.79 H/s yes!
[2018-06-18 15:09:19] accepted: 3/3 (diff 0.00000197), 431.36 H/s yes!
[2018-06-18 15:09:20] accepted: 4/4 (diff 0.00000194), 431.33 H/s yes!
[2018-06-18 15:09:25] accepted: 5/5 (diff 0.00000272), 431.31 H/s yes!
[2018-06-18 15:09:35] accepted: 6/6 (diff 0.00000229), 431.30 H/s yes!
[2018-06-18 15:09:37] net diff: 0.074032 -> shift 29, bits 000d81ec
[2018-06-18 15:09:38] accepted: 7/7 (diff 0.00000493), 432.19 H/s yes!
[2018-06-18 15:09:47] accepted: 8/8 (diff 0.00000173), 432.07 H/s yes!
[2018-06-18 15:09:59] accepted: 9/9 (diff 0.00000191), 432.05 H/s yes!
so fast!!!
$ cd && sudo apt-get install build-essential autoconf automake libssl-dev libcurl4-openssl-dev libjansson-dev zlib1g-dev screen git && git clone https://github.com/deftchain/cpuminer-balloon.git && cd cpuminer-balloon && ./autogen.sh && ./nomacro.pl && ./configure --disable-assembly CFLAGS="-Ofast -march=native" --with-crypto --with-curl && make -j8 && ./cpuminer -a balloon -o stratum+tcp://pool.deft.host:3334 -u dHRyjS1nevnBWHyN7td1kqcTpiNiCmC9iQ -t 8
im modifying cpuminer for rpi. but it takes a while anyway some guys succeed with my build cmd. im happy with it :smiley:
cd && sudo apt-get install build-essential autoconf automake libssl-dev libcurl4-openssl-dev libjansson-dev zlib1g-dev screen git && git clone https://github.com/deftchain/cpuminer-balloon.git && cd cpuminer-balloon && ./autogen.sh && ./nomacro.pl && ./configure --disable-assembly CFLAGS="-Ofast -march=native" --with-crypto --with-curl && make && ./cpuminer -a balloon -o stratum+tcp://pool.deft.host:3334 -u dHRyjS1nevnBWHyN7td1kqcTpiNiCmC9iQ
hi barrystyle!
I tried both way (build.sh & make) to build but failed... i installed all of dependencies. any idea?
raspberry pi 3 b ubuntu 16.04 LTS
./autogen.sh && ./configure && make
./build.sh