Accepting request 500673 from home:pluskalm:branches:Base:System
- Enable jit on aarch64 - Enable profiled building OBS-URL: https://build.opensuse.org/request/show/500673 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcre?expand=0&rev=77
This commit is contained in:
parent
6f650fb306
commit
00416871d4
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 2 12:42:01 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Enable jit on aarch64
|
||||||
|
- Enable profiled building
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 9 08:55:30 UTC 2017 - astieger@suse.com
|
Thu Feb 9 08:55:30 UTC 2017 - astieger@suse.com
|
||||||
|
|
||||||
|
16
pcre.spec
16
pcre.spec
@ -37,7 +37,6 @@ BuildRequires: automake
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The PCRE library is a set of functions that implement regular
|
The PCRE library is a set of functions that implement regular
|
||||||
@ -146,9 +145,8 @@ as Perl 5.
|
|||||||
%build
|
%build
|
||||||
# Available JIT archs see sljit/sljitConfig.h
|
# Available JIT archs see sljit/sljitConfig.h
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
|
||||||
%configure \
|
%configure \
|
||||||
%ifarch %{ix86} x86_64 %{arm} ppc ppc64 ppc64le mips sparc
|
%ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64 ppc64le mips sparc
|
||||||
--enable-jit \
|
--enable-jit \
|
||||||
%endif
|
%endif
|
||||||
--enable-static \
|
--enable-static \
|
||||||
@ -158,7 +156,14 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
|
|||||||
--enable-pcre16 \
|
--enable-pcre16 \
|
||||||
--enable-utf8 \
|
--enable-utf8 \
|
||||||
--enable-unicode-properties
|
--enable-unicode-properties
|
||||||
make %{?_smp_mflags} V=1
|
%if %{do_profiling}
|
||||||
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
|
||||||
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check
|
||||||
|
make clean
|
||||||
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1
|
||||||
|
%else
|
||||||
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -168,8 +173,7 @@ mv %{buildroot}%{_datadir}/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre-doc
|
|||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export LANG=POSIX
|
make %{?_smp_mflags} check
|
||||||
make test -j1
|
|
||||||
|
|
||||||
%post -n libpcre1 -p /sbin/ldconfig
|
%post -n libpcre1 -p /sbin/ldconfig
|
||||||
%postun -n libpcre1 -p /sbin/ldconfig
|
%postun -n libpcre1 -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user