mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-03 17:40:13 +00:00
Created CentOS Build (markdown)
parent
c0052045d3
commit
ebad5ae4b7
1 changed files with 20 additions and 0 deletions
20
CentOS-Build.md
Normal file
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.
|
Loading…
Reference in a new issue