mirror of
https://github.com/openwrt/packages.git
synced 2026-12-05 02:25:51 +04:00
Notable changes since 3.42: - cgroup: fix path buffer overflows for long cgroup names - backend: remove linux/prctl.h include to fix a musl conflict - helper_thread: handle EINTR from select() - verify: fix a segfault in timed-out teardown - fio: do not allocate a buffer for TRIM ranges (avoids OOM) - init: fix memory leaks reported by LeakSanitizer - new crash-aware data verification Drop the Build/Prepare override that removed the linux/prctl.h include from backend.c; 3.43 no longer includes it, so the sed did nothing. Release notes: https://github.com/axboe/fio/releases/tag/fio-3.43 Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
69 lines
1.6 KiB
Makefile
69 lines
1.6 KiB
Makefile
#
|
|
# Copyright (C) 2018 Daniel Engberg <daniel.engberg.lists@pyret.net>
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fio
|
|
PKG_VERSION:=3.43
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_SOURCE_URL:=https://brick.kernel.dk/snaps
|
|
PKG_HASH:=5e74e333f47fd4f311599b57c7c846b3a9f4f6b00411cbe7103791ad7e484c23
|
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
PKG_INSTALL:=1
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/fio
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
SUBMENU:=Disc
|
|
DEPENDS:=+libaio +zlib +libatomic
|
|
TITLE:=I/O testing and benchmarking tool
|
|
URL:=https://github.com/axboe/fio
|
|
endef
|
|
|
|
define Package/fio/description
|
|
Fio is an I/O testing tool that will spawn a number of threads or
|
|
processes doing a particular type of I/O action as specified by
|
|
the user. Fio can be driven by a 'job file' describing the I/O
|
|
load one wants to simulate.
|
|
endef
|
|
|
|
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS))
|
|
TARGET_LDFLAGS += -Wl,--gc-sections -latomic
|
|
|
|
CONFIGURE_ARGS = \
|
|
--disable-numa \
|
|
--disable-rdma \
|
|
--disable-rados \
|
|
--disable-http \
|
|
--disable-rbd \
|
|
--disable-gfapi \
|
|
--disable-lex \
|
|
--disable-pmem \
|
|
--disable-native \
|
|
--disable-shm \
|
|
--disable-optimizations \
|
|
--disable-tcmalloc \
|
|
--cc="$(TARGET_CC)" \
|
|
--extra-cflags="$(TARGET_CFLAGS)" \
|
|
--prefix="$(CONFIGURE_PREFIX)"
|
|
|
|
define Package/fio/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fio $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,fio))
|