From 4ac102d2180c3896b683753f42a6094c655bec2f06065495fc4eb3e868a811b1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 5 Mar 2020 16:25:48 +0000 Subject: [PATCH 1/2] - Update to release 1.2.0.8 OBS-URL: https://build.opensuse.org/package/show/science/librsb?expand=0&rev=11 --- librsb-1.2.0-rc7.tar.gz | 3 --- librsb-1.2.0.8.tar.gz | 3 +++ librsb.changes | 9 +++++++++ librsb.spec | 23 +++++++++-------------- reproducible.patch | 25 +++++++++++++++---------- 5 files changed, 36 insertions(+), 27 deletions(-) delete mode 100644 librsb-1.2.0-rc7.tar.gz create mode 100644 librsb-1.2.0.8.tar.gz diff --git a/librsb-1.2.0-rc7.tar.gz b/librsb-1.2.0-rc7.tar.gz deleted file mode 100644 index 6854d79..0000000 --- a/librsb-1.2.0-rc7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:49ac0ab07ba9ea02028dfe18c0401c6c5831bbb1f05b59256133a5b27c674a8c -size 2223136 diff --git a/librsb-1.2.0.8.tar.gz b/librsb-1.2.0.8.tar.gz new file mode 100644 index 0000000..a124a95 --- /dev/null +++ b/librsb-1.2.0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8bebd19a1866d80ade13eabfdd0f07ae7e8a485c0b975b5d15f531ac204d80cb +size 2352127 diff --git a/librsb.changes b/librsb.changes index 95b77b5..f56a074 100644 --- a/librsb.changes +++ b/librsb.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Mar 5 16:24:51 UTC 2020 - Jan Engelhardt + +- 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 diff --git a/librsb.spec b/librsb.spec index 5121a3a..759b30e 100644 --- a/librsb.spec +++ b/librsb.spec @@ -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 diff --git a/reproducible.patch b/reproducible.patch index a9eb57b..2557a64 100644 --- a/reproducible.patch +++ b/reproducible.patch @@ -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}") From d6b93e86ba2ab163218915ad779089162f337f4b973060cda51fe71c5a1fd4a4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 5 Mar 2020 16:37:08 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/science/librsb?expand=0&rev=12 --- librsb.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/librsb.spec b/librsb.spec index 759b30e..25b7130 100644 --- a/librsb.spec +++ b/librsb.spec @@ -28,9 +28,11 @@ URL: http://librsb.sf.net/ Source: http://downloads.sf.net/%name/%name-%version.tar.gz Patch1: pun.diff Patch2: reproducible.patch +BuildRequires: automake BuildRequires: fdupes BuildRequires: gcc-fortran BuildRequires: gsl-devel +BuildRequires: libtool BuildRequires: zlib-devel %description