mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-17 05:41:41 +02:00
Update minethd.cpp
Changed capitalization of "macOS" Squashed the commit
This commit is contained in:
@@ -21,7 +21,7 @@ XMR-Stak is a universal Stratum pool miner. This miner supports CPUs, AMD and NV
|
||||
## Features
|
||||
|
||||
- support all common backends (CPU/x86, AMD-GPU and NVIDIA-GPU)
|
||||
- support all common OS (Linux, Windows and MacOS)
|
||||
- support all common OS (Linux, Windows and macOS)
|
||||
- supports algorithm cryptonight for Monero (XMR) and cryptonight-light (AEON)
|
||||
- easy to use
|
||||
- guided start (no need to edit a config file for the first start)
|
||||
|
||||
+2
-2
@@ -9,7 +9,7 @@
|
||||
* [Compile on Windows](compile_Windows.md)
|
||||
* [Compile on Linux](compile_Linux.md)
|
||||
* [Compile on FreeBSD](compile_FreeBSD.md)
|
||||
* [Compile on MacOS](compile_MacOS.md)
|
||||
* [Compile on macOS](compile_macOS.md)
|
||||
|
||||
## Build System
|
||||
|
||||
@@ -31,7 +31,7 @@ After the configuration you need to compile the miner, follow the guide for your
|
||||
* [Compile in Windows](compile_Windows.md)
|
||||
* [Compile in Linux](compile_Linux.md)
|
||||
* [Compile in FreeBSD](compile_FreeBSD.md)
|
||||
* [Compile in MacOS](compile_MacOS.md)
|
||||
* [Compile in macOS](compile_macOS.md)
|
||||
|
||||
## Generic Build Options
|
||||
- `CMAKE_INSTALL_PREFIX` install miner to the home folder
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Compile **xmr-stak** for MacOS
|
||||
# Compile **xmr-stak** for macOS
|
||||
|
||||
## Dependencies
|
||||
|
||||
@@ -18,7 +18,7 @@ make install
|
||||
|
||||
### For AMD GPUs
|
||||
|
||||
> 🖐 We need help with AMD GPU compilation instructions. Please submit a PR if you managed to install [AMD APP SDK](http://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/) and to compile `xmr-stak` on MacOS.
|
||||
> 🖐 We need help with AMD GPU compilation instructions. Please submit a PR if you managed to install [AMD APP SDK](http://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/) and to compile `xmr-stak` on macOS.
|
||||
|
||||
### For CPU-only mining
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ The number of files depends on the available backends.
|
||||
`set XMRSTAK_NOWAIT=1` disable the dialog `Press any key to exit.` for non UAC execution.
|
||||
|
||||
|
||||
## Usage on Linux & MacOS
|
||||
## Usage on Linux & macOS
|
||||
1) Open a terminal within the folder with the binary
|
||||
2) Start the miner with `./xmr-stak`
|
||||
|
||||
|
||||
@@ -139,7 +139,7 @@ std::vector<iBackend*>* minethd::thread_starter(uint32_t threadOffset, miner_wor
|
||||
if(cfg.cpu_aff >= 0)
|
||||
{
|
||||
#if defined(__APPLE__)
|
||||
printer::inst()->print_msg(L1, "WARNING on MacOS thread affinity is only advisory.");
|
||||
printer::inst()->print_msg(L1, "WARNING on macOS thread affinity is only advisory.");
|
||||
#endif
|
||||
|
||||
printer::inst()->print_msg(L1, "Starting AMD GPU thread %d, affinity: %d.", i, (int)cfg.cpu_aff);
|
||||
|
||||
@@ -307,7 +307,7 @@ std::vector<iBackend*> minethd::thread_starter(uint32_t threadOffset, miner_work
|
||||
if(cfg.iCpuAff >= 0)
|
||||
{
|
||||
#if defined(__APPLE__)
|
||||
printer::inst()->print_msg(L1, "WARNING on MacOS thread affinity is only advisory.");
|
||||
printer::inst()->print_msg(L1, "WARNING on macOS thread affinity is only advisory.");
|
||||
#endif
|
||||
|
||||
printer::inst()->print_msg(L1, "Starting %dx thread, affinity: %d.", cfg.iMultiway, (int)cfg.iCpuAff);
|
||||
|
||||
@@ -166,7 +166,7 @@ std::vector<iBackend*>* minethd::thread_starter(uint32_t threadOffset, miner_wor
|
||||
if(cfg.cpu_aff >= 0)
|
||||
{
|
||||
#if defined(__APPLE__)
|
||||
printer::inst()->print_msg(L1, "WARNING on MacOS thread affinity is only advisory.");
|
||||
printer::inst()->print_msg(L1, "WARNING on macOS thread affinity is only advisory.");
|
||||
#endif
|
||||
|
||||
printer::inst()->print_msg(L1, "Starting NVIDIA GPU thread %d, affinity: %d.", i, (int)cfg.cpu_aff);
|
||||
|
||||
Reference in New Issue
Block a user