mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-26 23:13:27 +08:00
00cb5f5e4a
Since it was iontroduced in commitd4ecefa3cc
(package/perftest: new package), perftest was missing the reverse dependency on the kernel headers version inherited from rdma-core. In commit3279d8b9c4
(package/rdma-core: needs NPTL), the dependency of rdma-core on NTPL was not propagated to its reverse dependencies, notably perftests. Fixes: - http://autobuild.buildroot.net/results/00c/00ce19a1589c6028ee77c333ed9107e2c8c8d6de -d4ecefa3cc
-3279d8b9c4
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> [yann.morin.1998@free.fr: - also add misisng headers dependency - expand commit log ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
43 lines
1.7 KiB
Plaintext
43 lines
1.7 KiB
Plaintext
config BR2_PACKAGE_PERFTEST_ARCH_SUPPORTS
|
|
bool
|
|
# Accurate cycle measurement in perftest is implemented for a
|
|
# limited set of architectures, see:
|
|
# https://github.com/linux-rdma/perftest/blob/v4.5-0.20/src/get_clock.h
|
|
# Note: the package has also a fallback to use "asm/timex.h"
|
|
# from the Kernel, in
|
|
# "$(LINUX_DIR)/arch/$(KERNEL_ARCH)/include". It is not
|
|
# reflected here as this path is not well tested.
|
|
default y if BR2_i386 || BR2_x86_64
|
|
default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 && !BR2_ARM_CPU_ARMV6
|
|
default y if BR2_aarch64
|
|
default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
|
default y if BR2_s390x
|
|
default y if BR2_sparc || BR2_sparc64
|
|
default y if BR2_riscv
|
|
depends on BR2_USE_MMU # rdma-core
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # rdma-core
|
|
|
|
config BR2_PACKAGE_PERFTEST
|
|
bool "perftest"
|
|
depends on BR2_PACKAGE_PERFTEST_ARCH_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # rdma-core
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # rdma-core
|
|
depends on !BR2_STATIC_LIBS # rdma-core
|
|
# musl does not define sysconf(_SC_LEVEL1_DCACHE_LINESIZE)
|
|
depends on !BR2_TOOLCHAIN_USES_MUSL
|
|
select BR2_PACKAGE_PCIUTILS
|
|
select BR2_PACKAGE_RDMA_CORE
|
|
help
|
|
Open Fabrics Performance Tests.
|
|
|
|
This is a collection of tests written over uverbs intended
|
|
for use as a performance micro-benchmark. The tests may be
|
|
used for HW or SW tuning as well as for functional testing.
|
|
|
|
https://github.com/linux-rdma/perftest
|
|
|
|
comment "perftest needs a glibc or uClibc toolchain w/ threads, dynamic library"
|
|
depends on BR2_PACKAGE_PERFTEST_ARCH_SUPPORTS
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
|
|
|| BR2_TOOLCHAIN_USES_MUSL
|