diff options
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/fio/Makefile | 4 | ||||
-rw-r--r-- | benchmarks/fio/distinfo | 4 | ||||
-rw-r--r-- | benchmarks/fio/patches/patch-Makefile | 31 |
3 files changed, 32 insertions, 7 deletions
diff --git a/benchmarks/fio/Makefile b/benchmarks/fio/Makefile index b3c419fc953..979fed3af66 100644 --- a/benchmarks/fio/Makefile +++ b/benchmarks/fio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2017/05/03 00:59:46 mef Exp $ +# $NetBSD: Makefile,v 1.3 2017/05/18 07:20:22 fhajny Exp $ DISTNAME= fio-2.19 CATEGORIES= benchmarks @@ -25,6 +25,8 @@ REPLACE_PYTHON+= tools/plot/fio2gnuplot INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} +TEST_TARGET= test + post-install: ${INSTALL_DATA} ${WRKSRC}/HOWTO ${DESTDIR}${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.fio ${DESTDIR}${EGDIR} diff --git a/benchmarks/fio/distinfo b/benchmarks/fio/distinfo index 9f2137cb34d..ac0646dd02c 100644 --- a/benchmarks/fio/distinfo +++ b/benchmarks/fio/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.2 2017/05/03 00:59:46 mef Exp $ +$NetBSD: distinfo,v 1.3 2017/05/18 07:20:22 fhajny Exp $ SHA1 (fio-2.19.tar.gz) = 05c251899d8aedb3f5dfb2cc6976f2d0f2f2c332 RMD160 (fio-2.19.tar.gz) = c4d059fece80dd40e1401e48dd149850476e3b51 SHA512 (fio-2.19.tar.gz) = 92515432401638721793d42a20f1b55a75c50a6304a600c1efa8bb426900ab7d29a3cd11b7e65ce5229a933680c0edbae684d58f02874edf3f384fe5ccd0d727 Size (fio-2.19.tar.gz) = 681650 bytes -SHA1 (patch-Makefile) = 63b4abb38bd36fa7c65224fbe440938b63cde3c6 +SHA1 (patch-Makefile) = a5f33d182599e06dbaad7f0a22f3180b0715076c diff --git a/benchmarks/fio/patches/patch-Makefile b/benchmarks/fio/patches/patch-Makefile index 3c06fe90cf0..e10d03d3e03 100644 --- a/benchmarks/fio/patches/patch-Makefile +++ b/benchmarks/fio/patches/patch-Makefile @@ -1,11 +1,11 @@ -$NetBSD: patch-Makefile,v 1.1 2017/02/04 12:50:23 ryoon Exp $ +$NetBSD: patch-Makefile,v 1.2 2017/05/18 07:20:22 fhajny Exp $ Convert the fmt(1) command to a tr(1) one (the fmt(1) old syntax command is not supported on all Unix systems). ---- Makefile.orig 2017-01-17 15:51:31.000000000 +0000 +--- Makefile.orig 2017-04-04 14:30:59.000000000 +0000 +++ Makefile -@@ -319,8 +319,8 @@ override CFLAGS += -DFIO_VERSION='"$(FIO +@@ -318,8 +318,8 @@ override CFLAGS += -DFIO_VERSION='"$(FIO @$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(SRCDIR)/$*.c > $*.d @mv -f $*.d $*.d.tmp @sed -e 's|.*:|$*.o:|' < $*.d.tmp > $*.d @@ -16,7 +16,7 @@ supported on all Unix systems). @rm -f $*.d.tmp ifdef CONFIG_ARITHMETIC -@@ -358,8 +358,8 @@ init.o: init.c FIO-VERSION-FILE +@@ -357,8 +357,8 @@ init.o: init.c FIO-VERSION-FILE @$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(SRCDIR)/$*.c > $*.d @mv -f $*.d $*.d.tmp @sed -e 's|.*:|$*.o:|' < $*.d.tmp > $*.d @@ -27,3 +27,26 @@ supported on all Unix systems). @rm -f $*.d.tmp gcompat.o: gcompat.c gcompat.h +@@ -452,12 +452,13 @@ test: fio + ./fio --minimal --thread --ioengine=null --runtime=1s --name=nulltest --rw=randrw --iodepth=2 --norandommap --random_generator=tausworthe64 --size=16T --name=verifynulltest --rw=write --verify=crc32c --verify_state_save=0 --size=100M + + install: $(PROGS) $(SCRIPTS) tools/plot/fio2gnuplot.1 FORCE +- $(INSTALL) -m 755 -d $(DESTDIR)$(bindir) +- $(INSTALL) $(PROGS) $(SCRIPTS) $(DESTDIR)$(bindir) +- $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1 +- $(INSTALL) -m 644 $(SRCDIR)/fio.1 $(DESTDIR)$(mandir)/man1 +- $(INSTALL) -m 644 $(SRCDIR)/tools/fio_generate_plots.1 $(DESTDIR)$(mandir)/man1 +- $(INSTALL) -m 644 $(SRCDIR)/tools/plot/fio2gnuplot.1 $(DESTDIR)$(mandir)/man1 +- $(INSTALL) -m 644 $(SRCDIR)/tools/hist/fiologparser_hist.py.1 $(DESTDIR)$(mandir)/man1 +- $(INSTALL) -m 755 -d $(DESTDIR)$(sharedir) +- $(INSTALL) -m 644 $(SRCDIR)/tools/plot/*gpm $(DESTDIR)$(sharedir)/ ++ $(BSD_INSTALL_PROGRAM_DIR) -m 755 -d $(DESTDIR)$(bindir) ++ $(BSD_INSTALL_PROGRAM) $(PROGS) $(DESTDIR)$(bindir) ++ $(BSD_INSTALL_SCRIPT) $(SCRIPTS) $(DESTDIR)$(bindir) ++ $(BSD_INSTALL_MAN_DIR) -m 755 -d $(DESTDIR)$(mandir)/man1 ++ $(BSD_INSTALL_MAN) -m 644 $(SRCDIR)/fio.1 $(DESTDIR)$(mandir)/man1 ++ $(BSD_INSTALL_MAN) -m 644 $(SRCDIR)/tools/fio_generate_plots.1 $(DESTDIR)$(mandir)/man1 ++ $(BSD_INSTALL_MAN) -m 644 $(SRCDIR)/tools/plot/fio2gnuplot.1 $(DESTDIR)$(mandir)/man1 ++ $(BSD_INSTALL_MAN) -m 644 $(SRCDIR)/tools/hist/fiologparser_hist.py.1 $(DESTDIR)$(mandir)/man1 ++ $(BSD_INSTALL_DATA_DIR) -m 755 -d $(DESTDIR)$(sharedir) ++ $(BSD_INSTALL_DATA) -m 644 $(SRCDIR)/tools/plot/*gpm $(DESTDIR)$(sharedir)/ |