Re: Further adventures in the land of 64-bit linux

Anders Qvist <[email protected]> Sat, 14 Sep 2002 21:28:26 +0200
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
On Sat, Sep 14, 2002 at 09:06:48PM +0200, Per Cederqvist wrote:
> Anders Qvist <[email protected]> writes:
> 
> > I've been thinking about this. We might want to have a separate
> > project in xenofarm that cycles through "odd" builds. On one pass, we
> > build wit debugging, on the next we build with UCS4, and so on.
> > -- 
> > Anders "Quest" Qvist
> 
> Why complicate things like that?  You can build the same version in
> several different ways, like this:
> 
> test: default   	./create-response.sh
> test: coverage   	./create-response.sh --cfg "--with-debug-calls"
> test: valgrind-cov	./create-response.sh --cfg "CC='gcc -V 3.0.4' --without-optimization --with-valgrind --with-debug-calls --disable-malloc-guards"
> test: valgrind-std	./create-response.sh --cfg "CC='gcc -V 3.0.4' --without-optimization --with-valgrind"
> 
> (Of course, you have to modifiy create-response so that it handles the
> --cfg option;
> http://www.lysator.liu.se/xenofarm/lyskom-server/builds/latest
> contains the example I currently use.)
> 
> If I'm not misinformed, you can now have test lines that are run on a
> specific host only:

Yes, but the problem is that if	I add, say 10 such test lines, it'll
take too long to run that project, and the other projects will be
delayed too long (might be more than a day on slower machines).

> test: default   	./create-response.sh
> test-moria: coverage   	./create-response.sh --cfg "--with-debug-calls"
> 
> This would run the default test on all hosts, and the coverage version
> on only moria.  This way the fast and/or dedicated computers could
> build many variants, while the computers that are also used for other
> purposes can run only the default build.

Selective builds is another way to do it, but that's risky. It may
mean that those options are never tested on a particular arch.
-- 
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks 
to the Internet, we know this is not true." -- Robert Wilensky