From b1b3650992c8911ad9afbf3329b02c86d8905432 Mon Sep 17 00:00:00 2001 From: Susi Lehtola Date: Thu, 18 Dec 2014 14:41:33 +0100 Subject: [PATCH] Need the -frecursive flag to make the functions thread safe for OpenBLAS. --- lapack.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 3.5.0-10 +- Add the -frecursive flag so that the functions are thread safe. + * Mon Oct 13 2014 Peter Robinson 3.5.0-9 - Use generic macro to detect 64 bit platforms