Title: | USG buildhelp questions/answers |
Moderator: | SMURF::FILTER |
Created: | Mon Apr 26 1993 |
Last Modified: | Mon Jan 20 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2763 |
Total number of notes: | 5802 |
Date Of Receipt: 3-AUG-1993 09:35:15.27 From: QUARRY::gaudet "Gary A. Gaudet" To: brett buildhelp CC: arslan bglover Subj: suggestion for your review...build rule improvement... build BINARY_depend (as well as GENERIC_depend, etc...) takes a *long* time to complete. I believe the following may help speed things up: % diff /usr/projects/netode2/gaudet/isdn1/src/kernel/conf/{template.mk.orig,template.mk} 805,809c805,809 < (for f in `${CAT} $$i` ; do \ < ${CC} -M ${ALLOPTS} ${DEFINES} $$f | \ < ${AWK} '{ print $$0 >> "makedeptmp" }; \ < { print $$2 >> "maketagstmp" }'; \ < done) 2>makedeperrs; \ --- > ( \ > ${CC} -M ${ALLOPTS} ${DEFINES} `${CAT} $$i` | \ > ${AWK} '{ print $$0 >> "makedeptmp" }; \ > { print $$2 >> "maketagstmp" }'; \ > ) 2>makedeperrs; \ By removing the "for f in `${CAT} $$i`..." loop and replacing "$$f" with "`${CAT} $$i`" "${CC} -M ..." is invoked *eight* times instead of *759* times in agosminor.bl4 I've made this change in my sandbox and it seems to save a significant about of time. _____________________________________________________________________ Gary A. Gaudet, M/S: ZKO3-3/U14 TCP/IP: [email protected] UNIX(R) Software Group DECnet: KRISIS::GAUDET Digital Equipment Corporation FAX: DTN-381-2257 110 Spit Brook Road Voice: DTN-381-2504 Nashua, New Hampshire 03062-2698 Office: ZKO3-3/T69 Pole: TA8
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
253.1 | Re: suggestion for your review...build rule improvement... | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Tue Aug 03 1993 16:15 | 10 |
Date Of Receipt: 3-AUG-1993 13:33:48.26 From: FLUME::jmcg "Jim McGinness" To: flume::brett, flume::buildhelp, flume::gaudet CC: flume::arslan, flume::bglover Subj: Re: suggestion for your review...build rule improvement... Any improvements are welcome. Write up an srequest for it and make sure it gets reviewed by someone like Grant VanDyck. -- jmcg | |||||
253.2 | Re: suggestion for your review...build rule improvement... | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Tue Aug 03 1993 16:21 | 12 |
Date Of Receipt: 3-AUG-1993 14:07:25.64 From: WASTED::jmf "Joshua M. Friedman ULTRIX SDE 03-Aug-1993 1407" To: Gary A. Gaudet <gaudet@wasted:zko.dec> CC: brett@wasted:zko.dec, buildhelp@wasted:zko.dec, arslan@wasted:zko.dec, bglover@wasted:zko.dec, jmf@wasted:zko.dec Subj: Re: suggestion for your review...build rule improvement... Gary, I think think Brian Stevens is the best person to have review this work... thanks... -josh |