diff --git a/CMakeLists.txt b/CMakeLists.txt index ed39532adb..8387693211 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,12 +26,12 @@ option(WITH_NVML "Enable NVML (NVIDIA Management Library) support (on option(WITH_ADL "Enable ADL (AMD Display Library) or sysfs support (only if OpenCL backend enabled)" ON) option(WITH_STRICT_CACHE "Enable strict checks for OpenCL cache" ON) option(WITH_INTERLEAVE_DEBUG_LOG "Enable debug log for threads interleave" OFF) -option(WITH_MO_BENCHMARK "Enable Benchmark module and algo-perf feature (for MoneroOcean)" ON) +option(WITH_MO_BENCHMARK "Enable Benchmark module and algo-perf feature (for MoneroOcean)" OFF) option(WITH_PROFILING "Enable profiling for developers" OFF) option(WITH_SSE4_1 "Enable SSE 4.1 for Blake2" ON) option(WITH_AVX2 "Enable AVX2 for Blake2" ON) option(WITH_VAES "Enable VAES instructions for Cryptonight" ON) -option(WITH_BENCHMARK "Enable builtin RandomX benchmark and stress test" ON) +option(WITH_BENCHMARK "Enable builtin RandomX benchmark and stress test" OFF) option(WITH_SECURE_JIT "Enable secure access to JIT memory" OFF) option(WITH_DMI "Enable DMI/SMBIOS reader" ON) diff --git a/src/base/crypto/Algorithm.cpp b/src/base/crypto/Algorithm.cpp index f52fca003e..a1dbca375e 100644 --- a/src/base/crypto/Algorithm.cpp +++ b/src/base/crypto/Algorithm.cpp @@ -86,6 +86,7 @@ const char *Algorithm::kRX_ARQ = "rx/arq"; const char *Algorithm::kRX_GRAFT = "rx/graft"; const char *Algorithm::kRX_SFX = "rx/sfx"; const char *Algorithm::kRX_KEVA = "rx/keva"; +const char* Algorithm::kRX_NEVO = "rx/nevo"; #endif #ifdef XMRIG_ALGO_ARGON2 @@ -160,6 +161,7 @@ static const std::map kAlgorithmNames = { ALGO_NAME(RX_GRAFT), ALGO_NAME(RX_SFX), ALGO_NAME(RX_KEVA), + ALGO_NAME(RX_NEVO), # endif # ifdef XMRIG_ALGO_ARGON2 @@ -284,6 +286,8 @@ static const std::map kAlgorithmAlias ALGO_ALIAS(RX_SFX, "randomsfx"), ALGO_ALIAS_AUTO(RX_KEVA), ALGO_ALIAS(RX_KEVA, "randomx/keva"), ALGO_ALIAS(RX_KEVA, "randomkeva"), + ALGO_ALIAS_AUTO(RX_NEVO), ALGO_ALIAS(RX_NEVO, "randomx/nevo"), + ALGO_ALIAS(RX_NEVO, "randomnevo"), # endif # ifdef XMRIG_ALGO_ARGON2 @@ -376,7 +380,7 @@ std::vector xmrig::Algorithm::all(const std::function