From owner-freebsd-ports Wed Sep 4 0:33: 8 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE35C37B400 for ; Wed, 4 Sep 2002 00:33:05 -0700 (PDT) Received: from haystack.lclark.edu (haystack.lclark.edu [149.175.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7095143E6E for ; Wed, 4 Sep 2002 00:33:05 -0700 (PDT) (envelope-from eta@lclark.edu) Received: from copeland-30-191.lclark.edu (anholt@copeland-30-191.lclark.edu [149.175.30.191]) by haystack.lclark.edu (8.9.3/8.9.3) with ESMTP id AAA29984 for ; Wed, 4 Sep 2002 00:33:05 -0700 (PDT) Subject: review request: XFree86-4 trimming patch From: Eric Anholt To: ports@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 04 Sep 2002 00:33:06 -0700 Message-Id: <1031124786.883.74.camel@anholt.dyndns.org> Mime-Version: 1.0 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've put up a patch that simplifies (imo) the X building process, partially by moving the work of a few of the patches from XFree86-4-libraries/files to the makefiles and a Makefile.inc in XFree86-4-libraries. It has helped me to reduce compile times (recompiling the same programs less), and I hope to continue reducing the compile times at a later date. It includes CC/CXX cleanliness, which allows ccache to be used, greatly reducing the compile times. I've also moved some of the files between ports, to include data with the programs/libs that use them. This is partially a request for review from someone who might see obvious things I'm missing or ports style issues. It's also to ask if there's an easy way to get bento to do a package run of this, so I can see if I'm missing installing of files that were in pkg-plists, dependency issues, or other problems that I may not see on my local machine. http://people.freebsd.org/~anholt/files/x420diff6-8 times from installs of a few of the XFree86-4-*: before: clients: 610.67 real 346.45 user 75.73 sys libraries: 715.90 real 446.33 user 80.89 sys servers: 1166.50 real 771.88 user 126.01 sys after: clients: 230.75 real 115.00 user 25.67 sys libraries: 690.77 real 438.89 user 73.80 sys servers: 969.42 real 698.48 user 112.06 sys ccached: clients: 143.40 real 35.17 user 24.14 sys libraries: 273.41 real 70.91 user 50.46 sys servers: 379.52 real 137.41 user 75.10 sys I know servers can be trimmed down a lot more with what's probably a simple patch from this point, but I want to get this out now. -- Eric Anholt http://people.freebsd.org/~anholt/dri/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message