Ghost Posted December 19, 2020 Report Share Posted December 19, 2020 How to compile and use XMRig for Monero XMR RandomX Mining on Apple Silicon M1 Chip! To break this down some, you may want to install MacPorts to install any required deps including XCode to be able to install MacPorts etc. the `make -j$(sysctl -n hw.logicalcpu)` can be changed to just make -j8 to use all 8 of the Apple M1 cores to compile. After compiling successfully, essentially run XMRig like you usually would with your configuration to start mining XMR on Apple Silicon! git clone -b dev https://github.com/xmrig/xmrig.git mkdir xmrig/build && cd xmrig/scripts ./build.hwloc.sh && cd ../build cmake .. -DUV_INCLUDE_DIR=/opt/homebrew/include -DUV_LIBRARY=/opt/homebrew/lib/libuv.a -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl -DHWLOC_INCLUDE_DIR=../scripts/deps/include -DHWLOC_LIBRARY=../scripts/deps/lib/libhwloc.a make -j$(sysctl -n hw.logicalcpu) 1 Quote Founder of BlockForums.org - PM me for any help - Join our Discord Server: https://discord.gg/UPpQy3n Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.