From: Denys Zikratyi -X (dzikraty - SOFTSERVE INC at Cisco) Date: Mon, 24 Feb 2025 17:28:59 +0000 (+0000) Subject: Pull request #4633: thread_config: fix numa build issue X-Git-Tag: 3.7.1.0~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e013b90c9eb2e539b46a6dae955897ef5e97e3ea;p=thirdparty%2Fsnort3.git Pull request #4633: thread_config: fix numa build issue Merge in SNORT/snort3 from ~DZIKRATY/snort3:fix_numa_build_issue to master Squashed commit of the following: commit c65a808e9f7ad41122b4921875d397b6dfb88adf Author: Denys Zikratyi -X (dzikraty - SOFTSERVE INC at Cisco) Date: Mon Feb 24 04:14:31 2025 -0500 thread_config: fix numa build issue --- diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt index 00458609e..117612b94 100644 --- a/src/main/CMakeLists.txt +++ b/src/main/CMakeLists.txt @@ -22,6 +22,10 @@ endif ( ENABLE_SHELL ) add_subdirectory(test) +if ( HAVE_NUMA ) + set ( NUMA_SOURCES numa.h numa.cc) +endif( HAVE_NUMA ) + add_library (main OBJECT analyzer.cc analyzer.h @@ -32,8 +36,6 @@ add_library (main OBJECT modules.h network_module.cc network_module.h - numa.h - numa.cc oops_handler.cc oops_handler.h policy.cc @@ -55,6 +57,7 @@ add_library (main OBJECT ${INCLUDES} ${LOCAL_INCLUDES} ${SHELL_SOURCES} + ${NUMA_SOURCES} ) add_custom_command (