mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
Updated Build (markdown)
parent
5e3a20181b
commit
c4daf8d25e
1 changed files with 12 additions and 0 deletions
12
Build.md
12
Build.md
|
@ -42,6 +42,18 @@ make
|
||||||
cmake .. -G "Visual Studio 14 2015 Win64" -T v140_xp -DCMAKE_BUILD_TYPE=Release -DUV_INCLUDE_DIR=c:\<path>\libuv\include -DUV_LIBRARY=c:\<path>\libuv\Release\lib\libuv.lib
|
cmake .. -G "Visual Studio 14 2015 Win64" -T v140_xp -DCMAKE_BUILD_TYPE=Release -DUV_INCLUDE_DIR=c:\<path>\libuv\include -DUV_LIBRARY=c:\<path>\libuv\Release\lib\libuv.lib
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## OS X
|
||||||
|
You need XCode and Homebrew installed.
|
||||||
|
```
|
||||||
|
brew install cmake libuv
|
||||||
|
git clone https://github.com/xmrig/xmrig.git
|
||||||
|
cd xmrig
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake .. -DCMAKE_BUILD_TYPE=Release -DUV_LIBRARY=/usr/local/opt/libuv/lib/libuv.a
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
## Optional features
|
## Optional features
|
||||||
|
|
||||||
* `-DWITH_LIBCPUID=OFF` Disable libcpuid. Auto configuration of CPU after this will be very limited.
|
* `-DWITH_LIBCPUID=OFF` Disable libcpuid. Auto configuration of CPU after this will be very limited.
|
||||||
|
|
Loading…
Reference in a new issue