Update to 0.3.2.

This commit is contained in:
Susi Lehtola 2018-08-02 14:07:57 +02:00
parent 3ede871da1
commit 38b97aef71
4 changed files with 8 additions and 31 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@
/v0.2.19.tar.gz
/v0.3.0.tar.gz
/v0.3.1.tar.gz
/openblas-0.3.2.tar.gz

View File

@ -1,24 +0,0 @@
From 43ac839c168c652e52320267b0504e6933cb9f60 Mon Sep 17 00:00:00 2001
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Date: Sun, 22 Jul 2018 09:19:19 +0200
Subject: [PATCH] Unset memory table entry, not just the temporary pointer to
it on shutdown
to fix crash with multiple instances of OpenBLAS, #1692
---
driver/others/memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/driver/others/memory.c b/driver/others/memory.c
index 98bcfb216..3bf6ba019 100644
--- a/driver/others/memory.c
+++ b/driver/others/memory.c
@@ -1279,7 +1279,7 @@ void blas_shutdown(void){
struct alloc_t *alloc_info = local_memory_table[thread][pos];
if (alloc_info) {
alloc_info->release_func(alloc_info);
- alloc_info = (void *)0;
+ local_memory_table[thread][pos] = (void *)0;
}
}
}

View File

@ -14,13 +14,13 @@
# "obsoleted" features are still kept in the spec.
Name: openblas
Version: 0.3.1
Release: 2%{?dist}
Version: 0.3.2
Release: 1%{?dist}
Summary: An optimized BLAS library based on GotoBLAS2
Group: Development/Libraries
License: BSD
URL: https://github.com/xianyi/OpenBLAS/
Source0: https://github.com/xianyi/OpenBLAS/archive/v%{version}.tar.gz
Source0: https://github.com/xianyi/OpenBLAS/archive/v%{version}/openblas-%{version}.tar.gz
# Use system lapack
Patch0: openblas-0.2.15-system_lapack.patch
# Drop extra p from threaded library name
@ -29,8 +29,6 @@ Patch1: openblas-0.2.5-libname.patch
Patch2: openblas-0.2.15-constructor.patch
# Supply the proper flags to the test makefile
Patch3: openblas-0.2.19-tests.patch
# Fix crash with multiple instances
Patch4: https://github.com/xianyi/OpenBLAS/pull/1695.patch
BuildRequires: gcc
BuildRequires: gcc-gfortran
@ -252,7 +250,6 @@ cd OpenBLAS-%{version}
%patch2 -p1 -b .constructor
%endif
%patch3 -p1 -b .tests
%patch4 -p1 -b .multiinst
# Fix source permissions
find -name \*.f -exec chmod 644 {} \;
@ -688,6 +685,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
%endif
%changelog
* Thu Aug 02 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.2-1
- Update to 0.3.2.
* Sun Jul 22 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.1-3
- Fix crash with multiple instances (BZ #1605231).

View File

@ -1 +1 @@
SHA512 (v0.3.1.tar.gz) = 4c8d50114378518c7c85b92dd52cb649290f3bdc119316c0e236ea56353447d1fcef18afb344d4f125ec8b379b10f9d43ab008316517d897bf73e8f0000ee8f7
SHA512 (openblas-0.3.2.tar.gz) = 13bc2aae763dadfe3ded33d12eb56fa3a042007047e9e84f6d18ed576394a45590f9f248d72c954c90cd2612e5cb0e1238a8bf83520160467fa720cf89ddb101