Accepting request 1155727 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1155727 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orc?expand=0&rev=46
This commit is contained in:
commit
23e2df63b5
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:85638c0d447d989cd0d7e03406adbfbc380e67db2a622a4727a0ce3d440b2974
|
|
||||||
size 228520
|
|
3
orc-0.4.38.tar.xz
Normal file
3
orc-0.4.38.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a55a98d4772567aa3faed8fb84d540c3db77eaba16d3e2e10b044fbc9228668d
|
||||||
|
size 227152
|
22
orc.changes
22
orc.changes
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 6 13:10:24 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- Backport patch from SLE
|
||||||
|
- Add relax-tests.patch to increase test timeouts to 2 minutes,
|
||||||
|
also limit the max value for memcpy_speed.c test bsc#1130085
|
||||||
|
- Enable tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 5 07:06:08 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- version update to 0.4.38
|
||||||
|
0.4.38
|
||||||
|
======
|
||||||
|
- x86: account for XSAVE when checking for AVX support, fixing
|
||||||
|
usage on hardened linux kernels where AVX support has been
|
||||||
|
disabled (L. E. Segovia)
|
||||||
|
- neon: Use the real intrinsics for divf and sqrtf
|
||||||
|
(L. E. Segovia)
|
||||||
|
- orc.m4 for autotools is no longer shipped. If anyone still uses
|
||||||
|
it they can copy it into their source tree (Tim-Philipp Müller)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 15 09:26:15 UTC 2024 - pgajdos@suse.com
|
Thu Feb 15 09:26:15 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
16
orc.spec
16
orc.spec
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: orc
|
Name: orc
|
||||||
Version: 0.4.37
|
Version: 0.4.38
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Oil Runtime Compiler
|
Summary: The Oil Runtime Compiler
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -26,6 +26,7 @@ Group: Productivity/Multimedia/Other
|
|||||||
URL: https://gitlab.freedesktop.org/gstreamer/orc
|
URL: https://gitlab.freedesktop.org/gstreamer/orc
|
||||||
Source: https://gstreamer.freedesktop.org/src/orc/%{name}-%{version}.tar.xz
|
Source: https://gstreamer.freedesktop.org/src/orc/%{name}-%{version}.tar.xz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
|
Patch0: relax-tests.patch
|
||||||
BuildRequires: gtk-doc >= 1.12
|
BuildRequires: gtk-doc >= 1.12
|
||||||
BuildRequires: meson >= 0.47.0
|
BuildRequires: meson >= 0.47.0
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -66,14 +67,22 @@ arithmetic operations.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%meson \
|
%meson \
|
||||||
-Dorc-test=disabled \
|
-Dorc-test=enabled \
|
||||||
-Dexamples=disabled \
|
-Dexamples=disabled \
|
||||||
-Dtests=disabled \
|
-Dtests=enabled \
|
||||||
%{nil}
|
%{nil}
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
rm %{buildroot}%{_bindir}/orc-bugreport
|
||||||
|
rm %{buildroot}%{_libdir}/pkgconfig/orc-test-0.4.pc
|
||||||
|
|
||||||
|
%check
|
||||||
|
# Disable testsuite for almost all arches, it's only stable on x86_64
|
||||||
|
%ifnarch aarch64 %{arm} %{ix86} ppc64le
|
||||||
|
%meson_test
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n liborc-0_4-0 -p /sbin/ldconfig
|
%post -n liborc-0_4-0 -p /sbin/ldconfig
|
||||||
%postun -n liborc-0_4-0 -p /sbin/ldconfig
|
%postun -n liborc-0_4-0 -p /sbin/ldconfig
|
||||||
@ -83,7 +92,6 @@ arithmetic operations.
|
|||||||
%{_includedir}/orc-0.4/
|
%{_includedir}/orc-0.4/
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/orc-0.4.pc
|
%{_libdir}/pkgconfig/orc-0.4.pc
|
||||||
%{_datadir}/aclocal/orc.m4
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%dir %{_datadir}/gtk-doc
|
%dir %{_datadir}/gtk-doc
|
||||||
|
35
relax-tests.patch
Normal file
35
relax-tests.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
Index: orc-orc-0.4.28/testsuite/memcpy_speed.c
|
||||||
|
===================================================================
|
||||||
|
--- orc-orc-0.4.28.orig/testsuite/memcpy_speed.c
|
||||||
|
+++ orc-orc-0.4.28/testsuite/memcpy_speed.c
|
||||||
|
@@ -102,6 +102,10 @@ main(int argc, char *argv[])
|
||||||
|
max = 140;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ /* There is a pathological slow down for max > 150 or so
|
||||||
|
+ so set a lower value. */
|
||||||
|
+ max = 140;
|
||||||
|
+
|
||||||
|
for(i=0;i<max;i+=2){
|
||||||
|
double x = i*0.1 + 6.0;
|
||||||
|
int size = (int) pow(2.0, x);
|
||||||
|
Index: orc-orc-0.4.28/testsuite/meson.build
|
||||||
|
===================================================================
|
||||||
|
--- orc-orc-0.4.28.orig/testsuite/meson.build
|
||||||
|
+++ orc-orc-0.4.28/testsuite/meson.build
|
||||||
|
@@ -31,6 +31,7 @@ foreach test : tests
|
||||||
|
test(
|
||||||
|
test,
|
||||||
|
t,
|
||||||
|
+ timeout: 120,
|
||||||
|
env: {
|
||||||
|
'testfile': meson.current_source_dir() + '/test.orc',
|
||||||
|
'ORC_TARGET': i,
|
||||||
|
@@ -43,6 +44,7 @@ foreach test : tests
|
||||||
|
test(
|
||||||
|
test,
|
||||||
|
t,
|
||||||
|
+ timeout: 120,
|
||||||
|
env: {
|
||||||
|
'testfile': meson.current_source_dir() + '/test.orc',
|
||||||
|
},
|
Loading…
Reference in New Issue
Block a user