Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- localhost:~# git clone --branch v2 https://github.com/SChernykh/RandomX
- Cloning into 'RandomX'...
- remote: Enumerating objects: 4346, done.
- remote: Counting objects: 100% (1578/1578), done.
- remote: Compressing objects: 100% (313/313), done.
- remote: Total 4346 (delta 1434), reused 1301 (delta 1261), pack-reused 2768 (from 2)
- Receiving objects: 100% (4346/4346), 3.33 MiB | 4.53 MiB/s, done.
- Resolving deltas: 100% (3308/3308), done.
- localhost:~# cd RandomX/
- localhost:~/RandomX# mkdir build && cd build
- localhost:~/RandomX/build# cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_FLAGS="-fno-omit-frame-pointer -fsanitize=undefined" -DCMAKE_CXX_FLAGS="-fno-omit-frame-pointer -fs
- anitize=undefined"
- CMake Deprecation Warning at CMakeLists.txt:29 (cmake_minimum_required):
- Compatibility with CMake < 3.10 will be removed from a future version of
- CMake.
- Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
- to tell CMake that the project requires at least <min> but has been updated
- to work with policies introduced by <max> or earlier.
- -- The C compiler identification is Clang 21.1.2
- -- The CXX compiler identification is Clang 21.1.2
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working C compiler: /usr/bin/clang - skipped
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/clang++ - skipped
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Looking for asm/hwcap.h
- -- Looking for asm/hwcap.h - found
- -- Performing Test _march=armv8_a+crypto_cxx
- -- Performing Test _march=armv8_a+crypto_cxx - Success
- -- Setting CXX flag -march=armv8-a+crypto
- -- Performing Test _march=armv8_a+crypto_c
- -- Performing Test _march=armv8_a+crypto_c - Success
- -- Setting C flag -march=armv8-a+crypto
- -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
- -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
- -- Found Threads: TRUE
- -- Performing Test HAVE_CXX_ATOMICS
- -- Performing Test HAVE_CXX_ATOMICS - Success
- -- Configuring done (13.3s)
- -- Generating done (0.1s)
- -- Build files have been written to: /root/RandomX/build
- localhost:~/RandomX/build# make -j$(nproc)
- [ 5%] Building C object CMakeFiles/randomx.dir/src/argon2_ref.c.o
- [ 5%] Building CXX object CMakeFiles/randomx.dir/src/aes_hash.cpp.o
- [ 8%] Building C object CMakeFiles/randomx.dir/src/argon2_ssse3.c.o
- [ 11%] Building C object CMakeFiles/randomx.dir/src/argon2_avx2.c.o
- [ 14%] Building CXX object CMakeFiles/randomx.dir/src/bytecode_machine.cpp.o
- [ 17%] Building CXX object CMakeFiles/randomx.dir/src/cpu.cpp.o
- [ 23%] Building CXX object CMakeFiles/randomx.dir/src/dataset.cpp.o
- [ 23%] Building CXX object CMakeFiles/randomx.dir/src/soft_aes.cpp.o
- [ 26%] Building C object CMakeFiles/randomx.dir/src/virtual_memory.c.o
- [ 29%] Building CXX object CMakeFiles/randomx.dir/src/vm_interpreted.cpp.o
- [ 35%] Building CXX object CMakeFiles/randomx.dir/src/assembly_generator_x86.cpp.o
- [ 35%] Building CXX object CMakeFiles/randomx.dir/src/allocator.cpp.o
- [ 38%] Building CXX object CMakeFiles/randomx.dir/src/instruction.cpp.o
- [ 41%] Building CXX object CMakeFiles/randomx.dir/src/randomx.cpp.o
- [ 44%] Building CXX object CMakeFiles/randomx.dir/src/superscalar.cpp.o
- [ 47%] Building CXX object CMakeFiles/randomx.dir/src/vm_compiled.cpp.o
- [ 50%] Building CXX object CMakeFiles/randomx.dir/src/vm_interpreted_light.cpp.o
- [ 52%] Building C object CMakeFiles/randomx.dir/src/argon2_core.c.o
- [ 55%] Building CXX object CMakeFiles/randomx.dir/src/blake2_generator.cpp.o
- [ 58%] Building CXX object CMakeFiles/randomx.dir/src/instructions_portable.cpp.o
- [ 61%] Building C object CMakeFiles/randomx.dir/src/reciprocal.c.o
- [ 64%] Building CXX object CMakeFiles/randomx.dir/src/virtual_machine.cpp.o
- [ 70%] Building C object CMakeFiles/randomx.dir/src/blake2/blake2b.c.o
- [ 70%] Building CXX object CMakeFiles/randomx.dir/src/vm_compiled_light.cpp.o
- [ 76%] Building C object CMakeFiles/randomx.dir/src/jit_compiler_a64_static.S.o
- [ 76%] Building CXX object CMakeFiles/randomx.dir/src/jit_compiler_a64.cpp.o
- [ 79%] Linking CXX static library librandomx.a
- [ 79%] Built target randomx
- [ 88%] Building CXX object CMakeFiles/randomx-tests.dir/src/tests/tests.cpp.o
- [ 88%] Building CXX object CMakeFiles/randomx-codegen.dir/src/tests/code-generator.cpp.o
- [ 88%] Building CXX object CMakeFiles/randomx-benchmark.dir/src/tests/benchmark.cpp.o
- [ 91%] Building CXX object CMakeFiles/randomx-benchmark.dir/src/tests/affinity.cpp.o
- [ 94%] Linking CXX executable randomx-codegen
- [ 94%] Built target randomx-codegen
- [ 97%] Linking CXX executable randomx-benchmark
- [ 97%] Built target randomx-benchmark
- [100%] Linking CXX executable randomx-tests
- [100%] Built target randomx-tests
- localhost:~/RandomX/build# ./randomx-tests
- [ 1] Cache initialization ... PASSED
- [ 2] SuperscalarHash generator ... PASSED
- [ 3] randomx_reciprocal ... PASSED
- [ 4] randomx_reciprocal_fast ... SKIPPED
- [ 5] Dataset initialization (interpreter) ... PASSED
- [ 6] Dataset initialization (compiler) ... PASSED
- [ 7] AesGenerator1R ... PASSED
- [ 8] IADD_RS (decode) ... PASSED
- [ 9] IADD_RS (execute) ... PASSED
- [10] IADD_RS with immediate (decode) ... PASSED
- [11] IADD_RS with immediate (decode) ... PASSED
- [12] IADD_M (decode) ... PASSED
- [13] ISUB_R (decode) ... PASSED
- [14] ISUB_R (execute) ... PASSED
- [15] ISUB_R with immediate (decode) ... PASSED
- [16] ISUB_R with immediate (decode) ... PASSED
- [17] ISUB_M (decode) ... PASSED
- [18] IMUL_R (decode) ... PASSED
- [19] IMUL_R (execute) ... PASSED
- [20] IMUL_R with immediate (decode) ... PASSED
- [21] IMUL_R with immediate (execute) ... PASSED
- [22] IMUL_M (decode) ... PASSED
- [23] IMULH_R (decode) ... PASSED
- [24] IMULH_R (execute) ... PASSED
- [25] IMULH_R squared (decode) ... PASSED
- [26] IMULH_M (decode) ... PASSED
- [27] ISMULH_R (decode) ... PASSED
- [28] ISMULH_R (execute) ... PASSED
- [29] ISMULH_R squared (decode) ... PASSED
- [30] ISMULH_M (decode) ... PASSED
- [31] IMUL_RCP (decode) ... PASSED
- [32] IMUL_RCP zero imm32 (decode) ... PASSED
- [33] INEG_R (decode) ... PASSED
- [34] INEG_R (execute) ... PASSED
- [35] IXOR_R (decode) ... PASSED
- [36] IXOR_R (execute) ... PASSED
- [37] IXOR_R with immediate (decode) ... PASSED
- [38] IXOR_R with immediate (execute) ... PASSED
- [39] IXOR_M (decode) ... PASSED
- [40] IROR_R (decode) ... PASSED
- [41] IROR_R (execute) ... PASSED
- [42] IROL_R (decode) ... PASSED
- [43] IROL_R (execute) ... PASSED
- [44] ISWAP_R (decode) ... PASSED
- [45] ISWAP_R (execute) ... PASSED
- [46] FSWAP_R (decode) ... PASSED
- [47] FSWAP_R (execute) ... PASSED
- [48] FADD_R (decode) ... PASSED
- [49] FADD_R RoundToNearest (execute) ... PASSED
- [50] FADD_R RoundDown (execute) ... PASSED
- [51] FADD_R RoundUp (execute) ... PASSED
- [52] FADD_R RoundToZero (execute) ... PASSED
- [53] FADD_M (decode) ... PASSED
- [54] FADD_M (execute) ... PASSED
- [55] FSUB_R (decode) ... PASSED
- [56] FSUB_M (decode) ... PASSED
- [57] FSCAL_R (decode) ... PASSED
- [58] FSCAL_R (execute) ... PASSED
- [59] FMUL_R (decode) ... PASSED
- [60] FMUL_R RoundToNearest (execute) ... PASSED
- [61] FMUL_R RoundDown/RoundToZero (execute) ... PASSED
- [62] FMUL_R RoundUp (execute) ... PASSED
- [63] FDIV_M (decode) ... PASSED
- [64] FDIV_M RoundToNearest (execute) ... PASSED
- [65] FDIV_M RoundDown/RoundToZero (execute) ... PASSED
- [66] FDIV_M RoundUp (execute) ... PASSED
- [67] FSQRT_R (decode) ... PASSED
- [68] FSQRT_R RoundToNearest (execute) ... PASSED
- [69] FSQRT_R RoundDown/RoundToZero (execute) ... PASSED
- [70] FSQRT_R RoundUp (execute) ... PASSED
- [71] CBRANCH (decode) 100 ... PASSED
- [72] CBRANCH (decode) 200 ... PASSED
- [73] CBRANCH not taken (execute) ... PASSED
- [74] CBRANCH taken (execute) ... PASSED
- [75] CFROUND (decode) ... PASSED
- [76] ISTORE L1 (decode) ... PASSED
- [77] ISTORE L2 (decode) ... PASSED
- [78] ISTORE L3 (decode) ... PASSED
- [79] Hash test 1a (interpreter) ... PASSED
- [80] Hash test 1b (interpreter) ... PASSED
- [81] Hash test 1c (interpreter) ... PASSED
- [82] Hash test 1d (interpreter) ... PASSED
- [83] Hash test 1e (interpreter) ... PASSED
- [84] Hash test 1a (interpreter v2) ... PASSED
- [85] Hash test 1b (interpreter v2) ... PASSED
- [86] Hash test 1c (interpreter v2) ... PASSED
- [87] Hash test 1d (interpreter v2) ... PASSED
- [88] Hash test 1e (interpreter v2) ... PASSED
- [89] Hash test 2a (compiler) ... PASSED
- [90] Hash test 2b (compiler) ... PASSED
- [91] Hash test 2c (compiler) ... PASSED
- [92] Hash test 2d (compiler) ... PASSED
- [93] Hash test 2e (compiler) ... PASSED
- [94] Hash test 2a (compiler v2) ... PASSED
- [95] Hash test 2b (compiler v2) ... PASSED
- [96] Hash test 2c (compiler v2) ... PASSED
- [97] Hash test 2d (compiler v2) ... PASSED
- [98] Hash test 2e (compiler v2) ... PASSED
- [99] Cache initialization: SSSE3 ... SKIPPED
- [100] Cache initialization: AVX2 ... SKIPPED
- [101] Hash batch test ... PASSED
- [102] Preserve rounding mode ... PASSED
- [103] Commitment test ... PASSED
- [104] Hash test (interpreter switch v1 <-> v2) ... PASSED
- [105] Hash test (compiler switch v1 <-> v2) ... PASSED
- All tests PASSED
- 3 tests were SKIPPED due to incompatible configuration (see above)
Advertisement
Add Comment
Please, Sign In to add comment