16/06/2025 08:53, Tomasz Duszynski: > RTE_LIB_PMU is defined by build system automatically if DPDK is build > for Linux. Otherwise it's missing. > > That said all cases where conditional compilation is required > can be handled without introducing other macros.
You don't need to know if it is compiled for an unsupported arch? What will happen when calling the unit test on RISC-V?