forked from xmrig/xmrig
-
Notifications
You must be signed in to change notification settings - Fork 8
FreeBSD Build
Niall Moore edited this page May 2, 2018
·
2 revisions
There are 2 different ways of installing HYCminer on FreeBSD 11.
Thanks z3dm4n for these instructions.
cd /usr/ports/net-p2p/xmrig && make install clean
or
cd /usr/ports/ports-mgmt/portmaster && make install clean
portmaster net-p2p/xmrig
Using Clang:
pkg install git clang38 cmake libuv libmicrohttpd
git clone https://github.com/Team-Hycon/xmrig.git
cd cpu-miner
mkdir build
cd build
cmake ..
make
or
Using GCC:
pkg install git gcc7 cmake libuv libmicrohttpd
git clone https://github.com/Team-Hycon/xmrig.git
cd cpu-miner
mkdir build
cd build
cmake -DCMAKE_C_COMPILER=gcc7 -DCMAKE_CXX_COMPILER=g++7 ..
make
-
-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 httpd and API. -
-DUV_LIBRARY=/usr/local/lib/libuv.a
Use static libuv version. -
-DMHD_LIBRARY=/usr/local/lib/libmicrohttpd.a
Use static libmicrohttpd version.