diff options
author | vkalintiris <vasilis@netdata.cloud> | 2023-12-13 16:41:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 16:41:20 +0200 |
commit | 92842d8422a570aed4005b5069531f7f5189fe4d (patch) | |
tree | 6923d0e00551ab448f7211e865577cd7a8991aef /daemon/buildinfo.c | |
parent | 548489555bbdadc7274a2165f365b968992b98da (diff) |
CMake build system. (#15996)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud>
Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>
Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st>
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
Co-authored-by: netdatabot <bot@netdata.cloud>
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Diffstat (limited to 'daemon/buildinfo.c')
-rw-r--r-- | daemon/buildinfo.c | 73 |
1 files changed, 9 insertions, 64 deletions
diff --git a/daemon/buildinfo.c b/daemon/buildinfo.c index f9411aa56e..d7603393f4 100644 --- a/daemon/buildinfo.c +++ b/daemon/buildinfo.c @@ -69,17 +69,12 @@ typedef enum __attribute__((packed)) { BIB_LIB_LZ4, BIB_LIB_ZSTD, BIB_LIB_ZLIB, - BIB_LIB_JUDY, - BIB_LIB_DLIB, BIB_LIB_PROTOBUF, BIB_LIB_OPENSSL, BIB_LIB_LIBDATACHANNEL, BIB_LIB_JSONC, BIB_LIB_LIBCAP, BIB_LIB_LIBCRYPTO, - BIB_LIB_LIBM, - BIB_LIB_JEMALLOC, - BIB_LIB_TCMALLOC, BIB_PLUGIN_APPS, BIB_PLUGIN_LINUX_CGROUPS, BIB_PLUGIN_LINUX_CGROUP_NETWORK, @@ -655,23 +650,6 @@ static struct { .json = "zlib", .value = NULL, }, - [BIB_LIB_JUDY] = { - .category = BIC_LIBS, - .type = BIT_BOOLEAN, - .analytics = NULL, - .print = "Judy (high-performance dynamic arrays and hashtables)", - .json = "judy", - .status = true, - .value = "bundled", - }, - [BIB_LIB_DLIB] = { - .category = BIC_LIBS, - .type = BIT_BOOLEAN, - .analytics = NULL, - .print = "dlib (robust machine learning toolkit)", - .json = "dlib", - .value = NULL, - }, [BIB_LIB_PROTOBUF] = { .category = BIC_LIBS, .type = BIT_BOOLEAN, @@ -720,30 +698,6 @@ static struct { .json = "libcrypto", .value = NULL, }, - [BIB_LIB_LIBM] = { - .category = BIC_LIBS, - .type = BIT_BOOLEAN, - .analytics = "libm", - .print = "libm (mathematical functions)", - .json = "libm", - .value = NULL, - }, - [BIB_LIB_JEMALLOC] = { - .category = BIC_LIBS, - .type = BIT_BOOLEAN, - .analytics = "jemalloc", - .print = "jemalloc", - .json = "jemalloc", - .value = NULL, - }, - [BIB_LIB_TCMALLOC] = { - .category = BIC_LIBS, - .type = BIT_BOOLEAN, - .analytics = "tcmalloc", - .print = "TCMalloc", - .json = "tcmalloc", - .value = NULL, - }, [BIB_PLUGIN_APPS] = { .category = BIC_PLUGINS, .type = BIT_BOOLEAN, @@ -1203,17 +1157,8 @@ __attribute__((constructor)) void initialize_build_info(void) { #ifdef HAVE_CRYPTO build_info_set_status(BIB_LIB_LIBCRYPTO, true); #endif -#ifdef STORAGE_WITH_MATH - build_info_set_status(BIB_LIB_LIBM, true); -#endif -#ifdef ENABLE_JEMALLOC - build_info_set_status(BIB_LIB_JEMALLOC, true); -#endif -#ifdef ENABLE_TCMALLOC - build_info_set_status(BIB_LIB_TCMALLOC, true); -#endif -#ifdef ENABLE_APPS_PLUGIN +#ifdef ENABLE_PLUGIN_APPS build_info_set_status(BIB_PLUGIN_APPS, true); #endif #ifdef HAVE_SETNS @@ -1225,28 +1170,28 @@ __attribute__((constructor)) void initialize_build_info(void) { build_info_set_status(BIB_PLUGIN_IDLEJITTER, true); build_info_set_status(BIB_PLUGIN_BASH, true); -#ifdef ENABLE_DEBUGFS_PLUGIN +#ifdef ENABLE_PLUGIN_DEBUGFS build_info_set_status(BIB_PLUGIN_DEBUGFS, true); #endif -#ifdef HAVE_CUPS +#ifdef ENABLE_PLUGIN_CUPS build_info_set_status(BIB_PLUGIN_CUPS, true); #endif -#ifdef HAVE_LIBBPF +#ifdef ENABLE_PLUGIN_EBPF build_info_set_status(BIB_PLUGIN_EBPF, true); #endif -#ifdef HAVE_FREEIPMI +#ifdef ENABLE_PLUGIN_FREEIPMI build_info_set_status(BIB_PLUGIN_FREEIPMI, true); #endif -#ifdef HAVE_NFACCT +#ifdef ENABLE_PLUGIN_NFACCT build_info_set_status(BIB_PLUGIN_NFACCT, true); #endif -#ifdef ENABLE_PERF_PLUGIN +#ifdef ENABLE_PLUGIN_PERF build_info_set_status(BIB_PLUGIN_PERF, true); #endif -#ifdef ENABLE_SLABINFO +#ifdef ENABLE_PLUGIN_SLABINFO build_info_set_status(BIB_PLUGIN_SLABINFO, true); #endif -#ifdef HAVE_LIBXENSTAT +#ifdef ENABLE_PLUGIN_XENSTAT build_info_set_status(BIB_PLUGIN_XEN, true); #endif #ifdef HAVE_XENSTAT_VBD_ERROR |