From 81c2ad6d5b17cf280a4a55fd6159e8dde423f5a8 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 23 Apr 2019 20:32:27 +0100 Subject: RandomX integration Support RandomX PoW algorithm --- src/crypto/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/crypto/CMakeLists.txt') diff --git a/src/crypto/CMakeLists.txt b/src/crypto/CMakeLists.txt index 3a4d09fd8..80f1e5d7e 100644 --- a/src/crypto/CMakeLists.txt +++ b/src/crypto/CMakeLists.txt @@ -46,6 +46,7 @@ set(crypto_sources random.c skein.c slow-hash.c + rx-slow-hash.c CryptonightR_JIT.c tree-hash.c) @@ -53,6 +54,8 @@ if(ARCH_ID STREQUAL "i386" OR ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86 list(APPEND crypto_sources CryptonightR_template.S) endif() +include_directories(${RANDOMX_INCLUDE}) + set(crypto_headers) set(crypto_private_headers @@ -86,6 +89,7 @@ monero_add_library(cncrypto target_link_libraries(cncrypto PUBLIC epee + randomx ${Boost_SYSTEM_LIBRARY} ${SODIUM_LIBRARY} PRIVATE -- cgit v1.2.3