Accepting request 713409 from science

- Since build machine size issues do not seem to go way, make
  the %check stage optional: enable with '--with check'. (forwarded request 713408 from eeich)

OBS-URL: https://build.opensuse.org/request/show/713409
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hdf5?expand=0&rev=57
This commit is contained in:
2019-07-04 13:44:38 +00:00
committed by Git OBS Bridge
2 changed files with 14 additions and 12 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 4 11:45:55 UTC 2019 - Egbert Eich <eich@suse.com>
- Since build machine size issues do not seem to go way, make
the %check stage optional: enable with '--with check'.
-------------------------------------------------------------------
Thu Apr 25 08:51:47 UTC 2019 - Christian Goll <cgoll@suse.com>

View File

@@ -28,8 +28,9 @@
%define DisOMPI3 ExclusiveArch: do_not_build
%endif
#
%define _do_check 1
# Disable until resource issue is resolved.
%bcond_with check
%define use_sz2 0
%define vers 1.10.4
@@ -166,11 +167,6 @@ ExclusiveArch: do_not_build
ExclusiveArch: do_not_build
%endif
# Disable until resource issue is resolved.
%if "%mpi_flavor" == "openmpi" && 0%{?mpi_vers} == 1
%define _do_check 0
%endif
%{?mpi_flavor:%{bcond_without mpi}}%{!?mpi_flavor:%{bcond_with mpi}}
%{?with_hpc:%{!?compiler_family:%global compiler_family gnu}}
%{?with_mpi:%{!?mpi_flavor:error "No MPI family specified!"}}
@@ -654,15 +650,15 @@ family "%pname"
EOF
%endif
%if 0%{?_do_check}
%if %{with check}
%check
%if 0%{?qemu_user_space_build}
%if 0%{?qemu_user_space_build}
# default timeout is 1200 seconds
export HDF5_ALARM_SECONDS=3600
%endif
%if %{with mpi}
%endif
%if %{with mpi}
export HDF5_Make_Ignore=yes
%endif
%endif
%{?with_hpc:%hpc_setup}
%ifarch ppc ppc64 ppc64le aarch64
make %{?_smp_mflags} check || { echo "Ignore transient make check failures for PowerPC or aarch64. boo#1058563"; }