build: Add databento to sparkd
* Install databento deps in docker - libzstd-dev * Add databento cmake module to externals
This commit is contained in:
1 parent
6513fb0cd5
commit
3ce100a9cf
3 files changed
+11
-3
No files matched your search
@@ -87,6 +87,9 @@ RUN dpkg -i /emumba/emumba-deribit-connector-3.3.1-Linux.LICENSE_DISABLED.deb \
|
||||
# Pcap
|
||||
RUN apt-get update && apt-get install -y libpcap0.8-dev
|
||||
|
||||
# Databento (deps)
|
||||
RUN apt-get update && apt-get -y install libzstd-dev
|
||||
|
||||
# Set up default executables (update-alternatives)
|
||||
RUN \
|
||||
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-$clang_major 100; \
|
||||
|
||||
+1
-1
Submodule externals updated: cae5fd20da...ff5f02bbde.
@@ -34,6 +34,12 @@ find_package(rapidjson REQUIRED)
|
||||
target_include_directories(${PROJECT_NAME} SYSTEM PUBLIC ${rapidjson_INCLUDE_DIR})
|
||||
add_dependencies(${PROJECT_NAME} rapidjson_project)
|
||||
|
||||
# databento
|
||||
list(APPEND CMAKE_PREFIX_PATH "${CMAKE_SOURCE_DIR}/externals/cmake_modules/databento")
|
||||
find_package(databento REQUIRED)
|
||||
target_include_directories(${PROJECT_NAME} SYSTEM PUBLIC ${databento_INCLUDE_DIR})
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC databento::databento)
|
||||
|
||||
# deribit-demo log level
|
||||
if(NOT DEFINED DERIBIT_DEMO_LOG_LEVEL)
|
||||
add_definitions(-DSPDLOG_ACTIVE_LEVEL=0)
|
||||
@@ -65,8 +71,7 @@ else()
|
||||
endif()
|
||||
|
||||
# linking
|
||||
target_link_libraries(
|
||||
sparkd
|
||||
target_link_libraries(sparkd PUBLIC
|
||||
libspark
|
||||
${emumba-deribit-connector-library_LIBRARIES}
|
||||
ssl
|
||||
|
||||
Reference in new issue
Block a user