svn commit: r321051 - head/lang/gcc
Bryan Drewery
bdrewery at FreeBSD.org
Sun Jun 16 14:15:57 UTC 2013
On 6/16/2013 9:13 AM, Gerald Pfeifer wrote:
> Author: gerald
> Date: Sun Jun 16 14:13:25 2013
> New Revision: 321051
> URL: http://svnweb.freebsd.org/changeset/ports/321051
>
> Log:
> Introduce a new option BOOTSTRAP that allows for doing a full
> bootstrap of GCC, as opposed to just running a simple build.
> Bootstrapping is actually the default upstream, we disable it
> by default for the stable flavors of GCC since that is a huge
> win in terms of build time of the port. No change in default
> behavior for this port.
>
> (When bootstrapping, use bootstrap-lean instead of default/vanilla
> bootstrap to save on disk space.)
>
> Remove redundant setting of DISTNAME.
>
> Modified:
> head/lang/gcc/Makefile
>
> Modified: head/lang/gcc/Makefile
> ==============================================================================
> --- head/lang/gcc/Makefile Sun Jun 16 14:10:35 2013 (r321050)
> +++ head/lang/gcc/Makefile Sun Jun 16 14:13:25 2013 (r321051)
> @@ -6,7 +6,6 @@ PORTVERSION= 4.6.3
> CATEGORIES= lang java
> MASTER_SITES= ${MASTER_SITE_GCC}
> MASTER_SITE_SUBDIR= releases/gcc-${VERSIONSTRING}
> -DISTNAME= gcc-${VERSIONSTRING}
>
> MAINTAINER= gerald at FreeBSD.org
> COMMENT= GNU Compiler Collection 4.6
> @@ -39,10 +38,12 @@ MAKE_JOBS_SAFE= yes
> PATCH_WRKSRC= ${SRCDIR}
> CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure
>
> +OPTIONS_DEFINE= BOOTSTRAP
> OPTIONS_DEFINE_i386= JAVA
> OPTIONS_DEFINE_amd64= JAVA
> OPTIONS_DEFAULT_i386= JAVA
> OPTIONS_DEFAULT_amd64= JAVA
> +BOOTSTRAP_DESC= Build using a full bootstrap
I don't dispute the change. I'm curious what benefits bootstrapping has?
Does it improve run-time performance? I am guessing it means it builds a
smaller version of the release and then builds the release using itself
as opposed to the system compiler?
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20130616/50678d47/attachment.sig>
More information about the svn-ports-all
mailing list