Update tooling and documentation: - Smoke test script with scheduler health checks - Release cleanup script - Native test scripts with Redis integration - TUI SSH test script - Performance regression detector with scheduler metrics - Profiler with distributed tracing - Native CMake with test targets - Dataset hash tests - Storage symlink resistance tests - Configuration reference documentation updates
22 lines
602 B
CMake
22 lines
602 B
CMake
# Common utilities library
|
|
set(COMMON_SOURCES
|
|
src/arena_allocator.cpp
|
|
src/thread_pool.cpp
|
|
src/mmap_utils.cpp
|
|
src/secure_mem.cpp
|
|
src/path_sanitizer.cpp
|
|
)
|
|
|
|
add_library(fetchml_common STATIC ${COMMON_SOURCES})
|
|
|
|
# Required for linking into shared libraries on Alpine Linux
|
|
set_property(TARGET fetchml_common PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|
|
|
target_include_directories(fetchml_common PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include
|
|
)
|
|
|
|
target_compile_features(fetchml_common PUBLIC cxx_std_17)
|
|
|
|
# Link pthread for thread support
|
|
target_link_libraries(fetchml_common PUBLIC pthread)
|