Fixed build without HTTP.
This commit is contained in:
parent
51690ebad6
commit
99e9073993
6 changed files with 58 additions and 13 deletions
|
@ -100,8 +100,10 @@ static const option options[] = {
|
|||
{ "stress", 0, nullptr, IConfig::StressKey },
|
||||
{ "bench", 1, nullptr, IConfig::BenchKey },
|
||||
{ "benchmark", 1, nullptr, IConfig::BenchKey },
|
||||
# ifdef XMRIG_FEATURE_HTTP
|
||||
{ "submit", 0, nullptr, IConfig::BenchSubmitKey },
|
||||
{ "verify", 1, nullptr, IConfig::BenchVerifyKey },
|
||||
# endif
|
||||
{ "seed", 1, nullptr, IConfig::BenchSeedKey },
|
||||
{ "hash", 1, nullptr, IConfig::BenchHashKey },
|
||||
# endif
|
||||
|
|
|
@ -182,8 +182,10 @@ static inline const std::string &usage()
|
|||
# ifdef XMRIG_FEATURE_BENCHMARK
|
||||
u += " --stress run continuous stress test to check system stability\n";
|
||||
u += " --bench=N run benchmark, N can be between 1M and 10M\n";
|
||||
# ifdef XMRIG_FEATURE_HTTP
|
||||
u += " --submit perform an online benchmark and submit result for sharing\n";
|
||||
u += " --verify=ID verify submitted benchmark by ID\n";
|
||||
# endif
|
||||
u += " --seed=SEED custom RandomX seed for benchmark\n";
|
||||
u += " --hash=HASH compare benchmark result with specified hash\n";
|
||||
# endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue