Static lapack libraries are in lapack-devel in EL6 too.
This commit is contained in:
parent
35ceac4c7e
commit
2aef77ab37
@ -9,15 +9,15 @@ Source0: https://github.com/xianyi/OpenBLAS/archive/v%{version}.tar.gz
|
|||||||
# Use system lapack
|
# Use system lapack
|
||||||
Patch0: openblas-0.2.7-system_lapack.patch
|
Patch0: openblas-0.2.7-system_lapack.patch
|
||||||
# Drop extra p from threaded library name
|
# Drop extra p from threaded library name
|
||||||
Patch1: openblas-0.2.5-libname.patch
|
Patch1: openblas-0.2.5-libname.patch
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
# For execstack
|
# For execstack
|
||||||
BuildRequires: prelink
|
BuildRequires: prelink
|
||||||
# LAPACK
|
# LAPACK
|
||||||
%if 0%{?rhel} == 5
|
%if 0%{?rhel} == 5 || 0%{?rhel} == 6
|
||||||
BuildRequires: lapack-devel%{?_isa}
|
BuildRequires: lapack-devel%{?_isa}
|
||||||
%else
|
%else
|
||||||
BuildRequires: lapack-static%{?_isa}
|
BuildRequires: lapack-static%{?_isa}
|
||||||
%endif
|
%endif
|
||||||
@ -36,7 +36,7 @@ BuildRequires: lapack-static%{?_isa}
|
|||||||
|
|
||||||
# Upstream supports the package only on these architectures.
|
# Upstream supports the package only on these architectures.
|
||||||
# Runtime processor detection is not available on other archs.
|
# Runtime processor detection is not available on other archs.
|
||||||
ExclusiveArch: x86_64 %{ix86}
|
ExclusiveArch: x86_64 %{ix86}
|
||||||
|
|
||||||
%global base_description \
|
%global base_description \
|
||||||
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD \
|
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD \
|
||||||
|
Loading…
Reference in New Issue
Block a user