xmrig / xmrig-amd

Monero AMD (OpenCL) miner
GNU General Public License v3.0
415 stars 227 forks source link

Compiling xmrig-amd on Armv8, during make SSE2NEON.h throws erros #267

Closed wll1rah closed 5 years ago

wll1rah commented 5 years ago

I've been trying to compile xmrig-amd on a Rock Pi 4 as a test bed for being able to get OpenCL GPU mining to other platform. Some of the chips that now support Open CL are the allwinner H6, RK3399/Pro, AML-S912, S922/X, A311D. I've so far been able to get sgminer running and mining with opencl.

The issue that I am having with xmrig-amd starts after 87%, The error is related to the SSE2NEON.h file and calls to stdinth. The images below give more detail on what is happening during the compilation and build process

xmrig-amd cmake xmrig-amd make process
xmrig commented 5 years ago

ARM not supported. Thank you.

wll1rah commented 5 years ago

That's funny, you have build target option for arm in the CMakeLists.txt

xmrig commented 5 years ago

You can try add ARM support, by using this PR as example https://github.com/xmrig/xmrig-nvidia/pull/268

grahamreeds commented 5 years ago

Unfortunately there are several more hurdles to get over once this is done.

The change in algorithm meant that a couple of flags to determine direction had been added to most functions with the corresponding if/else clauses.

I started to work through them but without a test regime, a stable pool and a decent hotel wifi connection I gave up for another day.

BenjaminWegener commented 5 years ago

getting a little bit further: Screenshot_2019-08-04-22-03-38-381_com termux https://github.com/BenjaminWegener/xmrig-termux-opencl

xmrig commented 5 years ago

https://github.com/xmrig/xmrig/releases/tag/v4.0.0-beta