diff --git a/CentOS-Build.md b/CentOS-Build.md new file mode 100644 index 0000000..1ed1bb0 --- /dev/null +++ b/CentOS-Build.md @@ -0,0 +1,20 @@ +## CentOS 7 + +Thanks [Maxim-Mazurok](https://github.com/xmrig/xmrig/issues/326) for these instructions + +```bash +sudo yum install -y epel-release +sudo yum install -y git make cmake gcc gcc-c++ libstdc++-static libmicrohttpd-devel libuv-static +git clone https://github.com/xmrig/xmrig.git +cd xmrig +mkdir build +cd build +cmake .. -DCMAKE_BUILD_TYPE=Release -DUV_LIBRARY=/usr/lib64/libuv.a +make +``` + +## Additional CMake options + +* `-DWITH_LIBCPUID=OFF` Disable libcpuid. Auto configuration of CPU after this will be very limited. +* `-DWITH_AEON=OFF` Disable CryptoNight-Lite support. +* `-DWITH_HTTPD=OFF` Build without built in http server and API. \ No newline at end of file