Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2004 20:54:03 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Tony Frank <tfrank@optushome.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:    Re: Clarification needed on Handbook: Tracking for Multiple Machines
Message-ID:  <20040224204855.V72422@woozle.rinet.ru>
In-Reply-To: <20040224004936.GB48674@marvin.home.local>
References:  <20040222150723.GA25548@sheol.localdomain> <20040222172039.GA25979@sheol.localdomain> <20040223164607.GA29519@sheol.localdomain> <20040224004936.GB48674@marvin.home.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Feb 2004, Tony Frank wrote:

[snip]

TF> > > : If "True", for optimized code across all machines, the code should
TF> > > : just be built on each machine, right?
TF> > > That would give slightly better performance.  However, it can be more
TF> > > pain than it is worth if the number of machine types is high.
TF> > Consuming considerably more time and disk space, a shell script to
TF> > alter make.conf and rename /usr/obj between the build for each machine
TF> > is doable, though pro'lly not worth it. The install at each each box
TF> > would just have to mount it's corresponding /usr/obj tree.
TF>
TF> Just need to set __MAKE_CONF and MAKEOBJDIRPREFIX before running the build.

Unfortunately not, as some utilities (from phase III) will be linked against
existing system libraries. Or, you should follow the process like 'make
release': build world with lower CPU optimization, intall it to the sandbox,
chroot to it and build world again. This was explained by ru@ some months ago
[1,2]

[1]: http://www.geocrawler.com/archives/3/152/2002/5/0/8811539/
[2]:
http://groups.google.com/groups?hl=ru&lr=&ie=UTF-8&inlang=ru&threadm=fa.f0qca6v.f7g49v%40ifi.uio.no&rnum=4&prev=/groups%3Fq%3Dfreebsd%2Bruslan%2Bermilov%2BCPUTYPE%2Bworld%2Bproblems%2Bwhen%2Brunning%2Bmake%26hl%3Dru%26lr%3D%26ie%3DUTF-8%26inlang%3Dru%26selm%3Dfa.f0qca6v.f7g49v%2540ifi.uio.no%26rnum%3D4

Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



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