Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2011 07:43:53 +0900 (JST)
From:      NAKAMURA Kazushi <bsd@kobe1995.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        bsd@kobe1995.jp
Subject:   ports/162743: new port
Message-ID:  <20111121224353.D3FD75C27@ace.kobe1995.jp>
Resent-Message-ID: <201111212310.pALNA9xU019808@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162743
>Category:       ports
>Synopsis:       new port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 21 23:10:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     NAKAMURA Kazushi
>Release:        FreeBSD 7.2-RELEASE amd64
>Organization:
person
>Environment:
System: FreeBSD ace.kobe1995.jp 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	portable benchmark of make world

>How-To-Repeat:
	make ;make worldbench
	or
	make ;make kernelbench

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	worldbench
#	worldbench/Makefile
#
echo c - worldbench
mkdir -p worldbench > /dev/null 2>&1
echo x - worldbench/Makefile
sed 's/^X//' >worldbench/Makefile << 'cf43d559abd6ea669b47aebf0d8e18b1'
X# New ports collection makefile for:	worldbench
X# Date created:		12 Oct 2008
X# Whom:			NAKAMURA Kazushi <kaz@kobe1995.jp>
X#
X# $$
X
XPORTNAME=	worldbench
XPORTVERSION=	4.0
XCATEGORIES=	benchmarks
XMASTER_SITES=	ftp://ftp.jp.netbsd.org/pub/NetBSD/NetBSD-4.0/source/sets/
XDISTFILES=	syssrc.tgz src.tgz sharesrc.tgz gnusrc.tgz
X#EXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	benchmark of building NetBSD
X
XNO_BUILD=	true
XNO_INSTALL=	true
X
Xworldbench:
X	cd ${WRKDIR}/usr/src; \
X	jobs=`sysctl kern.threads.virtual_cpu|cut -d: -f2`; \
X	jobs=$$(( $${jobs} + 1 )) ; \
X	echo $${jobs}; \
X	time ./build.sh -M. -T tooldir.${OPSYS}-${OSREL}-${ARCH} -D obj -j $${jobs} -m amd64 tools kernel=GENERIC.MP build; \
X	echo ./build.sh -M. -T tooldir.${OPSYS}-${OSREL}-${ARCH} -D obj -j $${jobs} -m amd64 tools kernel=GENERIC.MP build
X
Xkernelbench:
X	cd ${WRKDIR}/usr/src; \
X	jobs=`sysctl kern.threads.virtual_cpu|cut -d: -f2`; \
X	jobs=$$(( $${jobs} + 1 )) ; \
X	echo $${jobs}; \
X	time ./build.sh -M. -T tooldir.${OPSYS}-${OSREL}-${ARCH} -D obj -j $${jobs} -m amd64 tools kernel=GENERIC.MP; \
X	echo ./build.sh -M. -T tooldir.${OPSYS}-${OSREL}-${ARCH} -D obj -j $${jobs} -m amd64 tools kernel=GENERIC.MP
X
X.include <bsd.port.mk>
cf43d559abd6ea669b47aebf0d8e18b1
exit

-- 
Ãæ¼Ï»֡÷¿À¸Í		@mailto:kaz@kobe1995.jp@
NAKAMURA Kazushi@KOBE	@http://kobe1995.jp/@
BSD Associate certificated
- Break the hate chain. No more kill!
administrator@[127.1]
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111121224353.D3FD75C27>