diff --git a/Fedora-Build.md b/Fedora-Build.md new file mode 100644 index 0000000..ebabf16 --- /dev/null +++ b/Fedora-Build.md @@ -0,0 +1,15 @@ +## Fedora 25 & 26 +```bash +sudo dnf install -y git cmake gcc gcc-c++ libuv-static libstdc++-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. \ No newline at end of file