Hello community,

here is the log from the commit of package dealii for openSUSE:Factory checked 
in at 2020-07-07 12:57:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dealii (Old)
 and      /work/SRC/openSUSE:Factory/.dealii.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dealii"

Tue Jul  7 12:57:24 2020 rev:1 rq:811230 version:9.2.0

Changes:
--------
New Changes file:

--- /dev/null   2020-06-25 10:56:43.568241769 +0200
+++ /work/SRC/openSUSE:Factory/.dealii.new.3060/dealii.changes  2020-07-07 
12:57:42.129622781 +0200
@@ -0,0 +1,106 @@
+-------------------------------------------------------------------
+Wed Jun  3 19:22:21 UTC 2020 - Jan Engelhardt <jeng...@inai.de>
+
+- Trim conjecture from description.
+- Trim double "library" in summary.
+
+-------------------------------------------------------------------
+Sun May 31 14:19:39 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 9.2.0: see
+  
https://www.dealii.org/developer/doxygen/deal.II/changes_between_9_1_1_and_9_2_0.html
+- Drop patches commited upstream:
+  * dealii-find-parpack-independently-of-arpack.patch
+  * dealii-tbb-version-check.patch
+- Set up spec file for enabling python bindings later, when
+  gh#dealii/dealii#10423 is fixed; disable building the bindings
+  themselves using bcond_with.
+- Pass DEAL_II_COMPILE_EXAMPLES=OFF to cmake to prevent compiling
+  the examples and generating binaries which are then installed to
+  %_docdir.
+- Disable Link-Time-Optimization for aarch64 to prevent builds
+  from from failing due to linking taking too long and OBS
+  shutting down the worker assuming a stuck job.
+- Update _constraints file to ensure enough physical memory in
+  build worker to prevent swapping (which slows down and
+  eventually times out the build):
+  * aarch64: 4 GB (these runs don't time out, so it's okay to have
+    a lower memory requirement than for x86_64).
+  * x86_64: 7 GB.
+- For aarch64, require at least 4000M per thread for compilation.
+
+-------------------------------------------------------------------
+Sun May 10 02:25:04 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 9.1.1:
+  * Fixed a compatibility bug in GridIn::read_msh with older gmsh
+    mesh format files. 
+- Changes from version 9.1.0: see
+  
https://www.dealii.org/developer/doxygen/deal.II/changes_between_9_0_1_and_9_1_0.html.
+- Changes from version 9.0.0: see
+  
https://www.dealii.org/developer/doxygen/deal.II/changes_between_8_5_0_and_9_0_0.html.
+- Implement multibuild for openmpi2, openmpi3, and serial
+  flavours (openmpi1 not supported by dealii).
+- Add dealii-tbb-version-check.patch to detect correct version
+  of TBB; patch taken from upstream [gh#dealii/dealii#9475].
+- Add dealii-find-parpack-independently-of-arpack.patch to detect
+  parpack independently of arpack's location; patch taken from
+  upstream pull request [gh#dealii/dealii#10197]. Note that *both*
+  arpack and parpack are required when building with MPI enabled.
+- Use deal_II*-devel as the devel pkg name to be consistent with
+  shared lib packaging policy; add Provides: dealii*-devel to help
+  with upgrade.
+- Use ninja for build (BuildRequires: ninja).
+- Use memory_constraints to require per-thread memory >= 2 GB;
+  introduces BuildRequires: memory-constraints.
+- Use %cmake_build instead of running make.
+- Update cmake options in keeping with upstream changes.
+- Add _constraints file to limit builds to at least 2 GB memory,
+  anything less causes out-of-memory problems.
+- Update License tag: dealii is now licensed as LGPL-2.1-or-later.
+- Remove hashbangs from non-executable files.
+- Link duplicate files in %{_docdir}.
+- Disable builds on i586 as linking takes too long leading to OBS
+  worker assuming a "stuck job" and killing the VM.
+- Disable building documentation for openSUSE 15.1 as it fails.
+
+-------------------------------------------------------------------
+Tue Nov 21 20:34:40 UTC 2017 - jungh...@votca.org
+
+- Update to version 8.5.1: Only build fixes
+  https://github.com/dealii/dealii/compare/v8.5.0...v8.5.1  
+- Drop dealii-boost-1_64.patch, got merged upstream
+
+-------------------------------------------------------------------
+Wed Aug  9 08:38:19 UTC 2017 - badshah...@gmail.com
+
+- Update to version 8.5.0: See
+  
http://www.dealii.org/8.5.0/doxygen/deal.II/changes_between_8_4_2_and_8_5_0.html
+  for the list of changes (too many to list here).
+- Add dealii-boost-1_64.patch: Fix compilation against boost 1.64;
+  patch taken from upstream git (gh#dealii/dealii#4309).
+- Move documentation files installed to non-standard locations to
+  standard docdir.
+- Package cmake files and data files in -devel package.
+
+-------------------------------------------------------------------
+Mon Jan 18 14:33:35 UTC 2016 - kkhere....@gmail.com
+
+- add missing library file libtbb.so* to rpm, otherwise we get
+  missing dependency when trying to install 
+
+-------------------------------------------------------------------
+Sun Feb 24 18:03:25 UTC 2013 - sco...@free.fr
+
+- add patch dealii-7.2.0-no-rpath.patch
+- fix files list
+- change %%libname according to so name
+- fix build requirements for SLE 11 and 12.1
+- disable %%{?_smp_mflags} with make because build process
+  requires to much memory
+
+-------------------------------------------------------------------
+Sun Feb 10 20:10:39 UTC 2013 - sco...@free.fr
+
+- first package 
+

New:
----
  _constraints
  _multibuild
  dealii-9.2.0.tar.gz
  dealii.changes
  dealii.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dealii.spec ++++++
#
# spec file for package dealii
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

%global flavor @BUILD_FLAVOR@%{nil}

%define __builder ninja
%define sover 9.2.0
%define shlibver %(echo %{sover} | tr "." "_")
%define srcname dealii

# PYTHON BINDINGS CAN"T BE BUILT [https://github.com/dealii/dealii/issues/10423]
%bcond_with python

%if 0%{?suse_version} == 1500 && 0%{?sle_version} == 150100
%bcond_with doc
%else
%bcond_without doc
%endif

# SECTION MPI DEFINITIONS
%if "%{flavor}" == "openmpi2"
%global mpi_flavor openmpi
%define mpi_vers 2
%endif

%if "%{flavor}" == "openmpi3"
%global mpi_flavor openmpi
%define mpi_vers 3
%endif

%{?mpi_flavor:%{bcond_without mpi}}%{!?mpi_flavor:%{bcond_with mpi}}
%{?with_mpi:%{!?mpi_flavor:error "No MPI family specified!"}}

%if %{with mpi}
%define my_prefix  %{_libdir}/mpi/gcc/%{mpi_flavor}%{?mpi_vers}
%define my_bindir  %{my_prefix}/bin
%define my_libdir  %{my_prefix}/%{_lib}
%define my_incdir  %{my_prefix}/include
%define my_datadir %{my_prefix}/share
%define my_suffix  -%{mpi_flavor}%{?mpi_vers}
%else
%define my_prefix  %{_prefix}
%define my_bindir  %{_bindir}
%define my_libdir  %{_libdir}
%define my_incdir  %{_includedir}
%define my_datadir %{_datadir}
%endif
# /SECTION MPI DEFINITIONS

# SECTION PKG NAMING DEFINITIONS
%define pname %{srcname}%{?my_suffix}
%define shlib libdeal_II%{shlibver}%{?my_suffix}
%define shlib_debug libdeal_II_g%{shlibver}%{?my_suffix}
# /SECTION

# LTO CAUSES aarch64 BUILDS TO TIME OUT; IT ALSO REQUIRES ~4GB PER THREAD
%ifarch aarch64
%define _lto_cflags %{nil}
%define memlim 4000
%else
%define memlim 2000
%endif

Name:           %{pname}
Version:        9.2.0
Release:        0
Summary:        A Finite Element Differential Equations Analysis Library
License:        LGPL-2.1-or-later
Group:          Development/Libraries/C and C++
URL:            https://www.dealii.org/
Source0:        
https://github.com/dealii/dealii/releases/download/v%{version}/%{srcname}-%{version}.tar.gz
# NOTE: serial arpack-ng even if parpack is available (see 
gh#dealii/dealii#10197)
BuildRequires:  arpack-ng-devel
BuildRequires:  blas-devel
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  gcc-fortran
BuildRequires:  gmsh
BuildRequires:  gmsh-devel
BuildRequires:  hdf5%{?my_suffix}-devel
BuildRequires:  lapack-devel
BuildRequires:  libboost_iostreams-devel
BuildRequires:  libboost_serialization-devel
BuildRequires:  libboost_system-devel
BuildRequires:  libboost_thread-devel
BuildRequires:  libnetcdf_c++-devel
BuildRequires:  memory-constraints
BuildRequires:  metis-devel
BuildRequires:  netcdf-devel
BuildRequires:  ninja
BuildRequires:  perl
BuildRequires:  pkgconfig
BuildRequires:  python3
BuildRequires:  suitesparse-devel
BuildRequires:  tbb-devel
BuildRequires:  pkgconfig(bzip2)
BuildRequires:  pkgconfig(gsl)
BuildRequires:  pkgconfig(muparser)
BuildRequires:  pkgconfig(zlib)
%if %{with doc}
BuildRequires:  doxygen
BuildRequires:  fdupes
%endif
%if %{with mpi}
BuildRequires:  parpack%{my_suffix}-devel
BuildRequires:  scalapack%{my_suffix}-devel
BuildRequires:  %{mpi_flavor}%{?mpi_vers}-config
BuildRequires:  %{mpi_flavor}%{?mpi_vers}-devel
%endif
%if %{with python}
BuildRequires:  libboost_python3-devel
BuildRequires:  python3-devel
%endif
# Builds fail for i586 due to linking taking too long and being mistaken by OBS 
workers for "Job stuck"
ExcludeArch:    i586

%description
deal.II is a C++ program library targeted at the computational solution of
partial differential equations using adaptive finite elements.

%package -n %{shlib}
Summary:        A generic C++ finite element library
Group:          System/Libraries

%description -n %{shlib}
deal.II is a C++ program library targeted at the computational solution of
partial differential equations using adaptive finite elements.

This package provides the shared library for deal.II.

%package -n deal_II%{?my_suffix}-devel
Summary:        Development files for %{name}
Group:          Development/Libraries/C and C++
Requires:       %{shlib} = %{version}
Provides:       %{name}%{?my_suffix}-devel = %{version}

%description -n  deal_II%{?my_suffix}-devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%package -n python3-PyDealII
Summary:        Python bindings for %{name}

%description -n python3-PyDealII
This package provides the python3 bindings for dealii.

%prep
%autosetup -p1 -n %{srcname}-%{version}

%build
%if %{with mpi}
source %{my_bindir}/mpivars.sh
export CC=mpicc
export CXX=mpicxx
%else
export CC=gcc
export CXX=g++
%endif

export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"

%limit_build -m %{memlim}

# BUILD ONLY SUPPORTS "Release", "Debug", OR "DebugRelease" FOR CMAKE_BUILD_TYPE
# BUT THE "-g" FLAG TO ENABLE DEBUGINFO IS AUTOMATICALLY ADDED BY %%{optflags};
# SO SIMPLY USE CMAKE_BUILD_TYPE="Release"
%cmake -DCMAKE_INSTALL_PREFIX:PATH=%{my_prefix} \
       -DCMAKE_PREFIX_PATH:PATH=%{my_prefix} \
       -DCMAKE_BUILD_TYPE:STRING="Release" \
       -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF \
       -DDEAL_II_COMPONENT_DOCUMENTATION:BOOL=%{?with_doc:ON}%{!?with_doc:OFF} \
       -DDEAL_II_WITH_THREADS:BOOL=ON \
       -DDEAL_II_WITH_MPI:BOOL=%{?with_mpi:ON}%{!?with_mpi:OFF} \
       
-DDEAL_II_COMPONENT_PYTHON_BINDINGS:BOOL=%{?with_python:ON}%{!?with_python:OFF} 
\
       -DDEAL_II_DOCHTML_RELDIR:PATH=%{_docdir}/%{name} \
       -DDEAL_II_EXAMPLES_RELDIR:PATH=%{_docdir}/%{name} \
       -DDEAL_II_COMPILE_EXAMPLES:BOOL=OFF \
       -DDEAL_II_ALLOW_BUNDLED:BOOL=OFF

%cmake_build

%install
%cmake_install

# REMOVE UNNECESSARY FILES
rm %{buildroot}%{my_prefix}/*.md \
   %{buildroot}%{my_prefix}/detailed.log \
   %{buildroot}%{my_prefix}/summary.log

# CLEAR UP UNNECESSARY HASHBANGS
sed -i "1{/\/bin\/sh/d}" %{buildroot}%{my_datadir}/deal.II/scripts/get_*_tag.sh
sed -i "1{/\/usr\/bin\/env/d}" 
%{buildroot}%{my_datadir}/deal.II/scripts/indent.py

%if %{with doc}
%fdupes %{buildroot}%{_docdir}/%{name}/
%endif

%post -n %{shlib} -p /sbin/ldconfig
%postun -n %{shlib} -p /sbin/ldconfig

%files -n %{shlib}
%{my_libdir}/libdeal_II.so.%{sover}

%files -n deal_II%{?my_suffix}-devel
%license LICENSE.md
%doc AUTHORS README.md CONTRIBUTING.md
%doc %{_docdir}/%{name}
%{my_incdir}/deal.II/
%{my_libdir}/*.so
%{my_datadir}/deal.II/
%{my_libdir}/cmake/
%{my_libdir}/pkgconfig/*.pc

%if %{with python}
%files -n python3-PyDealII
%license LICENSE.md
%{python3_sitelib}/PyDealII/
%endif

%changelog
++++++ _constraints ++++++
<constraints>
  <hardware>
    <physicalmemory>
      <size unit="G">7</size>
    </physicalmemory>
  </hardware>
  <overwrite>
    <conditions>
      <arch>aarch64</arch>
    </conditions>
    <hardware>
      <physicalmemory>
        <size unit="G">4</size>
      </physicalmemory>
    </hardware>
  </overwrite>
</constraints>
++++++ _multibuild ++++++
<multibuild>
  <package>openmpi2</package>
  <package>openmpi3</package>
</multibuild>

Reply via email to