Accepting request 725076 from home:pluskalm:branches:graphics
- Enable tests on architectures with enough memory - boo#1146648 * disable imffuzztest as it takes to much resources OBS-URL: https://build.opensuse.org/request/show/725076 OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=25
This commit is contained in:
parent
3c840ae9b8
commit
75fd08a7ad
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 21 11:48:22 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Enable tests on architectures with enough memory - boo#1146648
|
||||||
|
* disable imffuzztest as it takes to much resources
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 15 14:06:20 UTC 2019 - pgajdos@suse.com
|
Mon Jul 15 14:06:20 UTC 2019 - pgajdos@suse.com
|
||||||
|
|
||||||
|
12
openexr.spec
12
openexr.spec
@ -21,16 +21,13 @@
|
|||||||
%define debug_build 0
|
%define debug_build 0
|
||||||
%define sonum 24
|
%define sonum 24
|
||||||
%global so_suffix -2_3-24
|
%global so_suffix -2_3-24
|
||||||
# tests should run at least during local build
|
|
||||||
# but do expect a HUGE number of memory, so beware
|
|
||||||
%bcond_with tests
|
|
||||||
Name: openexr
|
Name: openexr
|
||||||
Version: 2.3.0
|
Version: 2.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Utilities for working with HDR images in OpenEXR format
|
Summary: Utilities for working with HDR images in OpenEXR format
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Graphics/Other
|
Group: Productivity/Graphics/Other
|
||||||
Url: http://www.openexr.com/
|
URL: http://www.openexr.com/
|
||||||
Source0: https://github.com/openexr/openexr/releases/download/v%{version}/openexr-%{version}.tar.gz
|
Source0: https://github.com/openexr/openexr/releases/download/v%{version}/openexr-%{version}.tar.gz
|
||||||
Source1: https://github.com/openexr/openexr/releases/download/v%{version}/openexr-%{version}.tar.gz.sig
|
Source1: https://github.com/openexr/openexr/releases/download/v%{version}/openexr-%{version}.tar.gz.sig
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
@ -49,6 +46,8 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(IlmBase) >= 2.3.0
|
BuildRequires: pkgconfig(IlmBase) >= 2.3.0
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
Obsoletes: OpenEXR <= 1.6.1
|
||||||
|
Provides: OpenEXR = %{version}
|
||||||
%if %{asan_build} || %{debug_build}
|
%if %{asan_build} || %{debug_build}
|
||||||
BuildRequires: ilmbase-debugsource
|
BuildRequires: ilmbase-debugsource
|
||||||
BuildRequires: libHalf%{sonum}-debuginfo
|
BuildRequires: libHalf%{sonum}-debuginfo
|
||||||
@ -57,8 +56,6 @@ BuildRequires: libIexMath%{so_suffix}-debuginfo
|
|||||||
BuildRequires: libIlmThread%{so_suffix}-debuginfo
|
BuildRequires: libIlmThread%{so_suffix}-debuginfo
|
||||||
BuildRequires: libImath%{so_suffix}-debuginfo
|
BuildRequires: libImath%{so_suffix}-debuginfo
|
||||||
%endif
|
%endif
|
||||||
Obsoletes: OpenEXR <= 1.6.1
|
|
||||||
Provides: OpenEXR = %{version}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenEXR is a high dynamic-range (HDR) image file format developed by
|
OpenEXR is a high dynamic-range (HDR) image file format developed by
|
||||||
@ -154,7 +151,6 @@ export CXXFLAGS="%{optflags} -O0"
|
|||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-large-stack \
|
--enable-large-stack \
|
||||||
--enable-imfexamples \
|
--enable-imfexamples \
|
||||||
--enable-imffuzztest \
|
|
||||||
--enable-imfhugetest
|
--enable-imfhugetest
|
||||||
%if %{asan_build}
|
%if %{asan_build}
|
||||||
vmemlimit=$(ulimit -v)
|
vmemlimit=$(ulimit -v)
|
||||||
@ -175,7 +171,7 @@ make %{?_smp_mflags}
|
|||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with tests}
|
%if %__isa_bits == 64
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user