Subject: Compilation times...
To: None <tech-pkg@netbsd.org>
From: Richard Rauch <rkr@olib.org>
List: tech-pkg
Date: 03/03/2005 18:18:10
Of course, one of the banes of pkgsrc (and any source based package system)
is the compile time required to rebuild a large segment of the package
system. (That can be contained somewhat, but if a serious flaw is
uncovered that forces you to take something offline, and it takes
a day or so to rebuild everything...)
I was noticing that certain MonopolySoft systems compile code relatively
quickly. I was pondering...would it be possible to make a variant GCC
that builds faster? (A naive thought that crossed my mind was to simply
disable a lot of the analysis code for warnings---when I'm rebuilding a
large package, I generally don't pay attention to the warnings anyway,
and they stream by too fast to be read.)
Is there any merit to this idea? (Or similar hacks that might specialize
GCC for building pkgsrc? Sure, if a problem crops up, I might want to
re-compile with the "real" GCC in /usr/bin (or wherever), but...)
Just an idea that I thought that I'd toss out there. (^&
--
"I probably don't know what I'm talking about." http://www.olib.org/~rkr/