@@ -15,6 +15,7 @@ if(NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/conan.cmake")
15
15
TLS_VERIFY ON )
16
16
endif ()
17
17
18
+ set (CONAN_CMAKE_SILENT_OUTPUT ON CACHE INTERNAL "" )
18
19
include (${CMAKE_CURRENT_BINARY_DIR} /conan.cmake)
19
20
20
21
conan_check(VERSION 1.63.0 REQUIRED)
@@ -73,19 +74,19 @@ conan_cmake_install(PATH_OR_REFERENCE .
73
74
74
75
include (${CMAKE_CURRENT_BINARY_DIR} /conan_paths.cmake)
75
76
76
- find_package (absl REQUIRED)
77
- find_package (Boost 1.80.0 REQUIRED)
78
- find_package (Catch2 REQUIRED)
79
- find_package (flatbuffers REQUIRED)
80
- find_package (fmt REQUIRED)
81
- find_package (hiredis REQUIRED)
77
+ find_package (absl QUIET REQUIRED)
78
+ find_package (Boost 1.80.0 QUIET REQUIRED)
79
+ find_package (Catch2 QUIET REQUIRED)
80
+ find_package (flatbuffers QUIET REQUIRED)
81
+ find_package (fmt QUIET REQUIRED)
82
+ find_package (hiredis QUIET REQUIRED)
82
83
# 27/01/2023 - Pin OpenSSL to a specific version to avoid incompatibilities
83
84
# with the system's (i.e. Ubuntu 22.04) OpenSSL
84
- find_package (OpenSSL 3.0.2 REQUIRED)
85
- find_package (Protobuf 3.20.0 REQUIRED)
86
- find_package (readerwriterqueue REQUIRED)
87
- find_package (spdlog REQUIRED)
88
- find_package (ZLIB REQUIRED)
85
+ find_package (OpenSSL 3.0.2 QUIET REQUIRED)
86
+ find_package (Protobuf 3.20.0 QUIET REQUIRED)
87
+ find_package (readerwriterqueue QUIET REQUIRED)
88
+ find_package (spdlog QUIET REQUIRED)
89
+ find_package (ZLIB QUIET REQUIRED)
89
90
90
91
# --------------------------------
91
92
# Fetch content dependencies
@@ -109,16 +110,26 @@ set(ZSTD_LZ4_SUPPORT OFF CACHE INTERNAL "")
109
110
# nng (Conan version out of date)
110
111
set (NNG_TESTS OFF CACHE INTERNAL "" )
111
112
112
- FetchContent_Declare(zstd_ext
113
- GIT_REPOSITORY "https://github.com/facebook/zstd"
114
- GIT_TAG "v1.5.2"
115
- SOURCE_SUBDIR "build/cmake"
113
+ FetchContent_Declare(atomic_queue_ext
114
+ GIT_REPOSITORY "https://github.com/max0x7ba/atomic_queue"
115
+ GIT_TAG "7c36f0997979a0fee5be84c9511ee0f6032057ec"
116
116
)
117
117
FetchContent_Declare(nng_ext
118
118
GIT_REPOSITORY "https://github.com/nanomsg/nng"
119
119
# NNG tagged version 1.7.1
120
120
GIT_TAG "ec4b5722fba105e3b944e3dc0f6b63c941748b3f"
121
121
)
122
+ FetchContent_Declare(zstd_ext
123
+ GIT_REPOSITORY "https://github.com/facebook/zstd"
124
+ GIT_TAG "v1.5.2"
125
+ SOURCE_SUBDIR "build/cmake"
126
+ )
127
+
128
+ FetchContent_MakeAvailable(atomic_queue_ext)
129
+ add_library (atomic_queue::atomic_queue ALIAS atomic_queue)
130
+
131
+ FetchContent_MakeAvailable(nng_ext)
132
+ add_library (nng::nng ALIAS nng)
122
133
123
134
FetchContent_MakeAvailable(zstd_ext)
124
135
# Work around zstd not declaring its targets properly
@@ -127,9 +138,6 @@ target_include_directories(libzstd_shared SYSTEM INTERFACE $<BUILD_INTERFACE:${z
127
138
add_library (zstd::libzstd_static ALIAS libzstd_static)
128
139
add_library (zstd::libzstd_shared ALIAS libzstd_shared)
129
140
130
- FetchContent_MakeAvailable(nng_ext)
131
- add_library (nng::nng ALIAS nng)
132
-
133
141
# Group all external dependencies into a convenient virtual CMake library
134
142
add_library (faabric_common_dependencies INTERFACE )
135
143
target_include_directories (faabric_common_dependencies INTERFACE
@@ -141,6 +149,7 @@ target_link_libraries(faabric_common_dependencies INTERFACE
141
149
absl::flat_hash_set
142
150
absl::flat_hash_map
143
151
absl::strings
152
+ atomic_queue::atomic_queue
144
153
Boost::Boost
145
154
Boost::system
146
155
flatbuffers::flatbuffers
0 commit comments