From 9a626669066bc2e0f253df18c7dd084de4a4e53a Mon Sep 17 00:00:00 2001 From: Friedrich Schwedler Date: Mon, 29 Sep 2025 11:45:23 +0200 Subject: [PATCH 1/2] ci(fix): don't build the dlt scanner when not building libelosdlt --- src/demos/CMakeLists.txt | 26 ++++++++++++----------- src/plugins/scanners/CMakeLists.txt | 4 +++- test/utest/plugins/scanner/CMakeLists.txt | 4 +++- 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/src/demos/CMakeLists.txt b/src/demos/CMakeLists.txt index ed26b7d0..77e5b031 100644 --- a/src/demos/CMakeLists.txt +++ b/src/demos/CMakeLists.txt @@ -131,20 +131,22 @@ if (ELOS_DEMOS) install(TARGETS demo_eloslog DESTINATION ${CMAKE_INSTALL_BINDIR}) endif() - add_executable( - mng_dlt_buffer - mng_dlt_buffer.c - ) + if (ELOSD_LIBDLT) + add_executable( + mng_dlt_buffer + mng_dlt_buffer.c + ) - target_link_libraries( - mng_dlt_buffer - PRIVATE - scanner_dlt_hv_interface - ) + target_link_libraries( + mng_dlt_buffer + PRIVATE + scanner_dlt_hv_interface + ) - if (INSTALL_ELOS_DEMOS) - install(TARGETS mng_dlt_buffer DESTINATION ${CMAKE_INSTALL_BINDIR}) - endif() + if (INSTALL_ELOS_DEMOS) + install(TARGETS mng_dlt_buffer DESTINATION ${CMAKE_INSTALL_BINDIR}) + endif() + endif (ELOSD_LIBDLT) add_executable( demo_eventbuffer diff --git a/src/plugins/scanners/CMakeLists.txt b/src/plugins/scanners/CMakeLists.txt index bcbb08c5..af67e8d3 100644 --- a/src/plugins/scanners/CMakeLists.txt +++ b/src/plugins/scanners/CMakeLists.txt @@ -8,4 +8,6 @@ add_subdirectory(kmsg) add_subdirectory(shmem) add_subdirectory(syslog) add_subdirectory(oomkiller) -add_subdirectory(dlt_hv) +if (ELOSD_LIBDLT) + add_subdirectory(dlt_hv) +endif (ELOSD_LIBDLT) diff --git a/test/utest/plugins/scanner/CMakeLists.txt b/test/utest/plugins/scanner/CMakeLists.txt index fbb5dbbb..0d8d840d 100644 --- a/test/utest/plugins/scanner/CMakeLists.txt +++ b/test/utest/plugins/scanner/CMakeLists.txt @@ -2,4 +2,6 @@ add_subdirectory(syslog) add_subdirectory(kmsg) -add_subdirectory(dlt_hv) +if (ELOSD_LIBDLT) + add_subdirectory(dlt_hv) +endif (ELOSD_LIBDLT) From 9077552f12ea5e5abe09bccf0def7a399ef0c3ab Mon Sep 17 00:00:00 2001 From: Armin Butscher Date: Tue, 30 Sep 2025 11:11:53 +0200 Subject: [PATCH 2/2] elos: Update to 1.40.4 --- cmake/project.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/project.cmake b/cmake/project.cmake index d2e192ca..4224303a 100644 --- a/cmake/project.cmake +++ b/cmake/project.cmake @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -set(ELOS_VERSION 1.40.3) +set(ELOS_VERSION 1.40.4) # Attention: Aside from the version, as many things as possible in this file # should be put into functions, as this solves potential issues with commands