Accepting request 874446 from home:Andreas_Schwab:Factory
- Copy pcre_jit_test only if jit is enabled OBS-URL: https://build.opensuse.org/request/show/874446 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcre?expand=0&rev=100
This commit is contained in:
committed by
Git OBS Bridge
parent
dcbbb704c4
commit
ac4ecc9d12
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 22 20:46:12 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Copy pcre_jit_test only if jit is enabled
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 15 15:20:24 UTC 2021 - Radoslav Kolev <radoslav.kolev@suse.com>
|
||||
|
||||
|
@@ -158,9 +158,10 @@ as Perl 5.
|
||||
%build
|
||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||
# Available JIT archs see sljit/sljitConfig.h
|
||||
%global jit_archs %{ix86} x86_64 %{arm} aarch64 ppc ppc64 ppc64le mips sparc
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
%ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64 ppc64le mips sparc
|
||||
%ifarch %{jit_archs}
|
||||
--enable-jit \
|
||||
%endif
|
||||
--enable-static \
|
||||
@@ -194,7 +195,9 @@ mkdir -p %{testsuitedir}
|
||||
cp Makefile %{testsuitedir}
|
||||
cp -r testdata %{testsuitedir}
|
||||
cp .libs/pcrecpp_unittest %{testsuitedir}
|
||||
%ifarch %{jit_archs}
|
||||
cp .libs/pcre_jit_test %{testsuitedir}
|
||||
%endif
|
||||
cp .libs/pcre_scanner_unittest %{testsuitedir}
|
||||
cp .libs/pcre_stringpiece_unittest %{testsuitedir}
|
||||
cp .libs/pcregrep %{testsuitedir}
|
||||
|
Reference in New Issue
Block a user