From 000b5e1b7169031d70d61b3e9dba9b979da8e9d9 Mon Sep 17 00:00:00 2001 From: Tom Jones Date: Fri, 26 Jan 2024 14:13:39 +0000 Subject: vppinfra: Don't build perfmon on FreeBSD FreeBSD has platform specific APIs for interfacing with performance counters. Until we bring in FreeBSD support, don't build perfmon on platforms which aren't linux. Type: improvement Change-Id: Iabc418922c0d2e851c6098508761135f53433ae8 Signed-off-by: Tom Jones --- src/vppinfra/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/vppinfra/CMakeLists.txt b/src/vppinfra/CMakeLists.txt index 6976ac59fc5..86b1c884269 100644 --- a/src/vppinfra/CMakeLists.txt +++ b/src/vppinfra/CMakeLists.txt @@ -71,9 +71,6 @@ set(VPPINFRA_SRCS mhash.c mpcap.c pcap.c - perfmon/bundle_default.c - perfmon/bundle_core_power.c - perfmon/perfmon.c pmalloc.c pool.c ptclosure.c @@ -220,6 +217,10 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") linux/mem.c linux/sysfs.c linux/netns.c +# TODO: Temporarily don't build perfmon on non-Linux + perfmon/bundle_default.c + perfmon/bundle_core_power.c + perfmon/perfmon.c ) endif() -- cgit 1.2.3-korg