mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-22 19:49:36 +00:00
Updated Ubuntu Build (markdown)
parent
67c97edac0
commit
1e87d7ea70
1 changed files with 0 additions and 13 deletions
|
@ -7,19 +7,6 @@ cmake ..
|
|||
make
|
||||
```
|
||||
|
||||
### gcc 7.1
|
||||
Optionally you can use gcc 7 to small performance increase.<br>
|
||||
If command `add-apt-repository` not found install `software-properties-common` first.
|
||||
```bash
|
||||
sudo add-apt-repository ppa:jonathonf/gcc-7.1
|
||||
sudo apt-get update
|
||||
sudo apt-get install gcc-7 g++-7
|
||||
```
|
||||
When run cmake manually specify C and C++ compiler:
|
||||
```bash
|
||||
cmake .. -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7
|
||||
```
|
||||
|
||||
## Additional CMake options
|
||||
|
||||
* `-DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.a` Use static libuv version.
|
||||
|
|
Loading…
Reference in a new issue