Don't use RandomX JIT if WITH_ASM=OFF
Because RandomX JIT use asm code
This commit is contained in:
parent
eb40f07552
commit
ec608bbd05
4 changed files with 10 additions and 10 deletions
|
@ -103,11 +103,11 @@ namespace randomx {
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(_M_X64) || defined(__x86_64__)
|
||||
#if defined(XMRIG_FEATURE_ASM) && (defined(_M_X64) || defined(__x86_64__))
|
||||
#define RANDOMX_HAVE_COMPILER 1
|
||||
class JitCompilerX86;
|
||||
using JitCompiler = JitCompilerX86;
|
||||
#elif defined(__aarch64__)
|
||||
#elif defined(XMRIG_FEATURE_ASM) && defined(__aarch64__)
|
||||
#define RANDOMX_HAVE_COMPILER 1
|
||||
class JitCompilerA64;
|
||||
using JitCompiler = JitCompilerA64;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue