From owner-svn-ports-head@freebsd.org Sun Nov 15 19:37:50 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A692AA30C35; Sun, 15 Nov 2015 19:37:50 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 6DDC61DA8; Sun, 15 Nov 2015 19:37:50 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tAFJbnD9071811; Sun, 15 Nov 2015 19:37:49 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tAFJbnUw071810; Sun, 15 Nov 2015 19:37:49 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201511151937.tAFJbnUw071810@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Sun, 15 Nov 2015 19:37:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401724 - head/lang/gcc6-devel 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: Sun, 15 Nov 2015 19:37:50 -0000 Author: gerald Date: Sun Nov 15 19:37:49 2015 New Revision: 401724 URL: https://svnweb.freebsd.org/changeset/ports/401724 Log: Add support for Graphite loop optimizations via a new option GRAPHITE. This is off by default for the time being and pulls in devel/isl as an additional dependency. Modified: head/lang/gcc6-devel/Makefile Modified: head/lang/gcc6-devel/Makefile ============================================================================== --- head/lang/gcc6-devel/Makefile Sun Nov 15 19:09:01 2015 (r401723) +++ head/lang/gcc6-devel/Makefile Sun Nov 15 19:37:49 2015 (r401724) @@ -42,7 +42,7 @@ SSP_UNSAFE= yes PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure -OPTIONS_DEFINE= BOOTSTRAP +OPTIONS_DEFINE= BOOTSTRAP GRAPHITE OPTIONS_DEFINE_i386= JAVA OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT= BOOTSTRAP @@ -50,6 +50,7 @@ OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap +GRAPHITE_DESC= Support for Graphite loop optimizations .if exists(/usr/lib32/libc.so) OPTIONS_DEFINE_powerpc64= MULTILIB @@ -125,6 +126,11 @@ INFO+= gcc${SUFFIX}/libquadmath \ SUB_FILES= pkg-message SUB_LIST+= TARGLIB=${TARGLIB} +.if ${PORT_OPTIONS:MGRAPHITE} +LIB_DEPENDS+= libisl.so:${PORTSDIR}/devel/isl +CONFIGURE_ARGS+=--with-isl=${LOCALBASE} +.endif + .if ${PORT_OPTIONS:MJAVA} ECJ_JAR= ${LOCALBASE}/share/java/ecj-4.5.jar BUILD_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45 \