Search the Community
Showing results for tags 'randomx'.
-
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)