pkgsrc/benchmarks/ramspeed/Makefile
msaitoh d304c4e7b7 Import ramspeed-2.6.0 as benchmarks/ramspeed.
RAMspeed, a cache and memory benchmarking tool
(for uniprocessor machines running UNIX-like operating systems).

This command line utility measures effective bandwidth of both cache and memory
subsystems. It has been written entirely in C for portability purposes, though
benchmark routines are also available in several assembly languages for
performance reasons.
2012-12-04 10:32:53 +00:00

33 lines
919 B
Makefile

# $NetBSD: Makefile,v 1.1 2012/12/04 10:32:53 msaitoh Exp $
#
DISTNAME= ramspeed-2.6.0
CATEGORIES= benchmarks
MASTER_SITES= http://alasir.com/software/ramspeed/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://alasir.com/software/ramspeed/
COMMENT= RAMspeed, a cache and memory benchmarking tool
MAKE_JOBS_SAFE= no
BUILD_TARGET= default
INSTALLATION_DIRS= bin
do-build:
(cd ${WRKSRC} ; ./build.sh)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ramspeed ${DESTDIR}${PREFIX}/bin
benchmark:
-@${WRKSRC}/ramspeed -b 1 | tee ${WRKSRC}/ramspeed.out
-@${WRKSRC}/ramspeed -b 2 | tee -a ${WRKSRC}/ramspeed.out
-@${WRKSRC}/ramspeed -b 3 | tee -a ${WRKSRC}/ramspeed.out
-@${WRKSRC}/ramspeed -b 4 | tee -a ${WRKSRC}/ramspeed.out
-@${WRKSRC}/ramspeed -b 5 | tee -a ${WRKSRC}/ramspeed.out
-@${WRKSRC}/ramspeed -b 6 | tee -a ${WRKSRC}/ramspeed.out
# And some other CPU dependent tests.
.include "../../mk/bsd.pkg.mk"