This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new bb6d3c8322 Add stek_share plugin to CMake build (#10261)
bb6d3c8322 is described below
commit bb6d3c8322f6514180c62a818760da86c2a2a977
Author: JosiahWI <[email protected]>
AuthorDate: Fri Sep 15 09:40:32 2023 -0500
Add stek_share plugin to CMake build (#10261)
This adds the experimental stek_share plugin. The stek_share plugin will
only build if CMake finds NuRaft. This will only work after eBay/NuRaft#462.
---
plugins/experimental/CMakeLists.txt | 1 +
.../experimental/{ => stek_share}/CMakeLists.txt | 43 ++++++++++------------
2 files changed, 20 insertions(+), 24 deletions(-)
diff --git a/plugins/experimental/CMakeLists.txt
b/plugins/experimental/CMakeLists.txt
index 0dae5154a2..030238f891 100644
--- a/plugins/experimental/CMakeLists.txt
+++ b/plugins/experimental/CMakeLists.txt
@@ -35,6 +35,7 @@ add_subdirectory(mp4)
add_subdirectory(rate_limit)
add_subdirectory(redo_cache_lookup)
add_subdirectory(slice)
+add_subdirectory(stek_share)
add_subdirectory(stream_editor)
add_subdirectory(system_stats)
add_subdirectory(tls_bridge)
diff --git a/plugins/experimental/CMakeLists.txt
b/plugins/experimental/stek_share/CMakeLists.txt
similarity index 54%
copy from plugins/experimental/CMakeLists.txt
copy to plugins/experimental/stek_share/CMakeLists.txt
index 0dae5154a2..1c4958ec96 100644
--- a/plugins/experimental/CMakeLists.txt
+++ b/plugins/experimental/stek_share/CMakeLists.txt
@@ -15,27 +15,22 @@
#
#######################
-add_subdirectory(access_control)
-add_subdirectory(cache_fill)
-add_subdirectory(cert_reporting_tool)
-add_subdirectory(cookie_remap)
-add_subdirectory(custom_redirect)
-add_subdirectory(fq_pacing)
-add_subdirectory(geoip_acl)
-add_subdirectory(header_freq)
-add_subdirectory(hook-trace)
-add_subdirectory(http_stats)
-add_subdirectory(icap)
-add_subdirectory(inliner)
-add_subdirectory(maxmind_acl)
-add_subdirectory(memcache)
-add_subdirectory(memory_profile)
-add_subdirectory(money_trace)
-add_subdirectory(mp4)
-add_subdirectory(rate_limit)
-add_subdirectory(redo_cache_lookup)
-add_subdirectory(slice)
-add_subdirectory(stream_editor)
-add_subdirectory(system_stats)
-add_subdirectory(tls_bridge)
-add_subdirectory(url_sig)
+find_package(NuRaft QUIET)
+
+if(NuRaft_FOUND)
+ add_atsplugin(stek_share
+ common.cc
+ log_store.cc
+ stek_share.cc
+ stek_utils.cc
+ )
+
+ target_link_libraries(stek_share
+ PRIVATE
+ NuRaft::static_lib
+ OpenSSL::SSL
+ yaml-cpp::yaml-cpp
+ )
+else()
+ message(STATUS "skipping stek_share plugin (missing NuRaft)")
+endif()