Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  7 Feb 2013 15:05:14 +0800 (CST)
From:      Po-Chien Lin <linpc@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        armin@frozen-zone.org
Subject:   ports/175919: [PATCH] devel/libfirm: update to 1.21.0
Message-ID:  <20130207070514.830654CD3D@dev.linpc.org>
Resent-Message-ID: <201302070710.r177A2wd033433@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175919
>Category:       ports
>Synopsis:       [PATCH] devel/libfirm: update to 1.21.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 07 07:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Po-Chien Lin
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD dev.linpc.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Sat Jan  5 22:32:49 CST
>Description:
- Update to 1.21.0
- Switch to OptionsNG
- Update pkg-descr and WWW:

>How-To-Repeat:
>Fix:

--- libfirm-1.21.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/libfirm/Makefile ./Makefile
--- /usr/ports/devel/libfirm/Makefile	2013-01-06 07:01:26.440008152 +0800
+++ ./Makefile	2013-02-07 14:35:42.607072173 +0800
@@ -1,12 +1,8 @@
-# New ports collection makefile for: libFIRM
-# Date created:         22 Nov 2008
-# Whom:                 Christoph Mallon <christoph.mallon@gmx.de>
-#
-# $FreeBSD: head/devel/libfirm/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
+# Created by: Christoph Mallon <christoph.mallon@gmx.de>
+# $FreeBSD: ports/devel/libfirm/Makefile,v 1.8 2012/11/17 05:55:54 svnexp Exp $
 
 PORTNAME=	libfirm
-PORTVERSION=	1.20.0
+PORTVERSION=	1.21.0
 CATEGORIES=	devel lang
 MASTER_SITES=	SF
 
@@ -19,17 +15,18 @@
 USE_AUTOTOOLS=	autoconf
 USE_BZIP2=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gnomehack pkgconfig
+USE_GNOME=	gnomehack
+USE_PKGCONFIG=	yes
 USE_LDCONFIG=	yes
 
-OPTIONS=	DEBUG "Build a debug version of libFIRM" OFF
+OPTIONS_DEFINE=	DEBUG
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.ifdef WITH_DEBUG
+.if ${PORT_OPTIONS:MDEBUG}
 CONFIGURE_ARGS+=	--enable-debug
 .else
 CONFIGURE_ARGS+=	--disable-debug
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/devel/libfirm/distinfo ./distinfo
--- /usr/ports/devel/libfirm/distinfo	2013-01-06 07:01:26.440008152 +0800
+++ ./distinfo	2013-02-07 11:37:45.123343975 +0800
@@ -1,2 +1,2 @@
-SHA256 (libfirm-1.20.0.tar.bz2) = 2c3e7841dc447c654b76578f3b58379887bebe0d1011dd94c16e0d1b5f0ea7e9
-SIZE (libfirm-1.20.0.tar.bz2) = 1471229
+SHA256 (libfirm-1.21.0.tar.bz2) = 5c126f69e6a985b54aa9f0a919ab68575f18fc3d851c2d5ff71ffbf414e29812
+SIZE (libfirm-1.21.0.tar.bz2) = 1457097
diff -ruN --exclude=CVS /usr/ports/devel/libfirm/files/patch-configure.ac ./files/patch-configure.ac
--- /usr/ports/devel/libfirm/files/patch-configure.ac	2013-01-06 07:01:26.450684274 +0800
+++ ./files/patch-configure.ac	2013-02-07 11:58:00.888613352 +0800
@@ -1,6 +1,6 @@
 --- configure.ac.orig	2011-08-12 11:46:34.000000000 +0100
 +++ configure.ac	2011-08-12 11:46:48.000000000 +0100
-@@ -90,9 +90,6 @@
+@@ -89,9 +89,6 @@
  dnl ----------------------
  AC_PROG_CC
  
diff -ruN --exclude=CVS /usr/ports/devel/libfirm/pkg-descr ./pkg-descr
--- /usr/ports/devel/libfirm/pkg-descr	2013-01-06 07:01:26.440008152 +0800
+++ ./pkg-descr	2013-02-07 14:41:46.748313606 +0800
@@ -1,24 +1,24 @@
-libFIRM provides a graph-based intermediate representation (IR), which operates
-exclusively in SSA-form, starting at IR construction until assembler code
-emission.  It offers many analyses and optimizations, provides extensive
-debugging support and includes a backend framework.
+The Firm library implements the Firm intermediate representation (IR). libFirm
+contains algorithms for construction of the SSA form directly from the
+attributed syntax tree. A set of analyses and optimisation phases is provided.
+This version includes a complete backend for the IA32 architecture, as well as
+some unfinished backends for SPARC, ARM
 
+* support for object oriented type hierarchies
 * analyses: dominance, loop tree, execution frequency, control dependencies,
   call graph, rapid type, def-use, alias analysis, class hierarchy analysis
-* optimizations: dead code elimination (happens implicitly), constant folding,
-  local common subexpression elimination, arithmetic identities (happens on the
-  fly), unreachable code elimination, global common subexpression elimination,
-  code placement, strength reduction, scalar replacement, if-conversion,
-  load/store optimization, control flow optimizations, reassociation, partial
-  condition evaluation, tail recursion elimination, inlining, procedure cloning
+* Optimisations: constant folding, local common subexpression elimination,
+  global common subexpression elimination, code placement, operator strength
+  reduction, scalar replacement, load/store, control flow optimisations,
+  if-conversion, partial condition evaluation, reassociation, tail recursion
+  elimination, inlining, procedure cloning, dead code elimination, ...
 * enhanced debugging support: extensive checkers, breakpoints on node creation,
   entity creation, graph dumping
 * lowering of intrinsics, double word arithmetics, bitfields
-* generic backend features:
-  * novel SSA based register allocator
-  * several SSA copy coalescing and spilling algorithms
-  * algorithms for instruction and basic block scheduling
-* working ia32 backend, unfinished backends for ARM, MIPS, PPC32
+* backend with SSA based register allocation including several algorithms for
+  spilling and copy coalescing. Instruction and block scheduling, support for
+  ABI handling.
+* working ia32 backend with support for x87 and SSE2 floating point
 * handwritten recursive descent C90/C99 frontend available (lang/cparser)
 
-WWW: http://libfirm.org/
+WWW: http://sourceforge.net/projects/libfirm/
diff -ruN --exclude=CVS /usr/ports/devel/libfirm/pkg-plist ./pkg-plist
--- /usr/ports/devel/libfirm/pkg-plist	2013-01-06 07:01:26.440008152 +0800
+++ ./pkg-plist	2013-02-07 12:07:03.663337271 +0800
@@ -1,10 +1,8 @@
 include/libfirm/adt/array.h
 include/libfirm/adt/bipartite.h
-include/libfirm/adt/cpset.h
 include/libfirm/adt/gaussjordan.h
 include/libfirm/adt/gaussseidel.h
 include/libfirm/adt/hashptr.h
-include/libfirm/adt/hashset.h
 include/libfirm/adt/hungarian.h
 include/libfirm/adt/list.h
 include/libfirm/adt/obst.h
@@ -14,7 +12,6 @@
 include/libfirm/adt/pmap.h
 include/libfirm/adt/pqueue.h
 include/libfirm/adt/pset.h
-include/libfirm/adt/pset_new.h
 include/libfirm/adt/set.h
 include/libfirm/adt/unionfind.h
 include/libfirm/adt/xmalloc.h
@@ -24,7 +21,6 @@
 include/libfirm/callgraph.h
 include/libfirm/cdep.h
 include/libfirm/cgana.h
-include/libfirm/compound_path.h
 include/libfirm/dbginfo.h
 include/libfirm/end.h
 include/libfirm/execfreq.h
@@ -42,7 +38,6 @@
 include/libfirm/irdump.h
 include/libfirm/iredgekinds.h
 include/libfirm/iredges.h
-include/libfirm/irextbb.h
 include/libfirm/irflag.h
 include/libfirm/irgmod.h
 include/libfirm/irgopt.h
@@ -50,7 +45,6 @@
 include/libfirm/irgwalk.h
 include/libfirm/irhooks.h
 include/libfirm/irio.h
-include/libfirm/irpass.h
 include/libfirm/irloop.h
 include/libfirm/irmemory.h
 include/libfirm/irmode.h
@@ -59,6 +53,7 @@
 include/libfirm/iropt.h
 include/libfirm/iroptimize.h
 include/libfirm/irouts.h
+include/libfirm/irpass.h
 include/libfirm/irprintf.h
 include/libfirm/irprog.h
 include/libfirm/irtypeinfo.h
@@ -66,6 +61,7 @@
 include/libfirm/lowering.h
 include/libfirm/nodeops.h
 include/libfirm/opcodes.h
+include/libfirm/statev.h
 include/libfirm/timing.h
 include/libfirm/trouts.h
 include/libfirm/tv.h
--- libfirm-1.21.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130207070514.830654CD3D>