Initial Commit
- initial default booting image
This commit is contained in:
42
package/perftest/Config.in
Normal file
42
package/perftest/Config.in
Normal file
@@ -0,0 +1,42 @@
|
||||
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
|
||||
3
package/perftest/perftest.hash
Normal file
3
package/perftest/perftest.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 662a426ac4aa8dddc8807a5010edc33e2168145598109c5eefc2acaa4d87df3f perftest-26.01.5.tar.gz
|
||||
sha256 763adb7d5094f2127b026adea8701f042d28d4b1f6fb8b6e828989227a9cf7f5 COPYING
|
||||
15
package/perftest/perftest.mk
Normal file
15
package/perftest/perftest.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# perftest
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PERFTEST_VERSION = 26.01.5
|
||||
PERFTEST_SITE = $(call github,linux-rdma,perftest,perftest-$(PERFTEST_VERSION))
|
||||
PERFTEST_LICENSE = GPL-2.0 or BSD-2-Clause
|
||||
PERFTEST_LICENSE_FILES = COPYING
|
||||
PERFTEST_DEPENDENCIES = pciutils rdma-core
|
||||
# Fetched from Github, with no configure script
|
||||
PERFTEST_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user