Accepting request 723338 from devel:tools:compiler
- Update to version 1.2.1: * Lots of changes, see provided CHANGELOG - Drop no longer needed re2c-nogenerationdatedefault.patch - Enable profile guided optimization during build OBS-URL: https://build.opensuse.org/request/show/723338 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=36
This commit is contained in:
commit
5681b6df58
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:856597337ea00b24ce91f549f79e6eece1b92ba5f8b63292cad66c14ac7451cf
|
|
||||||
size 5907416
|
|
3
re2c-1.2.1.tar.xz
Normal file
3
re2c-1.2.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1a4cd706b5b966aeffd78e3cf8b24239470ded30551e813610f9cd1a4e01b817
|
||||||
|
size 2059304
|
@ -1,11 +0,0 @@
|
|||||||
--- re2c-1.1.1.orig/src/conf/opt.h 2018-08-31 00:06:42.000000000 +0200
|
|
||||||
+++ re2c-1.1.1/src/conf/opt.h 2019-03-11 01:05:35.827581766 +0100
|
|
||||||
@@ -44,7 +44,7 @@
|
|
||||||
CONSTOPT1 (target_t, target, TARGET_CODE) \
|
|
||||||
CONSTOPT (std::string, output_file, "") \
|
|
||||||
CONSTOPT (std::string, header_file, "") \
|
|
||||||
- CONSTOPT (bool, bNoGenerationDate, false) \
|
|
||||||
+ CONSTOPT (bool, bNoGenerationDate, true) \
|
|
||||||
CONSTOPT (bool, version, true) \
|
|
||||||
CONSTOPT (bool, cFlag, false) \
|
|
||||||
CONSTOPT (bool, fFlag, false) \
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 14 15:37:39 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Update to version 1.2.1:
|
||||||
|
* Lots of changes, see provided CHANGELOG
|
||||||
|
- Drop no longer needed re2c-nogenerationdatedefault.patch
|
||||||
|
- Enable profile guided optimization during build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 11 00:09:53 UTC 2019 - Chris Coutinho <chrisbcoutinho@gmail.com>
|
Mon Mar 11 00:09:53 UTC 2019 - Chris Coutinho <chrisbcoutinho@gmail.com>
|
||||||
|
|
||||||
|
23
re2c.spec
23
re2c.spec
@ -17,14 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: re2c
|
Name: re2c
|
||||||
Version: 1.1.1
|
Version: 1.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tool for generating C-based recognizers from regular expressions
|
Summary: Tool for generating C-based recognizers from regular expressions
|
||||||
License: SUSE-Public-Domain
|
License: SUSE-Public-Domain
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: http://re2c.org/
|
URL: http://re2c.org/
|
||||||
Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||||
Patch0: re2c-nogenerationdatedefault.patch
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
|
||||||
@ -36,11 +35,19 @@ applications. The generated scanners approach hand-crafted ones in
|
|||||||
terms of size and speed.
|
terms of size and speed.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags} V=1
|
%if 0%{?do_profiling}
|
||||||
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
|
||||||
|
# do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408)
|
||||||
|
make 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
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -49,11 +56,13 @@ make %{?_smp_mflags} V=1
|
|||||||
make check %{?_smp_mflags}
|
make check %{?_smp_mflags}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license README
|
%license README.md
|
||||||
%doc doc/*.ps doc/sample.bib
|
|
||||||
%doc CHANGELOG
|
%doc CHANGELOG
|
||||||
%doc examples/
|
%doc examples/
|
||||||
%{_bindir}/re2c
|
%{_bindir}/re2c
|
||||||
%{_mandir}/man1/re2c.1%{?ext_man}
|
%{_mandir}/man1/re2c.1%{?ext_man}
|
||||||
|
%dir %{_datadir}/re2c
|
||||||
|
%dir %{_datadir}/re2c/stdlib
|
||||||
|
%{_datadir}/re2c/stdlib/unicode_categories.re
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user