[lapack] Need the -frecursive flag to make the functions thread safe for OpenBLAS.

Susi Lehtola jussilehtola at fedoraproject.org
Thu Dec 18 13:33:36 UTC 2014


commit b1b3650992c8911ad9afbf3329b02c86d8905432
Author: Susi Lehtola <jussilehtola at fedoraproject.org>
Date:   Thu Dec 18 14:41:33 2014 +0100

    Need the -frecursive flag to make the functions thread safe for OpenBLAS.

 lapack.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/lapack.spec b/lapack.spec
index c323757..38bb878 100644
--- a/lapack.spec
+++ b/lapack.spec
@@ -10,7 +10,7 @@
 Summary: Numerical linear algebra package libraries
 Name: lapack
 Version: %{mediumver}.0
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: BSD
 Group: System Environment/Libraries
 URL: http://www.netlib.org/lapack/
@@ -171,6 +171,7 @@ sed -i "s|@LONGVER@|%{version}|g" SRC/Makefile
 sed -i "s|@LONGVER@|%{version}|g" lapacke/Makefile
 
 %build
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -frecursive"
 RPM_OPT_O_FLAGS=$(echo $RPM_OPT_FLAGS | sed 's|-O2|-O0|')
 export FC=gfortran
 
@@ -450,6 +451,9 @@ ln -sf libblas64.so.%{version} libblas64.so.%{mediumver}
 %endif
 
 %changelog
+* Thu Dec 18 2014 Susi Lehtola <jussilehtola at fedoraproject.org> 3.5.0-10
+- Add the -frecursive flag so that the functions are thread safe.
+
 * Mon Oct 13 2014 Peter Robinson <pbrobinson at fedoraproject.org> 3.5.0-9
 - Use generic macro to detect 64 bit platforms
 


More information about the scm-commits mailing list