Chase latest libFIRM+cparser code, call it 1.22.1pl2.

Notable user change: a 32-bit RISC-V backend.
Also bugfixes for the amd64 backend.
Shared library lost a function => major bump
This commit is contained in:
bcallah 2018-09-24 02:12:35 +00:00
parent 18cc6e8a98
commit 216c5a5651
6 changed files with 15 additions and 15 deletions

@ -1,19 +1,19 @@
# $OpenBSD: Makefile,v 1.2 2018/06/15 01:04:54 bcallah Exp $
# $OpenBSD: Makefile,v 1.3 2018/09/24 02:12:35 bcallah Exp $
# Has backends for amd64, arm (32-bit), i386, mips (32-bit), sparc (32-bit)
ONLY_FOR_ARCHS = amd64 arm i386
# Must keep version number in sync with lang/cparser
COMMENT = graph based intermediate representation and backend
DISTNAME = ${GH_PROJECT}-1.22.1pl1
DISTNAME = ${GH_PROJECT}-1.22.1pl2
CATEGORIES = devel
SHARED_LIBS += firm 1.0 # 1.0
SHARED_LIBS += firm 2.0 # 2.0
# Upstream doesn't make real tarballs. Expects you to use tags/commits.
GH_ACCOUNT = libfirm
GH_PROJECT = libfirm
GH_COMMIT = eb9c7f9a2a6f28ce0ae94f449ceb9f30a25d939b
GH_COMMIT = b5269b56fc71ae323d344af3f6c28cf0a6a8ba4b
HOMEPAGE = https://pp.ipd.kit.edu/firm/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>

@ -1,2 +1,2 @@
SHA256 (libfirm-1.22.1pl1-eb9c7f9a.tar.gz) = 9Y/CcZGe/z/wJU4P+NuUCqe8l+rwXgbEUAf/F3SkA0w=
SIZE (libfirm-1.22.1pl1-eb9c7f9a.tar.gz) = 1614014
SHA256 (libfirm-1.22.1pl2-b5269b56.tar.gz) = N1NNQdOx1vPv5b4H0H8qPAiY2fiL0bXpMRieccEV/H8=
SIZE (libfirm-1.22.1pl2-b5269b56.tar.gz) = 1628944

@ -1,4 +1,4 @@
$OpenBSD: patch-ir_be_amd64_amd64_bearch_c,v 1.1 2018/06/15 01:04:54 bcallah Exp $
$OpenBSD: patch-ir_be_amd64_amd64_bearch_c,v 1.2 2018/09/24 02:12:35 bcallah Exp $
We hereby declare the amd64 backend no longer experimental.
It compiles the vast majority of OpenBSD C code just fine.
@ -6,7 +6,7 @@ It compiles the vast majority of OpenBSD C code just fine.
Index: ir/be/amd64/amd64_bearch.c
--- ir/be/amd64/amd64_bearch.c.orig
+++ ir/be/amd64/amd64_bearch.c
@@ -774,7 +774,6 @@ static void amd64_init(void)
@@ -763,7 +763,6 @@ static void amd64_init(void)
amd64_cconv_init();
x86_set_be_asm_constraint_support(&amd64_asm_constraints);

@ -1,4 +1,4 @@
$OpenBSD: patch-ir_be_platform_c,v 1.1 2018/06/15 01:04:54 bcallah Exp $
$OpenBSD: patch-ir_be_platform_c,v 1.2 2018/09/24 02:12:35 bcallah Exp $
cparser/libFirm doesn't understand __only_inline.
This lets us work around it.
@ -6,7 +6,7 @@ This lets us work around it.
Index: ir/be/platform.c
--- ir/be/platform.c.orig
+++ ir/be/platform.c
@@ -171,6 +171,7 @@ void ir_platform_set(ir_machine_triple_t const *machin
@@ -179,6 +179,7 @@ void ir_platform_set(ir_machine_triple_t const *machin
goto BSD;
} else if (strstart(os, "openbsd")) {
ppdef1("__OpenBSD__");

@ -1,17 +1,17 @@
# $OpenBSD: Makefile,v 1.2 2018/06/15 01:04:54 bcallah Exp $
# $OpenBSD: Makefile,v 1.3 2018/09/24 02:12:35 bcallah Exp $
# Depends on devel/libfirm
ONLY_FOR_ARCHS = amd64 arm i386
# Must keep version number in sync with devel/libfirm
COMMENT = C99 parser and frontend for libFirm
DISTNAME = ${GH_PROJECT}-1.22.1pl1
DISTNAME = ${GH_PROJECT}-1.22.1pl2
CATEGORIES = lang
# Upstream expects you to use tags.
GH_ACCOUNT = libfirm
GH_PROJECT = cparser
GH_COMMIT = 62acdfe4b7897b2107246376667e09fc30f84a76
GH_COMMIT = 3e00440a231132c09af2927300bfdf57111e5564
HOMEPAGE = https://pp.ipd.kit.edu/firm/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>

@ -1,2 +1,2 @@
SHA256 (cparser-1.22.1pl1-62acdfe4.tar.gz) = ylh0xUKn74IPnDeYgL+v1qXGqJlA6n2ZleBBNTmbBVQ=
SIZE (cparser-1.22.1pl1-62acdfe4.tar.gz) = 291674
SHA256 (cparser-1.22.1pl2-3e00440a.tar.gz) = ApHNaRr/0XKajO7QEeLVCetxsEBN60pRhkUjk8Qthe0=
SIZE (cparser-1.22.1pl2-3e00440a.tar.gz) = 292317