Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2008 16:30:29 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        =?ISO-8859-1?Q?Christoffer_Str=F6mblad?= <cs@wa-sp.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Compiling utilizing multiple CPUs
Message-ID:  <4EA98CBC-8BE3-4195-82A7-3E63C0D70593@mac.com>
In-Reply-To: <478BF671.7010104@wa-sp.com>
References:  <478BF671.7010104@wa-sp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 14, 2008, at 3:55 PM, Christoffer Str=F6mblad wrote:
> Having looked through much of the available documentation one thing
> continues to elude me... Is it possible to specify globally how many
> CPUs are available when compiling a port? When I compile a port now it
> seems as if only one CPU is used, even though more are available.

The quality of the Makefiles or similar used by individual ports =20
varies, and many of them are not safe to compile in a multithreaded =20
fashion.  You can set "MAKEFLAGS=3D-j3" or similar in your environment, =20=

but it's really not recommended.

--=20
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EA98CBC-8BE3-4195-82A7-3E63C0D70593>