Created CentOS Build (markdown)

xmrig 2018-01-08 12:24:20 +07:00
parent c0052045d3
commit ebad5ae4b7

20
CentOS-Build.md Normal file

@ -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.