pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libfirm: Use newly added install target
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sun Dec 6 03:48:30 2015 +0100
Changeset: 2bb53547c91a49542a0499464f10d026851631ed
Added Files:
libfirm-git/DESCR
libfirm-git/Makefile
libfirm-git/PLIST
libfirm-git/distinfo
libfirm-git/patches/patch-ir_adt_bitfiddle.h
Log Message:
libfirm: Use newly added install target
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2bb53547c91a49542a0499464f10d026851631ed
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libfirm-git/DESCR | 10 +++++
libfirm-git/Makefile | 31 +++++++++++++
libfirm-git/PLIST | 66 ++++++++++++++++++++++++++++
libfirm-git/distinfo | 4 ++
libfirm-git/patches/patch-ir_adt_bitfiddle.h | 13 ++++++
5 files changed, 124 insertions(+)
diffs:
diff --git a/libfirm-git/DESCR b/libfirm-git/DESCR
new file mode 100644
index 0000000..e6b39cc
--- /dev/null
+++ b/libfirm-git/DESCR
@@ -0,0 +1,10 @@
+Firm is a C-library that provides a graph-based intermediate representation,
+optimizations, and assembly code generation suitable for use in compilers.
+
+Features
+ - Completely graph-based, source- and target-independent intermediate
+ representation in SSA form
+ - Accompanying GCC-compatible C frontend with full C99 support
+ - Extensive set of optimizations
+ - High-quality register allocation
+ - Mature code generation support for x86 (32-bit) and SPARC
diff --git a/libfirm-git/Makefile b/libfirm-git/Makefile
new file mode 100644
index 0000000..2b3cc90
--- /dev/null
+++ b/libfirm-git/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD$
+
+PKGNAME= libfirm-0
+CATEGORIES= devel
+
+GIT_REPOSITORIES= libfirm
+GIT_REPO.libfirm= https://github.com/MatzeB/libfirm.git
+
+WRKSRC= ${WRKDIR}/libfirm
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://pp.ipd.kit.edu/firm
+COMMENT= C-Library suitable for optimizing compilers
+LICENSE= gnu-lgpl-v2.1
+
+USE_LANGUAGES= c c++
+#USE_CMAKE= yes
+
+USE_TOOLS+= perl
+USE_TOOLS+= gmake
+
+REPLACE_PERL+= ir/be/scripts/generate_emitter.pl
+REPLACE_PERL+= ir/be/scripts/generate_new_opcodes.pl
+REPLACE_PERL+= ir/be/scripts/generate_regalloc_if.pl
+
+REPLACE_PYTHON+= scripts/gen_ir.py
+REPLACE_PYTHON+= support/statev_sql.py
+
+.include "../../wip/mk/git-package.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libfirm-git/PLIST b/libfirm-git/PLIST
new file mode 100644
index 0000000..8a95595
--- /dev/null
+++ b/libfirm-git/PLIST
@@ -0,0 +1,66 @@
+@comment $NetBSD$
+include/libfirm/adt/array.h
+include/libfirm/adt/bipartite.h
+include/libfirm/adt/funcattr.h
+include/libfirm/adt/gaussjordan.h
+include/libfirm/adt/gaussseidel.h
+include/libfirm/adt/hashptr.h
+include/libfirm/adt/hungarian.h
+include/libfirm/adt/list.h
+include/libfirm/adt/obst.h
+include/libfirm/adt/obstack.h
+include/libfirm/adt/pdeq.h
+include/libfirm/adt/plist.h
+include/libfirm/adt/pmap.h
+include/libfirm/adt/pqueue.h
+include/libfirm/adt/pset.h
+include/libfirm/adt/set.h
+include/libfirm/adt/unionfind.h
+include/libfirm/adt/xmalloc.h
+include/libfirm/analyze_irg_args.h
+include/libfirm/be.h
+include/libfirm/begin.h
+include/libfirm/callgraph.h
+include/libfirm/cdep.h
+include/libfirm/cgana.h
+include/libfirm/dbginfo.h
+include/libfirm/end.h
+include/libfirm/execfreq.h
+include/libfirm/firm.h
+include/libfirm/firm_common.h
+include/libfirm/firm_types.h
+include/libfirm/heights.h
+include/libfirm/ident.h
+include/libfirm/irarch.h
+include/libfirm/ircgopt.h
+include/libfirm/ircons.h
+include/libfirm/irconsconfirm.h
+include/libfirm/irdom.h
+include/libfirm/irdump.h
+include/libfirm/iredgekinds.h
+include/libfirm/iredges.h
+include/libfirm/irflag.h
+include/libfirm/irgmod.h
+include/libfirm/irgopt.h
+include/libfirm/irgraph.h
+include/libfirm/irgwalk.h
+include/libfirm/irio.h
+include/libfirm/irloop.h
+include/libfirm/irmemory.h
+include/libfirm/irmode.h
+include/libfirm/irnode.h
+include/libfirm/irop.h
+include/libfirm/iropt.h
+include/libfirm/iroptimize.h
+include/libfirm/irouts.h
+include/libfirm/irprintf.h
+include/libfirm/irprog.h
+include/libfirm/irverify.h
+include/libfirm/lowering.h
+include/libfirm/nodes.h
+include/libfirm/statev.h
+include/libfirm/timing.h
+include/libfirm/tv.h
+include/libfirm/typerep.h
+include/libfirm/vrp.h
+lib/libfirm.a
diff --git a/libfirm-git/distinfo b/libfirm-git/distinfo
new file mode 100644
index 0000000..ed79699
--- /dev/null
+++ b/libfirm-git/distinfo
@@ -0,0 +1,4 @@
+$NetBSD$
+
+SHA1 (patch-CMakeLists.txt) = 35e76f62a5cb507aed4b6ab36c195d46844402c6
+SHA1 (patch-ir_adt_bitfiddle.h) = bf8de1c27790bd3d35f7162ccba5d109be57fd1e
diff --git a/libfirm-git/patches/patch-ir_adt_bitfiddle.h b/libfirm-git/patches/patch-ir_adt_bitfiddle.h
new file mode 100644
index 0000000..353f985
--- /dev/null
+++ b/libfirm-git/patches/patch-ir_adt_bitfiddle.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- ir/adt/bitfiddle.h.orig 2015-12-06 00:56:25.000000000 +0000
++++ ir/adt/bitfiddle.h
+@@ -23,7 +23,7 @@
+ * @param x A 32-bit word.
+ * @return The number of bits set in x.
+ */
+-static inline uint32_t popcount(uint32_t x)
++static inline uint32_t my_popcount(uint32_t x)
+ {
+ #if defined(__GNUC__) && __GNUC__ >= 4
+ return __builtin_popcount(x);
Home |
Main Index |
Thread Index |
Old Index