Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2005 02:48:01 -0500
From:      Michael Johnson <ahze@FreeBSD.org>
To:        x11@FreeBSD.org
Subject:   [PATCH] xorg -- speed up 'make extract' of xorg* ports.
Message-ID:  <82B1E2B7-45F4-46FC-9C4D-5EAC7255FED0@FreeBSD.org>

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

--Apple-Mail-3--146304942
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Hi, This patch speeds up 'make extract' of xorg* ports by not 
extracting */CVS/* the following is 'time make extract' in 
x11-servers/xorg-server

With Patch:
(pII 400Mhz)
real 1m12.597s
user 0m14.706s
sys 0m12.061s

(athlon 2500+ 3disk raid 0)
real 0m12.912s
user 0m2.884s
sys 0m3.128s


Without Patch:
(pII 400Mhz)
real 1m43.233s
user 0m14.565s
sys 0m13.951s

(athlon 2500+ 3disk raid 0)
real 0m22.967s
user 0m2.925s
sys 0m3.576s

I ran this in tinderbox just to make sure nothing bad happened, 
http://www.ahze.net/tinderbox/showbuild.php?name=5-AHZE

Michael


--Apple-Mail-3--146304942
Content-Transfer-Encoding: 7bit
Content-Id: <7BBE9612-9AB2-4A7A-A39F-A39BF02003E6@ahze.net>
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="xorg-server.diff"
Content-Disposition: attachment;
	filename=xorg-server.diff

Index: Makefile.inc
===================================================================
RCS file: /home/ncvs/ports/x11-servers/xorg-server/Makefile.inc,v
retrieving revision 1.11
diff -u -r1.11 Makefile.inc
--- Makefile.inc	17 Mar 2005 23:22:12 -0000	1.11
+++ Makefile.inc	20 Mar 2005 07:43:27 -0000
@@ -18,6 +18,7 @@
 PREFIX?=	${X11BASE}
 MTREE_FILE=	/etc/mtree/BSD.x11-4.dist
 MTREE_FILE=	${PORTSDIR}/x11-servers/xorg-server/files/BSD.x11-xorg.dist
+EXTRACT_AFTER_ARGS=	| ${TAR} -xf - --exclude */CVS/*
 
 USE_IMAKE=	YES
 .if defined(XMAN_DIRS)

--Apple-Mail-3--146304942--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82B1E2B7-45F4-46FC-9C4D-5EAC7255FED0>