forked from pool/bison
Accepting request 639565 from devel:tools:compiler
- Use profile guided optimization (PGO) when building - 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 OBS-URL: https://build.opensuse.org/request/show/639565 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bison?expand=0&rev=38
This commit is contained in:
commit
7fc6b73ffa
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:075cef2e814642e30e10e8155e93022e4a91ca38a65aa1d5467d4e969f97f338
|
||||
size 1954868
|
@ -1,6 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iEYEABECAAYFAlsLkJUACgkQDdyqMnjVJk7xLQCfRdoDCePYtQoUB2A45c9N/EQU
|
||||
tYoAnA2HjG7NiF2qyLrZZbKO6Li8mplU
|
||||
=LR2v
|
||||
-----END PGP SIGNATURE-----
|
3
bison-3.1.tar.xz
Normal file
3
bison-3.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7c2464ad6cb7b513b2c350a092d919327e1f63d12ff024836acbb504475da5c6
|
||||
size 1990536
|
6
bison-3.1.tar.xz.sig
Normal file
6
bison-3.1.tar.xz.sig
Normal file
@ -0,0 +1,6 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iEYEABECAAYFAluEXdkACgkQDdyqMnjVJk7SQQCgpH7ZT0SvX778gWFPvI0vOULP
|
||||
rrUAn0LooQpw19fwPkjaAkkJbN2ksDp1
|
||||
=YHbt
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 2 09:27:28 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Use profile guided optimization (PGO) when building
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
21
bison.spec
21
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-%{version}.tar.xz
|
||||
Source1: ftp://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz.sig
|
||||
Source2: %{name}.keyring
|
||||
Source3: baselibs.conf
|
||||
BuildRequires: autoconf
|
||||
@ -45,12 +45,21 @@ Bison is a parser generator similar to yacc(1).
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-silent-rules \
|
||||
%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
|
||||
make %{?_smp_mflags}
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user