From owner-svn-ports-head@FreeBSD.ORG Tue May 5 20:22:09 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4B43DFE; Tue, 5 May 2015 20:22:09 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8959D1635; Tue, 5 May 2015 20:22:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t45KM9Yk091785; Tue, 5 May 2015 20:22:09 GMT (envelope-from olgeni@FreeBSD.org) Received: (from olgeni@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t45KM9Nr091783; Tue, 5 May 2015 20:22:09 GMT (envelope-from olgeni@FreeBSD.org) Message-Id: <201505052022.t45KM9Nr091783@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: olgeni set sender to olgeni@FreeBSD.org using -f From: Jimmy Olgeni Date: Tue, 5 May 2015 20:22:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385487 - head/lang/gambit-c X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2015 20:22:09 -0000 Author: olgeni Date: Tue May 5 20:22:08 2015 New Revision: 385487 URL: https://svnweb.freebsd.org/changeset/ports/385487 Log: Upgrade to version 4.7.5 and take over maintainership from ports@. There is something going on with optimizations on both the old and new versions. If you set USE_GCC=any the port will build way faster: gcc: make 506.90s user 17.86s system 228% cpu 3:49.41 total clang: make 3913.28s user 23.73s system 211% cpu 31:05.70 total I added a GCC option for now. Setting CFLAGS to -O0 will make clang go as fast as gcc. Explanation still unknown. Modified: head/lang/gambit-c/Makefile head/lang/gambit-c/distinfo (contents, props changed) Modified: head/lang/gambit-c/Makefile ============================================================================== --- head/lang/gambit-c/Makefile Tue May 5 19:44:44 2015 (r385486) +++ head/lang/gambit-c/Makefile Tue May 5 20:22:08 2015 (r385487) @@ -2,13 +2,13 @@ # $FreeBSD$ PORTNAME= gambit-c -DISTVERSION= v4_7_3 +DISTVERSION= v4_7_5 PORTEPOCH= 1 CATEGORIES= lang MASTER_SITES= http://www.iro.umontreal.ca/~gambit/download/gambit/v4.7/source/ DISTNAME= gambc-${DISTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= olgeni@FreeBSD.org COMMENT= Gambit programming system where the compiler generates portable C code LICENSE= APACHE20 LGPL21 @@ -28,10 +28,17 @@ USE_LDCONFIG= ${PREFIX}/lib/gambit-c INFO= gambit-c -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS GCC +OPTIONS_DEFAULT=GCC + +GCC_DESC= Build with GCC .include +.if ${PORT_OPTIONS:MGCC} +USE_GCC= any +.endif + .if ${COMPILER_TYPE} == gcc # This is needed because 4.2 < gcc -v < 4.4 has optimisations that make the # build take more than 20Gb of virtual memory. Modified: head/lang/gambit-c/distinfo ============================================================================== --- head/lang/gambit-c/distinfo Tue May 5 19:44:44 2015 (r385486) +++ head/lang/gambit-c/distinfo Tue May 5 20:22:08 2015 (r385487) @@ -1,2 +1,2 @@ -SHA256 (gambc-v4_7_3.tgz) = 59c4c62f2cfaf698b54a862e7af9c1b3e4cc27e46d386f31c66e00fed4701777 -SIZE (gambc-v4_7_3.tgz) = 11462024 +SHA256 (gambc-v4_7_5.tgz) = 5dee880b5ab8679c9aa72baaee8f84320692143c6a003379a458104f39c671b0 +SIZE (gambc-v4_7_5.tgz) = 13003656