mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-22 19:49:36 +00:00
Updated Build (markdown)
parent
c5db403083
commit
860573ec2a
1 changed files with 2 additions and 2 deletions
4
Build.md
4
Build.md
|
@ -5,7 +5,7 @@ git clone https://github.com/xmrig/xmrig.git
|
|||
cd xmrig
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release -DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.a
|
||||
make
|
||||
```
|
||||
### gcc 7.1
|
||||
|
@ -16,7 +16,7 @@ apt-get install gcc-7 g++-7
|
|||
```
|
||||
When run cmake manually specify C and C++ compiler:
|
||||
```
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/gcc-7 -DCMAKE_CXX_COMPILER=/usr/bin/g++-7
|
||||
cmake .. cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 -DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.a
|
||||
```
|
||||
|
||||
## Windows
|
||||
|
|
Loading…
Reference in a new issue