Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iperf3: add port #437

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions bootstrap.d/net-misc.y4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,48 @@ packages:
- args: ['cp', '@THIS_BUILD_DIR@/services', '@THIS_COLLECT_DIR@/etc/']
- args: ['cp', '@THIS_BUILD_DIR@/protocols', '@THIS_COLLECT_DIR@/etc/']

- name: iperf3
labels: [aarch64, riscv64]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this tested on those architectures?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a tree that can run userspace for those, but given that this is a dependency-free C program I have little reason for doubt.

architecture: '@OPTION:arch@'
metadata:
summary: iperf is a tool for active measurements of the maximum achievable bandwidth on IP networks.
description: iperf is a tool for active measurements of the maximum achievable bandwidth on IP networks. It supports tuning of various parameters related to timing, protocols, and buffers. For each test it reports the measured throughput / bitrate, loss, and other parameters.
spdx: 'BSD-3-Clause'
website: 'https://iperf.fr'
maintainer: "no92 <[email protected]>"
categories: ['net-misc']
source:
subdir: ports
git: https://github.com/esnet/iperf.git
tag: '3.18'
version: '3.18'
tools_required:
- host-autoconf-v2.69
- host-automake-v1.15
- host-libtool
regenerate:
- args: ['cp',
'@BUILD_ROOT@/tools/host-automake-v1.15/share/automake-1.15/config.sub',
'@THIS_SOURCE_DIR@/config/']
- args: ['cp',
'@BUILD_ROOT@/tools/host-automake-v1.15/share/automake-1.15/config.guess',
'@THIS_SOURCE_DIR@/config/']
- args: ['./bootstrap.sh']
tools_required:
- system-gcc
no92 marked this conversation as resolved.
Show resolved Hide resolved
pkgs_required:
- mlibc
configure:
- args:
- '@THIS_SOURCE_DIR@/configure'
- '--host=@OPTION:arch-triple@'
- '--prefix=/usr'
build:
- args: ['make', '-j@PARALLELISM@']
- args: ['make', 'install']
environ:
DESTDIR: '@THIS_COLLECT_DIR@'

- name: rsync
architecture: '@OPTION:arch@'
source:
Expand Down
Loading