Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
azure-cloud-mining-script
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
azure-cloud-mining-script
Commits
204dded5
There was an error fetching the commit references. Please try again later.
Commit
204dded5
authored
7 years ago
by
fireice-uk
Browse files
Options
Downloads
Patches
Plain Diff
Minor doc fixes
parent
e79debcf
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CONTRIBUTING.md
+0
-0
0 additions, 0 deletions
CONTRIBUTING.md
doc/compile.md
+12
-12
12 additions, 12 deletions
doc/compile.md
doc/compile_Windows.md
+1
-1
1 addition, 1 deletion
doc/compile_Windows.md
with
13 additions
and
13 deletions
CONTIBUTING.md
→
CONT
R
IBUTING.md
+
0
−
0
View file @
204dded5
File moved
This diff is collapsed.
Click to expand it.
doc/compile.md
+
12
−
12
View file @
204dded5
...
@@ -18,13 +18,13 @@ By default the miner will be build with all dependencies. Each optional dependen
...
@@ -18,13 +18,13 @@ By default the miner will be build with all dependencies. Each optional dependen
There are two easy ways to set variables for
`cmake`
to configure
*xmr-stak*
There are two easy ways to set variables for
`cmake`
to configure
*xmr-stak*
-
use the ncurses GUI
-
use the ncurses GUI
-
`ccmake .`
-
`ccmake
.
.`
-
edit your options
-
edit your options
-
end the GUI by pressing the key
`c`
(create) and than
`g`
(generate)
-
end the GUI by pressing the key
`c`
(create) and than
`g`
(generate)
-
set Options on the command line
-
set Options on the command line
-
enable a option:
`cmake . -DNAME_OF_THE_OPTION=ON`
-
enable a option:
`cmake .
.
-DNAME_OF_THE_OPTION=ON`
-
disable a option
`cmake . -DNAME_OF_THE_OPTION=OFF`
-
disable a option
`cmake .
.
-DNAME_OF_THE_OPTION=OFF`
-
set a value
`cmake . -DNAME_OF_THE_OPTION=value`
-
set a value
`cmake .
.
-DNAME_OF_THE_OPTION=value`
After the configuration you need to compile the miner, follow the guide for your platform:
After the configuration you need to compile the miner, follow the guide for your platform:
*
[
Compile in Windows
](
compile_Windows.md
)
*
[
Compile in Windows
](
compile_Windows.md
)
...
@@ -33,17 +33,17 @@ After the configuration you need to compile the miner, follow the guide for your
...
@@ -33,17 +33,17 @@ After the configuration you need to compile the miner, follow the guide for your
## Generic Build Options
## Generic Build Options
-
`CMAKE_INSTALL_PREFIX`
install miner to the home folder
-
`CMAKE_INSTALL_PREFIX`
install miner to the home folder
-
`cmake . -DCMAKE_INSTALL_PREFIX=$HOME/xmr-stak-cpu`
-
`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`
-
you can find the binary and the
`config.txt`
file after
`make install`
in
`$HOME/xmr-stak-cpu/bin`
-
`CMAKE_LINK_STATIC`
link libgcc and libstdc++ libraries static (default OFF)
-
`CMAKE_LINK_STATIC`
link libgcc and libstdc++ libraries static (default OFF)
-
disable with
`cmake . -DCMAKE_LINK_STATIC=ON`
-
disable with
`cmake .
.
-DCMAKE_LINK_STATIC=ON`
-
`CMAKE_BUILD_TYPE`
set the build type
-
`CMAKE_BUILD_TYPE`
set the build type
-
valid options:
`Release`
or
`Debug`
-
valid options:
`Release`
or
`Debug`
-
you should always keep
`Release`
for your productive miners
-
you should always keep
`Release`
for your productive miners
-
`MICROHTTPD_ENABLE`
allow to disable/enable the dependency
*microhttpd*
-
`MICROHTTPD_ENABLE`
allow to disable/enable the dependency
*microhttpd*
-
there is no
*http*
interface available if option is disabled:
`cmake . -DMICROHTTPD_ENABLE=OFF`
-
there is no
*http*
interface available if option is disabled:
`cmake .
.
-DMICROHTTPD_ENABLE=OFF`
-
`OpenSSL_ENABLE`
allow to disable/enable the dependency
*OpenSSL*
-
`OpenSSL_ENABLE`
allow to disable/enable the dependency
*OpenSSL*
-
it is not possible to connect to a
*https*
secured pool if option is disabled:
`cmake . -DOpenSSL_ENABLE=OFF`
-
it is not possible to connect to a
*https*
secured pool if option is disabled:
`cmake .
.
-DOpenSSL_ENABLE=OFF`
## CPU Build Options
## CPU Build Options
...
@@ -61,7 +61,7 @@ After the configuration you need to compile the miner, follow the guide for your
...
@@ -61,7 +61,7 @@ After the configuration you need to compile the miner, follow the guide for your
-
`CUDA_ENABLE`
allow to disable/enable the NVIDIA backend of the miner
-
`CUDA_ENABLE`
allow to disable/enable the NVIDIA backend of the miner
-
`CUDA_ARCH`
build for a certain compute architecture
-
`CUDA_ARCH`
build for a certain compute architecture
-
this option needs a semicolon separated list
-
this option needs a semicolon separated list
-
`cmake . -DCUDA_ARCH=61`
or
`cmake . -DCUDA_ARCH=20;61`
-
`cmake .
.
-DCUDA_ARCH=61`
or
`cmake .
.
-DCUDA_ARCH=20;61`
-
[
list
](
https://developer.nvidia.com/cuda-gpus
)
with NVIDIA compute architectures
-
[
list
](
https://developer.nvidia.com/cuda-gpus
)
with NVIDIA compute architectures
-
by default the miner is created for all currently available compute architectures
-
by default the miner is created for all currently available compute architectures
-
`CUDA_COMPILER`
select the compiler for the device code
-
`CUDA_COMPILER`
select the compiler for the device code
...
@@ -70,12 +70,12 @@ After the configuration you need to compile the miner, follow the guide for your
...
@@ -70,12 +70,12 @@ After the configuration you need to compile the miner, follow the guide for your
# compile host and device code with clang
# compile host and device code with clang
export CC=/usr/bin/clang
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
export CXX=/usr/bin/clang++
cmake . -DCUDA_COMPILER=clang
cmake .
.
-DCUDA_COMPILER=clang
```
```
-
`XMR-STAK_LARGEGRID`
use
`32`
or
`64`
bit integer for on device indices
-
`XMR-STAK_LARGEGRID`
use
`32`
or
`64`
bit integer for on device indices
-
default is enabled
-
default is enabled
-
on old GPUs it can increase the hash rate if disabled:
`cmake . -DXMR-STAK_LARGEGRID=OFF`
-
on old GPUs it can increase the hash rate if disabled:
`cmake .
.
-DXMR-STAK_LARGEGRID=OFF`
-
if disabled it is not allowed to use more than
`1000`
threads on the device
-
if disabled it is not allowed to use more than
`1000`
threads on the device
-
`XMR-STAK_THREADS`
give the compiler information which value for
`threads`
is used at runtime
-
`XMR-STAK_THREADS`
give the compiler information which value for
`threads`
is used at runtime
-
default is
`0`
(compile time optimization)
-
default is
`0`
(compile time optimization)
-
if the miner is compiled and used at runtime with the some value it can increase the hash rate:
`cmake . -DXMR-STAK_THREADS=32`
-
if the miner is compiled and used at runtime with the some value it can increase the hash rate:
`cmake .
.
-DXMR-STAK_THREADS=32`
This diff is collapsed.
Click to expand it.
doc/compile_Windows.md
+
1
−
1
View file @
204dded5
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
## Compile
## Compile
-
download and unzip
`xmr-stak
-
download and unzip
`xmr-stak
`
-
open the command line terminal
`cmd`
-
open the command line terminal
`cmd`
-
`cd`
to your unzipped source code directory
-
`cd`
to your unzipped source code directory
-
execute the following commands (NOTE: path to VS2017 can be different)
-
execute the following commands (NOTE: path to VS2017 can be different)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment