-
Notifications
You must be signed in to change notification settings - Fork 1
Ubuntu Build
miningapps edited this page Mar 4, 2018
·
2 revisions
sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev
git clone https://github.com/miningapps/etnminer.git
cd xmrig
mkdir build
cd build
cmake ..
makeOptionally you can use gcc 7 to small performance increase.
If command add-apt-repository not found install software-properties-common first.
sudo add-apt-repository ppa:jonathonf/gcc-7.1
sudo apt-get update
sudo apt-get install gcc-7 g++-7When run cmake manually specify C and C++ compiler:
cmake .. -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7-
-DWITH_LIBCPUID=OFFDisable libcpuid. Auto configuration of CPU after this will be very limited. -
-DWITH_AEON=OFFDisable CryptoNight-Lite support. -
-DWITH_HTTPD=OFFBuild without built in http server and API. -
-DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.aUse static libuv version.