-
Notifications
You must be signed in to change notification settings - Fork 262
Ubuntu Build
xmrig edited this page Feb 28, 2018
·
7 revisions
sudo apt-get install git build-essential cmake libuv1-dev nvidia-cuda-dev nvidia-cuda-toolkit gcc-5 g++-5 libmicrohttpd-dev
git clone https://github.com/xmrig/xmrig-nvidia.git
cd xmrig-nvidia
mkdir build
cd build
cmake .. -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5
make
Follow instructions on https://developer.nvidia.com/cuda-downloads to install CUDA.
After:
sudo apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev
git clone https://github.com/xmrig/xmrig-nvidia.git
cd xmrig-nvidia
mkdir build
cd build
cmake ..
make
sudo apt-get install git build-essential cmake libuv1-dev nvidia-cuda-dev nvidia-cuda-toolkit libmicrohttpd-dev
git clone https://github.com/xmrig/xmrig-nvidia.git
cd xmrig-nvidia
mkdir build
cd build
cmake .. -DCUDA_ARCH="20;30;50"
make
Please note CUDA 9 not supported Fermi GPUs and CUDA 7.5 not supported Pascal GPUs.
-
-DWITH_AEON=OFF
Disable CryptoNight-Lite support. -
-DWITH_HTTPD=OFF
Build without built in http server and API. -
-DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.a
Use static libuv version. -
-DCUDA_ARCH="20;30;50;60"
Set GPU architecture (semicolon separated list). -
-DCUDA_TOOLKIT_ROOT_DIR=
Path to CUDA.