Skip site navigation (1)Skip section navigation (2)
Date:      04 Sep 2002 00:33:06 -0700
From:      Eric Anholt <eta@lclark.edu>
To:        ports@freebsd.org
Subject:   review request: XFree86-4 trimming patch
Message-ID:  <1031124786.883.74.camel@anholt.dyndns.org>

next in thread | raw e-mail | index | archive | help
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 <eta@lclark.edu>
http://people.freebsd.org/~anholt/dri/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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