FreeBSD Bugzilla – Attachment 243874 Details for
Bug 272960
benchmarks/fio: install header files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Install fio's header files.
0001-benchmarks-fio-install-the-header-files.patch (text/plain), 5.59 KB, created by
Alan Somers
on 2023-08-05 22:44:46 UTC
(
hide
)
Description:
Install fio's header files.
Filename:
MIME Type:
Creator:
Alan Somers
Created:
2023-08-05 22:44:46 UTC
Size:
5.59 KB
patch
obsolete
>From 00841c97af5e93e183355e3d65b605c62dd104d2 Mon Sep 17 00:00:00 2001 >From: Alan Somers <asomers@FreeBSD.org> >Date: Sat, 5 Aug 2023 16:42:51 -0600 >Subject: [PATCH] benchmarks/fio: install the header files > >fio has a plugin API for I/O engines. Most are built from within the >fio repository itself, but they can be built externally too. The port >should install these header files so external ioengines can build >themselves using the same headers that were used for the installed >package. > >This change is extra important after >https://cgit.freebsd.org/src/commit/?id=d1639e43c589644510198dc53aef87e8908a1507 >, which changes the size of struct cpuset. Fio's ioengine API uses >cpuset inline in some larger structures. So external ioengines built >for FreeBSD 13 will now segfault if run on FreeBSD 14. >--- > benchmarks/fio/Makefile | 15 ++++++ > benchmarks/fio/pkg-plist | 110 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 125 insertions(+) > >diff --git a/benchmarks/fio/Makefile b/benchmarks/fio/Makefile >index 51b652d2907d..d1ee1a93c575 100644 >--- a/benchmarks/fio/Makefile >+++ b/benchmarks/fio/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= fio > DISTVERSION= 3.35 >+PORTREVISION= 1 > CATEGORIES= benchmarks > MASTER_SITES= https://brick.kernel.dk/snaps/ > >@@ -36,6 +37,20 @@ do-install: > ${INSTALL_SCRIPT} ${WRKSRC}/tools/fio_generate_plots ${STAGEDIR}${PREFIX}/bin > ${INSTALL_MAN} ${WRKSRC}/fio.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ > ${INSTALL_MAN} ${WRKSRC}/tools/fio_generate_plots.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 >+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} >+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}/compiler >+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}/lib >+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}/arch >+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}/os >+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}/oslib >+ ${INSTALL_DATA} ${WRKSRC}/compiler/compiler.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}/compiler >+ ${INSTALL_DATA} ${WRKSRC}/os/os.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}/os >+ ${INSTALL_DATA} ${WRKSRC}/os/os-freebsd.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}/os >+ ${INSTALL_DATA} ${WRKSRC}/oslib/getopt.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}/oslib >+ ${INSTALL_DATA} ${WRKSRC}/lib/*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}/lib >+ @(cd ${WRKSRC}/arch/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/${PORTNAME}/arch) >+ ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME} >+ > do-install-EXAMPLES-on: > @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} > @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}) >diff --git a/benchmarks/fio/pkg-plist b/benchmarks/fio/pkg-plist >index db6315a28f69..f652fb8942be 100644 >--- a/benchmarks/fio/pkg-plist >+++ b/benchmarks/fio/pkg-plist >@@ -1,5 +1,115 @@ > bin/fio > bin/fio_generate_plots >+include/fio/arch/arch-aarch64.h >+include/fio/arch/arch-alpha.h >+include/fio/arch/arch-arm.h >+include/fio/arch/arch-generic.h >+include/fio/arch/arch-hppa.h >+include/fio/arch/arch-ia64.h >+include/fio/arch/arch-loongarch64.h >+include/fio/arch/arch-mips.h >+include/fio/arch/arch-ppc.h >+include/fio/arch/arch-s390.h >+include/fio/arch/arch-sh.h >+include/fio/arch/arch-sparc.h >+include/fio/arch/arch-sparc64.h >+include/fio/arch/arch-x86-common.h >+include/fio/arch/arch-x86.h >+include/fio/arch/arch-x86_64.h >+include/fio/arch/arch.h >+include/fio/blktrace.h >+include/fio/blktrace_api.h >+include/fio/cairo_text_helpers.h >+include/fio/cgroup.h >+include/fio/client.h >+include/fio/compiler/compiler.h >+include/fio/config-host.h >+include/fio/debug.h >+include/fio/dedupe.h >+include/fio/diskutil.h >+include/fio/err.h >+include/fio/fdp.h >+include/fio/fifo.h >+include/fio/file.h >+include/fio/filehash.h >+include/fio/filelock.h >+include/fio/fio.h >+include/fio/fio_sem.h >+include/fio/fio_time.h >+include/fio/flist.h >+include/fio/flow.h >+include/fio/gclient.h >+include/fio/gcompat.h >+include/fio/gerror.h >+include/fio/gettime.h >+include/fio/gfio.h >+include/fio/ghelpers.h >+include/fio/goptions.h >+include/fio/graph.h >+include/fio/hash.h >+include/fio/helper_thread.h >+include/fio/helpers.h >+include/fio/idletime.h >+include/fio/io_ddir.h >+include/fio/io_u.h >+include/fio/io_u_queue.h >+include/fio/ioengines.h >+include/fio/iolog.h >+include/fio/json.h >+include/fio/lib/axmap.h >+include/fio/lib/bloom.h >+include/fio/lib/bswap.h >+include/fio/lib/ffz.h >+include/fio/lib/fls.h >+include/fio/lib/gauss.h >+include/fio/lib/getrusage.h >+include/fio/lib/hweight.h >+include/fio/lib/ieee754.h >+include/fio/lib/lfsr.h >+include/fio/lib/memalign.h >+include/fio/lib/memcpy.h >+include/fio/lib/mountcheck.h >+include/fio/lib/nowarn_snprintf.h >+include/fio/lib/num2str.h >+include/fio/lib/output_buffer.h >+include/fio/lib/pattern.h >+include/fio/lib/pow2.h >+include/fio/lib/prio_tree.h >+include/fio/lib/rand.h >+include/fio/lib/rbtree.h >+include/fio/lib/roundup.h >+include/fio/lib/seqlock.h >+include/fio/lib/strntol.h >+include/fio/lib/types.h >+include/fio/lib/zipf.h >+include/fio/log.h >+include/fio/minmax.h >+include/fio/optgroup.h >+include/fio/options.h >+include/fio/os/os-freebsd.h >+include/fio/os/os.h >+include/fio/oslib/getopt.h >+include/fio/parse.h >+include/fio/printing.h >+include/fio/profile.h >+include/fio/pshared.h >+include/fio/rate-submit.h >+include/fio/rwlock.h >+include/fio/server.h >+include/fio/smalloc.h >+include/fio/stat.h >+include/fio/steadystate.h >+include/fio/td_error.h >+include/fio/thread_options.h >+include/fio/tickmarks.h >+include/fio/trim.h >+include/fio/verify-state.h >+include/fio/verify.h >+include/fio/workqueue.h >+include/fio/y.tab.h >+include/fio/zbd.h >+include/fio/zbd_types.h >+include/fio/zone-dist.h > man/man1/fio.1.gz > man/man1/fio_generate_plots.1.gz > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/1mbs_clients.fio >-- >2.40.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272960
: 243874