JayDDee / cpuminer-opt

Optimized multi algo CPU miner
Other
779 stars 549 forks source link

raspberry pi 2/3 support? #12

Closed computeronix closed 7 years ago

computeronix commented 7 years ago

is there any planned raspberry pi 2 or 3 support?

When I run the build script on an RPI using Jaspbian it gets pretty far and then fails at

mv -f algo/heavy/.deps/cpuminer-heavy.Tpo algo/heavy/.deps/cpuminer-heavy.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing  -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT algo/cpuminer-lbry.o -MD -MP -MF algo/.deps/cpuminer-lbry.Tpo -c -o algo/cpuminer-lbry.o `test -f 'algo/lbry.c' || echo './'`algo/lbry.c
Makefile:2559: recipe for target 'algo/heavy/cpuminer-bastion.o' failed
make[2]: *** [algo/heavy/cpuminer-bastion.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f algo/jh/.deps/cpuminer-jha.Tpo algo/jh/.deps/cpuminer-jha.Po
Makefile:2573: recipe for target 'algo/cpuminer-hmq1725.o' failed
make[2]: *** [algo/cpuminer-hmq1725.o] Error 1
mv -f algo/.deps/cpuminer-lbry.Tpo algo/.deps/cpuminer-lbry.Po
make[2]: Leaving directory '/root/cpuminer-opt'
Makefile:3436: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/cpuminer-opt'
Makefile:651: recipe for target 'all' failed
make: *** [all] Error 2
strip: 'cpuminer': No such file
root@blueberry-yum-yum:~/cpuminer-opt#
sudo apt-get -y install build-essential libcurl4-openssl-dev git automake libtool libjansson* libncurses5-dev libssl-dev libgmp-dev
git clone https://github.com/JayDDee/cpuminer-opt
cd cpuminer-opt
./autogen.sh
./build.sh
JayDDee commented 7 years ago

No. The optimizations are specifically targetted at x86_64.