From 576508e592a2fa524ddc2b9569bc7fcf003e29f80fbaa19cd539fa8a384a99ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 2 Oct 2018 08:10:27 +0000 Subject: [PATCH 1/3] Accepting request 639478 from home:seanlew:branches:devel:tools:compiler Updated bison to 3.1 OBS-URL: https://build.opensuse.org/request/show/639478 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=52 --- bison-3.0.5.tar.xz | 3 --- bison-3.0.5.tar.xz.sig | 6 ------ bison-3.1.tar.xz | 3 +++ bison-3.1.tar.xz.sig | 6 ++++++ bison.changes | 13 +++++++++++++ bison.spec | 8 ++++---- 6 files changed, 26 insertions(+), 13 deletions(-) delete mode 100644 bison-3.0.5.tar.xz delete mode 100644 bison-3.0.5.tar.xz.sig create mode 100644 bison-3.1.tar.xz create mode 100644 bison-3.1.tar.xz.sig diff --git a/bison-3.0.5.tar.xz b/bison-3.0.5.tar.xz deleted file mode 100644 index 47e3738..0000000 --- a/bison-3.0.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:075cef2e814642e30e10e8155e93022e4a91ca38a65aa1d5467d4e969f97f338 -size 1954868 diff --git a/bison-3.0.5.tar.xz.sig b/bison-3.0.5.tar.xz.sig deleted file mode 100644 index 611a84b..0000000 --- a/bison-3.0.5.tar.xz.sig +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iEYEABECAAYFAlsLkJUACgkQDdyqMnjVJk7xLQCfRdoDCePYtQoUB2A45c9N/EQU -tYoAnA2HjG7NiF2qyLrZZbKO6Li8mplU -=LR2v ------END PGP SIGNATURE----- diff --git a/bison-3.1.tar.xz b/bison-3.1.tar.xz new file mode 100644 index 0000000..ebc0b45 --- /dev/null +++ b/bison-3.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c2464ad6cb7b513b2c350a092d919327e1f63d12ff024836acbb504475da5c6 +size 1990536 diff --git a/bison-3.1.tar.xz.sig b/bison-3.1.tar.xz.sig new file mode 100644 index 0000000..3502413 --- /dev/null +++ b/bison-3.1.tar.xz.sig @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iEYEABECAAYFAluEXdkACgkQDdyqMnjVJk7SQQCgpH7ZT0SvX778gWFPvI0vOULP +rrUAn0LooQpw19fwPkjaAkkJbN2ksDp1 +=YHbt +-----END PGP SIGNATURE----- diff --git a/bison.changes b/bison.changes index ecb4ebf..8e938f7 100644 --- a/bison.changes +++ b/bison.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Oct 2 05:28:01 UTC 2018 - sean@suspend.net + +- bison 3.1: + * Compiling Bison now requires a C99 compiler + * Typed midrule actions + * Reports include the type of symbols + * Diagnostics about useless rules now implemented + * C++: Generated parsers can be compiled with -fno-exceptions (lairi.cc) + * GLR: Predicates support broken by #line directives + * Printer and destructor with broken #line directives + * Portability on ICC + ------------------------------------------------------------------- Fri Jun 15 19:11:25 UTC 2018 - astieger@suse.com diff --git a/bison.spec b/bison.spec index 832a1b8..1bc29b9 100644 --- a/bison.spec +++ b/bison.spec @@ -12,19 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: bison -Version: 3.0.5 +Version: 3.1 Release: 0 Summary: The GNU Parser Generator License: GPL-3.0-or-later Group: Development/Languages/C and C++ URL: http://www.gnu.org/software/bison/bison.html -Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz -Source1: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig +Source0: ftp://ftp.gnu.org/gnu/bison/bison-3.1.tar.xz +Source1: ftp://ftp.gnu.org/gnu/bison/bison-3.1.tar.xz.sig Source2: %{name}.keyring Source3: baselibs.conf BuildRequires: autoconf From 24611df7127cd91e37e26ae66a9a4504408f67f856292f58acbb1dc631de0ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 2 Oct 2018 08:11:25 +0000 Subject: [PATCH 2/3] - OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=53 --- bison.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bison.spec b/bison.spec index 1bc29b9..0122099 100644 --- a/bison.spec +++ b/bison.spec @@ -23,8 +23,8 @@ Summary: The GNU Parser Generator License: GPL-3.0-or-later Group: Development/Languages/C and C++ URL: http://www.gnu.org/software/bison/bison.html -Source0: ftp://ftp.gnu.org/gnu/bison/bison-3.1.tar.xz -Source1: ftp://ftp.gnu.org/gnu/bison/bison-3.1.tar.xz.sig +Source0: ftp://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz +Source1: ftp://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz.sig Source2: %{name}.keyring Source3: baselibs.conf BuildRequires: autoconf From 4ab35bc34737e161bed9a534325009a7ad9b98e2a8eb431dc4622c0d8685e4ec Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 2 Oct 2018 10:27:54 +0000 Subject: [PATCH 3/3] - Use profile guided optimization (PGO) when building OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=54 --- bison.changes | 5 +++++ bison.spec | 21 +++++++++++++++------ 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/bison.changes b/bison.changes index 8e938f7..a5c0ef7 100644 --- a/bison.changes +++ b/bison.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 2 09:27:28 UTC 2018 - Martin Pluskal + +- Use profile guided optimization (PGO) when building + ------------------------------------------------------------------- Tue Oct 2 05:28:01 UTC 2018 - sean@suspend.net diff --git a/bison.spec b/bison.spec index 0122099..de7e3e0 100644 --- a/bison.spec +++ b/bison.spec @@ -45,12 +45,21 @@ Bison is a parser generator similar to yacc(1). %setup -q %build -%configure --disable-silent-rules \ - --disable-rpath \ - --docdir=%{_docdir}/%{name} \ - gl_cv_func_printf_directive_n=yes \ - gl_cv_func_printf_infinite_long_double=yes -make %{?_smp_mflags} +%configure \ + --disable-silent-rules \ + --disable-rpath \ + --enable-nls \ + --docdir=%{_docdir}/%{name} \ + gl_cv_func_printf_directive_n=yes \ + gl_cv_func_printf_infinite_long_double=yes +%if 0%{?do_profiling} + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1 + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check + make %{?_smp_mflags} clean + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1 +%else + make %{?_smp_mflags} CFLAGS="%{optflags}" +%endif %check make %{?_smp_mflags} check