diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | doc/Linux_deployment.md | 27 | ||||
-rw-r--r-- | doc/compile.md | 6 | ||||
-rw-r--r-- | doc/compile_Linux.md | 7 |
4 files changed, 10 insertions, 32 deletions
@@ -17,7 +17,6 @@ XMR-Stak is a universal Stratum pool miner. This miner supports CPUs, AMD and NV * [Features](#features) * [Supported altcoins](#supported-altcoins) * [Download](#download) -* [Linux Portable Binary](doc/Linux_deployment.md) * [Usage](doc/usage.md) * [HowTo Compile](doc/compile.md) * [FAQ](doc/FAQ.md) @@ -59,7 +58,6 @@ Please note, this list is not complete, and is not an endorsement. ## Download You can find the latest releases and precompiled binaries on GitHub under [Releases](https://github.com/fireice-uk/xmr-stak/releases). -If you are running on Linux (especially Linux VMs), checkout [Linux Portable Binary](doc/Linux_deployment.md). ## Default Developer Donation diff --git a/doc/Linux_deployment.md b/doc/Linux_deployment.md deleted file mode 100644 index 3219e8a..0000000 --- a/doc/Linux_deployment.md +++ /dev/null @@ -1,27 +0,0 @@ -# Deploying portable **XMR-Stak** on Linux systems - -**This is an experimental feature** we reserve the right to remove the binary if we get too many issues. - -XMR-Stak releases include a pre-built portable version. If you are simply using it to avoid having to compile the application, you can simply download **xmr-stak-portbin-linux.tar.gz** from our [latest releases](https://github.com/fireice-uk/xmr-stak/releases/latest). Open up command line, and use the following commands: - -``` -tar xzf xmr-stak-portbin-linux.tar.gz -./xmr-stak.sh -``` - -Configuration and tuning files will be generated automatically from your answers. - -For automatic deployments, please use the steps above to obtain config.txt and use the following script: - -``` -#!/bin/bash -sudo apt install curl -curl -O `curl -s https://api.github.com/repos/fireice-uk/xmr-stak/releases/latest | grep -o 'browser_download_url.*xmr-stak-portbin-linux.tar.gz' | sed 's/.*"//'` -curl -O http://path.to/your/config.txt -tar xzf xmr-stak-portbin-linux.tar.gz -./xmr-stak.sh -``` - -XMR-Stak will auto-configure and go to work. You don't even need Docker! - - diff --git a/doc/compile.md b/doc/compile.md index 984c013..2f9dace 100644 --- a/doc/compile.md +++ b/doc/compile.md @@ -35,8 +35,8 @@ After the configuration you need to compile the miner, follow the guide for your ## Generic Build Options - `CMAKE_INSTALL_PREFIX` install miner to the home folder - - `cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/xmr-stak-cpu` - - you can find the binary and the `config.txt` file after `make install` in `$HOME/xmr-stak-cpu/bin` + - `cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/xmr-stak` + - you can find the binary and the `config.txt` file after `make install` in `$HOME/xmr-stak/bin` - `CMAKE_LINK_STATIC` link libgcc and libstdc++ libraries static (default OFF) - disable with `cmake .. -DCMAKE_LINK_STATIC=ON` - if you use static compile to run the miner on another system set `-DXMR-STAK_COMPILE=generic` @@ -55,7 +55,7 @@ After the configuration you need to compile the miner, follow the guide for your - `CPU_ENABLE` allow to disable/enable the CPU backend of the miner - `HWLOC_ENABLE` allow to disable/enable the dependency *hwloc* - - the config suggestion is not optimal if option is disabled: `cmake . -DHWLOC_ENABLE=OFF` + - the config suggestion is not optimal if option is disabled: `cmake .. -DHWLOC_ENABLE=OFF` - disabling can be reduce the miner performance ## AMD Build Options diff --git a/doc/compile_Linux.md b/doc/compile_Linux.md index 729f4d2..3eb4960 100644 --- a/doc/compile_Linux.md +++ b/doc/compile_Linux.md @@ -97,6 +97,13 @@ - g++ version 5.1 or higher is required for full C++11 support. If you want to compile the binary without installing libraries / compiler or just compile binary for some other distribution, please check the [build_xmr-stak_docker.sh script](scripts/build_xmr-stak_docker/build_xmr-stak_docker.sh). +- Some newer gcc versions are not supported by CUDA (e.g. Ubuntu 17.10). It will require installing gcc 5 but you can avoid changing defaults. + +In that case you can force CUDA to use an older compiler in the following way: +``` +cmake -DCUDA_HOST_COMPILER=/usr/bin/gcc-5 .. +``` + ### To do a generic and static build for a system without gcc 5.1+ ``` cmake -DCMAKE_LINK_STATIC=ON -DXMR-STAK_COMPILE=generic . |