From owner-freebsd-current Thu Feb 20 4:46:15 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04C9837B401 for ; Thu, 20 Feb 2003 04:46:13 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0158743F93 for ; Thu, 20 Feb 2003 04:46:09 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (root@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with SMTP id h1KCk5tO075126 for ; Thu, 20 Feb 2003 14:46:05 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with ESMTP id h1KCk4HR075109 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 20 Feb 2003 14:46:05 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Submit) id h1KCk3mC075104; Thu, 20 Feb 2003 14:46:03 +0200 (EET) Date: Thu, 20 Feb 2003 14:46:03 +0200 From: Ruslan Ermilov To: phk@phk.freebsd.dk Cc: current@freebsd.org, johan@freebsd.org Subject: Re: Optimizing "universe" somewhat Message-ID: <20030220124603.GA74639@sunbay.com> References: <20030220091227.GA47550@sunbay.com> <920.1045734290@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <920.1045734290@critter.freebsd.dk> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 20, 2003 at 10:44:50AM +0100, phk@phk.freebsd.dk wrote: > In message <20030220091227.GA47550@sunbay.com>, Ruslan Ermilov writes: > > > >--/9DWx/yDrRhgMJTb > >Content-Type: text/plain; charset=3Dus-ascii > >Content-Disposition: inline > >Content-Transfer-Encoding: quoted-printable > > > >On Wed, Feb 19, 2003 at 07:40:19AM -0800, Ruslan Ermilov wrote: > >> ru 2003/02/19 07:40:19 PST > >>=3D20 > >> Modified files: > >> . Makefile=3D20 > >> Log: > >> Fixed universe. > >> =3D20 > >> Folded pc98 into the common case. > >> Retired ${JFLAG} (``make -jX universe'' should work). > >> =3D20 > >> Revision Changes Path > >> 1.276 +30 -34 src/Makefile > >>=3D20 > >Would it be too bad (in anyone's opinion) if we optimize this > >a bit to build modules only once for each architecture, with > >buildworld (-DMODULES_WITH_WORLD)? That would speed-up the > >creation of universe somewhat, but has one bad side effect of > >polluting userland build with kernel stuff, but is easiest > >to implement. >=20 > I think we should build the modules as specified by the kernels. >=20 > Nothing prevents you from adding >=20 > makeoptions MODULES_OVERRIDE=3D"acpi linux" >=20 > or similar to your kernels. >=20 > Universe just takes time, and that's it. Don't try to optimize it > if the result is less coverage. >=20 Okay, and this _is_ the easiest to implement, though I've found some bogons with putting ``makeoptions NO_MODULES=3Dyes'' that need to be addressed. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+VM4LUkv4P6juNwoRAsebAJ997SolUr147KAAtwE9iBG62xJgwACffEA9 OJik5W79reHPJbzsKuvpg8o= =iqP8 -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message