mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +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
|
cd xmrig
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
cmake .. -DCMAKE_BUILD_TYPE=Release -DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.a
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
### gcc 7.1
|
### gcc 7.1
|
||||||
|
@ -16,7 +16,7 @@ apt-get install gcc-7 g++-7
|
||||||
```
|
```
|
||||||
When run cmake manually specify C and C++ compiler:
|
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
|
## Windows
|
||||||
|
|
Loading…
Reference in a new issue