Skip to content

Commit

Permalink
Feat: Adding building of crypto3
Browse files Browse the repository at this point in the history
  • Loading branch information
henriqueaklein committed Aug 15, 2024
1 parent 81e24c5 commit 32cfa69
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/CommonCompilerOptions.CMake
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ if(NOT EXISTS "${THIRDPARTY_DIR}/build")
endif()

# Boost settings
set(BOOST_INCLUDE_LIBRARIES date_time filesystem log program_options random regex system test)
set(BOOST_INCLUDE_LIBRARIES container date_time filesystem log program_options random regex system test)

list(JOIN BOOST_INCLUDE_LIBRARIES "," BOOST_INCLUDE_LIBRARIES_COMMA_SEPARATED)
separate_arguments(BOOST_B2_FLAGS NATIVE_COMMAND "${CMAKE_CXX_FLAGS}")
Expand Down
11 changes: 11 additions & 0 deletions build/CommonTargets.CMake
Original file line number Diff line number Diff line change
Expand Up @@ -695,3 +695,14 @@ install(
DIRECTORY ${THIRDPARTY_DIR}/jsonrpc-lean
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/jsonrpc-lean
)

# crypto3
ExternalProject_Add(crypto3
PREFIX crypto3
SOURCE_DIR "${THIRDPARTY_DIR}/zkLLVM/libs/crypto3"
CMAKE_CACHE_ARGS
-DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
${_CMAKE_COMMON_CACHE_ARGS}
${_BOOST_CACHE_ARGS}
DEPENDS Boost
)

0 comments on commit 32cfa69

Please sign in to comment.