- Update to release 1.2.0.8

OBS-URL: https://build.opensuse.org/package/show/science/librsb?expand=0&rev=11
This commit is contained in:
Jan Engelhardt 2020-03-05 16:25:48 +00:00 committed by Git OBS Bridge
parent d296541dca
commit 4ac102d218
5 changed files with 36 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

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -12,28 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# 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
%define lname librsb0
%define rversion 1.2.0-rc7
Version: 1.2.0~rc7
Version: 1.2.0.8
Release: 0
Summary: Shared memory parallel sparse matrix and sparse BLAS library
License: LGPL-3.0+
License: LGPL-3.0-or-later
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
Patch2: reproducible.patch
BuildRequires: fdupes
BuildRequires: gcc-fortran
BuildRequires: gsl-devel
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
librsb is a library for sparse matrix computations featuring the
@ -69,11 +67,10 @@ This subpackage contains libraries and header files for developing
applications that want to make use of librsb.
%prep
%setup -qn librsb-%rversion
%patch -P 1 -p1
%patch2 -p1
%autosetup -p1
%build
autoreconf -fi
%configure --docdir="%_docdir/%name" --disable-static CFLAGS="%optflags -Wno-unused" \
--with-memhinfo=L3:16/64/8192K,L2:16/64/2048K,L1:8/64/16K
make %{?_smp_mflags}
@ -87,16 +84,14 @@ rm -f "%buildroot/%_libdir"/*.la
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/librsb.so.0*
%files devel
%defattr(-,root,root)
%_includedir/*
%_bindir/rsbench
%_bindir/librsb-config
%_libdir/librsb.so
%_docdir/%name/
%doc COPYING
%license COPYING
%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.
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-rc7/configure
@@ -22750,9 +22750,11 @@ cat >>confdefs.h <<_ACEOF
--- librsb-1.2.0.8.orig/configure
+++ librsb-1.2.0.8/configure
@@ -23751,9 +23751,11 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
@ -23,13 +28,13 @@ Index: librsb-1.2.0-rc7/configure
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-rc7/configure.ac
@@ -319,7 +319,9 @@ dnl
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.]),
[if test "x$withval" = xno; then memhinfo="" ; openmp_flags= ; else memhinfo="$withval" ; fi] , [memhinfo="";])
--- librsb-1.2.0.8.orig/configure.ac
+++ librsb-1.2.0.8/configure.ac
@@ -324,7 +324,9 @@ if test "x${detected_memhinfo}" = x -a "
memhinfo="${FALLBACK_MEM_HIERARCHY_INFO}"
fi
AC_SUBST([RSB_USER_SET_MEM_HIERARCHY_INFO],"${memhinfo}")
+if test "x$memhinfo" = x; then
AC_SUBST([RSB_DETECTED_MEM_HIERARCHY_INFO],"${detected_memhinfo}")