pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk pbulk-0.66: make it simpler to compute ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ce0cf102335
branches:  trunk
changeset: 407681:1ce0cf102335
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jan 08 15:12:01 2020 +0000

description:
pbulk-0.66: make it simpler to compute the duration of the scan phase

This is handy when benchmarking whole system performance.

diffstat:

 pkgtools/pbulk/Makefile                      |  4 ++--
 pkgtools/pbulk/files/pbulk/scripts/pre-build |  7 ++++---
 pkgtools/pbulk/files/pbulk/scripts/scan      |  3 ++-
 3 files changed, 8 insertions(+), 6 deletions(-)

diffs (47 lines):

diff -r 1f644522f4da -r 1ce0cf102335 pkgtools/pbulk/Makefile
--- a/pkgtools/pbulk/Makefile   Wed Jan 08 14:57:29 2020 +0000
+++ b/pkgtools/pbulk/Makefile   Wed Jan 08 15:12:01 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.82 2018/07/04 13:40:32 jperkin Exp $
+# $NetBSD: Makefile,v 1.83 2020/01/08 15:12:01 joerg Exp $
 
-PKGNAME=       pbulk-0.65
+PKGNAME=       pbulk-0.66
 COMMENT=       Modular bulk build framework
 
 .include "../../pkgtools/pbulk/Makefile.common"
diff -r 1f644522f4da -r 1ce0cf102335 pkgtools/pbulk/files/pbulk/scripts/pre-build
--- a/pkgtools/pbulk/files/pbulk/scripts/pre-build      Wed Jan 08 14:57:29 2020 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/pre-build      Wed Jan 08 15:12:01 2020 +0000
@@ -1,5 +1,5 @@
 #!@SH@
-# $NetBSD: pre-build,v 1.14 2015/09/12 23:04:30 joerg Exp $
+# $NetBSD: pre-build,v 1.15 2020/01/08 15:12:01 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -114,6 +114,7 @@
 echo "PLATFORM=${opsys} ${opver}/${platform}" > ${loc}/status
 echo "COMPILER=${compiler}" >> ${loc}/status
 
-date '+%Y-%m-%d %H:%M|%Y%m%d.%H%M' | sed 's/^\(.*\)|\(.*\)$/BUILD_START_ISO=\1\
-BUILD_START_DIR=\2/' >> ${loc}/status
+date '+BUILD_START_ISO=%Y-%m-%d %H:%M
+BUILD_START_DIR=%Y%m%d.%H%M
+BUILD_START_EPOCHE=%s' >> ${loc}/status
 echo "BASE_URL=${base_url}" >> ${loc}/status
diff -r 1f644522f4da -r 1ce0cf102335 pkgtools/pbulk/files/pbulk/scripts/scan
--- a/pkgtools/pbulk/files/pbulk/scripts/scan   Wed Jan 08 14:57:29 2020 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/scan   Wed Jan 08 15:12:01 2020 +0000
@@ -1,5 +1,5 @@
 #!@SH@
-# $NetBSD: scan,v 1.9 2014/11/24 00:52:09 asau Exp $
+# $NetBSD: scan,v 1.10 2020/01/08 15:12:01 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -113,3 +113,4 @@
                exit 1
        fi
 fi
+date '+SCAN_END_EPOCHE=%s' >> ${loc}/status



Home | Main Index | Thread Index | Old Index