mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-22 19:49:36 +00:00
Created OS X Build (markdown)
parent
2745dbcbb1
commit
e2a5e98e4d
1 changed files with 17 additions and 0 deletions
17
OS-X-Build.md
Normal file
17
OS-X-Build.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
## 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 ..
|
||||
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.
|
||||
* `-DUV_LIBRARY=/usr/local/opt/libuv/lib/libuv.a` Use static libuv version.
|
Loading…
Reference in a new issue