Accepting request 781909 from science

- Update to release 1.2.0.8

OBS-URL: https://build.opensuse.org/request/show/781909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsb?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-03-06 20:28:06 +00:00 committed by Git OBS Bridge
commit 59180a326f
5 changed files with 38 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49ac0ab07ba9ea02028dfe18c0401c6c5831bbb1f05b59256133a5b27c674a8c
size 2223136

3
librsb-1.2.0.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8bebd19a1866d80ade13eabfdd0f07ae7e8a485c0b975b5d15f531ac204d80cb
size 2352127

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Mar 5 16:24:51 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.2.0.8
* bugfix: rsb_spmv/rsb_spmm/BLAS_cusmv/BLAS_zusmv/BLAS_cusmm/
BLAS_zusmm could compute wrong values in transpose or
conjugated transpose on very sparse complex hermitian
matrices.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 12 05:02:16 UTC 2018 - bwiedemann@suse.com Thu Jul 12 05:02:16 UTC 2018 - bwiedemann@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package librsb # spec file for package librsb
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,28 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: librsb Name: librsb
%define lname librsb0 %define lname librsb0
%define rversion 1.2.0-rc7 Version: 1.2.0.8
Version: 1.2.0~rc7
Release: 0 Release: 0
Summary: Shared memory parallel sparse matrix and sparse BLAS library Summary: Shared memory parallel sparse matrix and sparse BLAS library
License: LGPL-3.0+ License: LGPL-3.0-or-later
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
Url: http://librsb.sf.net/ URL: http://librsb.sf.net/
Source: http://downloads.sf.net/%name/%name-%rversion.tar.gz Source: http://downloads.sf.net/%name/%name-%version.tar.gz
Patch1: pun.diff Patch1: pun.diff
Patch2: reproducible.patch Patch2: reproducible.patch
BuildRequires: automake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-fortran BuildRequires: gcc-fortran
BuildRequires: gsl-devel BuildRequires: gsl-devel
BuildRequires: libtool
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
librsb is a library for sparse matrix computations featuring the librsb is a library for sparse matrix computations featuring the
@ -69,11 +69,10 @@ This subpackage contains libraries and header files for developing
applications that want to make use of librsb. applications that want to make use of librsb.
%prep %prep
%setup -qn librsb-%rversion %autosetup -p1
%patch -P 1 -p1
%patch2 -p1
%build %build
autoreconf -fi
%configure --docdir="%_docdir/%name" --disable-static CFLAGS="%optflags -Wno-unused" \ %configure --docdir="%_docdir/%name" --disable-static CFLAGS="%optflags -Wno-unused" \
--with-memhinfo=L3:16/64/8192K,L2:16/64/2048K,L1:8/64/16K --with-memhinfo=L3:16/64/8192K,L2:16/64/2048K,L1:8/64/16K
make %{?_smp_mflags} make %{?_smp_mflags}
@ -87,16 +86,14 @@ rm -f "%buildroot/%_libdir"/*.la
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files -n %lname %files -n %lname
%defattr(-,root,root)
%_libdir/librsb.so.0* %_libdir/librsb.so.0*
%files devel %files devel
%defattr(-,root,root)
%_includedir/* %_includedir/*
%_bindir/rsbench %_bindir/rsbench
%_bindir/librsb-config %_bindir/librsb-config
%_libdir/librsb.so %_libdir/librsb.so
%_docdir/%name/ %_docdir/%name/
%doc COPYING %license COPYING
%changelog %changelog

View File

@ -7,11 +7,16 @@ the autodetected one will never be used, so we do not need to store it.
This allows for building identical librsb packages on different hosts. This allows for building identical librsb packages on different hosts.
See https://reproducible-builds.org/ for why this is good. See https://reproducible-builds.org/ for why this is good.
Index: librsb-1.2.0-rc7/configure ---
configure | 2 ++
configure.ac | 2 ++
2 files changed, 4 insertions(+)
Index: librsb-1.2.0.8/configure
=================================================================== ===================================================================
--- librsb-1.2.0-rc7.orig/configure --- librsb-1.2.0.8.orig/configure
+++ librsb-1.2.0-rc7/configure +++ librsb-1.2.0.8/configure
@@ -22750,9 +22750,11 @@ cat >>confdefs.h <<_ACEOF @@ -23751,9 +23751,11 @@ cat >>confdefs.h <<_ACEOF
_ACEOF _ACEOF
@ -23,13 +28,13 @@ Index: librsb-1.2.0-rc7/configure
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
Index: librsb-1.2.0-rc7/configure.ac Index: librsb-1.2.0.8/configure.ac
=================================================================== ===================================================================
--- librsb-1.2.0-rc7.orig/configure.ac --- librsb-1.2.0.8.orig/configure.ac
+++ librsb-1.2.0-rc7/configure.ac +++ librsb-1.2.0.8/configure.ac
@@ -319,7 +319,9 @@ dnl @@ -324,7 +324,9 @@ if test "x${detected_memhinfo}" = x -a "
AC_ARG_WITH(memhinfo, AC_HELP_STRING([--with-memhinfo], [Compile with user specified memory hierarchy information, which can be overridden by runtime detection and runtime read of RSB_USER_SET_MEM_HIERARCHY_INFO environment variable.]), memhinfo="${FALLBACK_MEM_HIERARCHY_INFO}"
[if test "x$withval" = xno; then memhinfo="" ; openmp_flags= ; else memhinfo="$withval" ; fi] , [memhinfo="";]) fi
AC_SUBST([RSB_USER_SET_MEM_HIERARCHY_INFO],"${memhinfo}") AC_SUBST([RSB_USER_SET_MEM_HIERARCHY_INFO],"${memhinfo}")
+if test "x$memhinfo" = x; then +if test "x$memhinfo" = x; then
AC_SUBST([RSB_DETECTED_MEM_HIERARCHY_INFO],"${detected_memhinfo}") AC_SUBST([RSB_DETECTED_MEM_HIERARCHY_INFO],"${detected_memhinfo}")