Blame SPECS/openblas.spec

e101b7
%bcond_with system_lapack
e101b7
# Version of bundled lapack
e101b7
%global lapackver 3.7.0
e101b7
e101b7
# DO NOT "CLEAN UP" OR MODIFY THIS SPEC FILE WITHOUT ASKING THE
e101b7
# MAINTAINER FIRST!
e101b7
#
e101b7
# OpenBLAS is hand written assembler code and it has a limited number
e101b7
# of supported architectures. Don't enable any new architectures /
e101b7
# processors a) without checking that it is actually supported and b)
e101b7
# without modifying the target flags.
e101b7
#
e101b7
# The same spec is also used on the EPEL branches, meaninng that some
e101b7
# "obsoleted" features are still kept in the spec.
e101b7
e101b7
Name:           openblas
e101b7
Version:        0.3.3
e101b7
Release:        5%{?dist}
e101b7
Summary:        An optimized BLAS library based on GotoBLAS2
e101b7
Group:          Development/Libraries
e101b7
License:        BSD
e101b7
URL:            https://github.com/xianyi/OpenBLAS/
e101b7
Source0:        https://github.com/xianyi/OpenBLAS/archive/v%{version}.tar.gz
e101b7
# Use system lapack
e101b7
Patch0:         openblas-0.2.15-system_lapack.patch
e101b7
# Drop extra p from threaded library name
e101b7
Patch1:         openblas-0.2.5-libname.patch
e101b7
# Don't use constructor priorities on too old architectures
e101b7
Patch2:         openblas-0.2.15-constructor.patch
e101b7
# Supply the proper flags to the test makefile
e101b7
Patch3:         openblas-0.3.3-tests.patch
e101b7
# Enable optimizations for all LAPACK sources
e101b7
Patch4:         openblas-0.3.3-noopt.patch
e101b7
# Pass ASMFLAGS to assembler compiler
e101b7
Patch5:         openblas-0.2.20-asmflags.patch
e101b7
# Remove optimization pragmas on ppc64le
e101b7
Patch6:         openblas-0.2.20-power-optimize.patch
e101b7
# Fix izamax on s390x
e101b7
Patch7:         openblas-0.3.3-izamax-s390x.patch
e101b7
# Detect POWER9 as POWER8
e101b7
Patch8:         openblas-0.3.3-power9.patch
e101b7
e101b7
BuildRequires:  gcc
e101b7
BuildRequires:  gcc-gfortran
e101b7
BuildRequires:  perl-devel
e101b7
BuildRequires:  multilib-rpm-config
e101b7
e101b7
# Do we have execstack?
e101b7
%if 0%{?rhel} == 7
e101b7
%ifarch ppc64le aarch64
e101b7
%global execstack 0
e101b7
%else
e101b7
%global execstack 1
e101b7
%endif
e101b7
%else
e101b7
%global execstack 1
e101b7
%endif
e101b7
%if %{execstack}
e101b7
BuildRequires:  /usr/bin/execstack
e101b7
%endif
e101b7
e101b7
# LAPACK
e101b7
%if %{with system_lapack}
e101b7
%if 0%{?rhel} == 5 || 0%{?rhel} == 6
e101b7
BuildRequires:  lapack-devel
e101b7
%else
e101b7
BuildRequires:  lapack-static
e101b7
%endif
e101b7
# Do we have LAPACKE? (Needs at least lapack 3.4.0)
e101b7
%if 0%{?fedora}
e101b7
%global lapacke 1
e101b7
%else
e101b7
%global lapacke 0
e101b7
%endif
e101b7
e101b7
%else
e101b7
# Use bundled LAPACK
e101b7
%global lapacke 1
e101b7
Provides:       bundled(lapack) = %{lapackver}
e101b7
%endif
e101b7
e101b7
# Build 64-bit interface binaries?
e101b7
%if 0%{?__isa_bits} == 64
e101b7
%global build64 1
e101b7
%else
e101b7
%global build64 0
e101b7
%endif
e101b7
e101b7
%if %{with system_lapack}
e101b7
%if %build64
e101b7
BuildRequires:  lapack64-static
e101b7
%endif
e101b7
%endif
e101b7
e101b7
# Upstream supports the package only on these architectures.
e101b7
# Runtime processor detection is not available on other archs.
e101b7
ExclusiveArch:  %{openblas_arches}
e101b7
e101b7
%global base_description \
e101b7
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD \
e101b7
version. The project is supported by the Lab of Parallel Software and \
e101b7
Computational Science, ISCAS. http://www.rdcps.ac.cn
e101b7
e101b7
e101b7
%description
e101b7
%{base_description}
e101b7
e101b7
%package Rblas
e101b7
Summary:	A version of OpenBLAS for R to use as libRblas
e101b7
Group:		Development/Libraries
e101b7
e101b7
%description Rblas
e101b7
%{base_description}
e101b7
e101b7
%package openmp
e101b7
Summary:        An optimized BLAS library based on GotoBLAS2, OpenMP version
e101b7
Group:          Development/Libraries
e101b7
e101b7
%description openmp
e101b7
%{base_description}
e101b7
e101b7
This package contains the library compiled with OpenMP support.
e101b7
e101b7
%package threads
e101b7
Summary:        An optimized BLAS library based on GotoBLAS2, pthreads version
e101b7
Group:          Development/Libraries
e101b7
e101b7
%description threads
e101b7
%{base_description}
e101b7
e101b7
This package contains the library compiled with threading support.
e101b7
e101b7
%if %build64
e101b7
%package serial64
e101b7
Summary:        An optimized BLAS library based on GotoBLAS2, serial version
e101b7
Group:          Development/Libraries
e101b7
e101b7
%description serial64
e101b7
%{base_description}
e101b7
e101b7
This package contains the sequential library compiled with a 64-bit
e101b7
interface.
e101b7
e101b7
%package openmp64
e101b7
Summary:        An optimized BLAS library based on GotoBLAS2, OpenMP version
e101b7
Group:          Development/Libraries
e101b7
e101b7
%description openmp64
e101b7
%{base_description}
e101b7
e101b7
This package contains the library compiled with OpenMP support and
e101b7
64-bit interface.
e101b7
e101b7
%package threads64
e101b7
Summary:        An optimized BLAS library based on GotoBLAS2, pthreads version
e101b7
Group:          Development/Libraries
e101b7
e101b7
%description threads64
e101b7
%{base_description}
e101b7
e101b7
This package contains the library compiled with threading support and
e101b7
64-bit interface.
e101b7
e101b7
%package serial64_
e101b7
Summary:        An optimized BLAS library based on GotoBLAS2, serial version
e101b7
Group:          Development/Libraries
e101b7
e101b7
%description serial64_
e101b7
%{base_description}
e101b7
e101b7
This package contains the sequential library compiled with a 64-bit
e101b7
interface and a symbol name suffix.
e101b7
e101b7
%package openmp64_
e101b7
Summary:        An optimized BLAS library based on GotoBLAS2, OpenMP version
e101b7
Group:          Development/Libraries
e101b7
e101b7
%description openmp64_
e101b7
%{base_description}
e101b7
e101b7
This package contains the library compiled with OpenMP support and
e101b7
64-bit interface and a symbol name suffix.
e101b7
e101b7
%package threads64_
e101b7
Summary:        An optimized BLAS library based on GotoBLAS2, pthreads version
e101b7
Group:          Development/Libraries
e101b7
e101b7
%description threads64_
e101b7
%{base_description}
e101b7
e101b7
This package contains the library compiled with threading support and
e101b7
64-bit interface and a symbol name suffix.
e101b7
%endif
e101b7
e101b7
e101b7
%package devel
e101b7
Summary:        Development headers and libraries for OpenBLAS
e101b7
Group:          Development/Libraries
e101b7
Requires:       %{name}%{?_isa} = %{version}-%{release}
e101b7
Requires:       %{name}-openmp%{?_isa} = %{version}-%{release}
e101b7
Requires:       %{name}-threads%{?_isa} = %{version}-%{release}
e101b7
%if %build64
e101b7
Requires:       %{name}-openmp64%{?_isa} = %{version}-%{release}
e101b7
Requires:       %{name}-threads64%{?_isa} = %{version}-%{release}
e101b7
Requires:       %{name}-serial64%{?_isa} = %{version}-%{release}
e101b7
Requires:       %{name}-openmp64_%{?_isa} = %{version}-%{release}
e101b7
Requires:       %{name}-threads64_%{?_isa} = %{version}-%{release}
e101b7
Requires:       %{name}-serial64_%{?_isa} = %{version}-%{release}
e101b7
%endif
e101b7
Requires:       %{name}-srpm-macros
e101b7
e101b7
%description devel
e101b7
%{base_description}
e101b7
e101b7
This package contains the development headers and libraries.
e101b7
e101b7
%package static
e101b7
Summary:        Static version of OpenBLAS
e101b7
Group:          Development/Libraries
e101b7
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
e101b7
e101b7
%description static
e101b7
%{base_description}
e101b7
e101b7
This package contains the static libraries.
e101b7
e101b7
e101b7
%prep
e101b7
%setup -q -c -T
e101b7
e101b7
# Untar source
e101b7
tar zxf %{SOURCE0}
e101b7
cd OpenBLAS-%{version}
e101b7
%if %{with system_lapack}
e101b7
%patch0 -p1 -b .system_lapack
e101b7
%endif
e101b7
%patch1 -p1 -b .libname
e101b7
%if 0%{?rhel} == 5
e101b7
%patch2 -p1 -b .constructor
e101b7
%endif
e101b7
%patch3 -p1 -b .tests
e101b7
%patch4 -p1 -b .noopt
e101b7
%patch5 -p1 -b .asmflags
e101b7
%patch6 -p1 -b .power-optimize
e101b7
%patch7 -p1 -b .izamax-s390x
e101b7
%patch8 -p1 -b .power9
e101b7
e101b7
# Fix source permissions
e101b7
find -name \*.f -exec chmod 644 {} \;
e101b7
e101b7
%if %{with system_lapack}
e101b7
# Get rid of bundled LAPACK sources
e101b7
rm -rf lapack-netlib
e101b7
%endif
e101b7
e101b7
# Make serial, threaded and OpenMP versions; as well as 64-bit versions
e101b7
# Also make an libRblas.so
e101b7
cd ..
e101b7
cp -ar OpenBLAS-%{version} openmp
e101b7
cp -ar OpenBLAS-%{version} threaded
e101b7
%if %build64
e101b7
for d in {serial,threaded,openmp}64{,_}; do
e101b7
    cp -ar OpenBLAS-%{version} $d
e101b7
done
e101b7
%endif
e101b7
cp -ar OpenBLAS-%{version} Rblas
e101b7
mv OpenBLAS-%{version} serial
e101b7
e101b7
# Hackup Rblas Makefiles
e101b7
sed -i 's|.so.$(MAJOR_VERSION)|.so|g' Rblas/Makefile
e101b7
sed -i 's|.so.$(MAJOR_VERSION)|.so|g' Rblas/exports/Makefile
e101b7
sed -i 's|@ln -fs $(LIBSONAME) $(LIBPREFIX).so|#@ln -fs $(LIBSONAME) $(LIBPREFIX).so|g' Rblas/Makefile
e101b7
e101b7
%if %{with system_lapack}
e101b7
# Setup 32-bit interface LAPACK
e101b7
mkdir netliblapack
e101b7
cd netliblapack
e101b7
ar x %{_libdir}/liblapack_pic.a
e101b7
# Get rid of duplicate functions. See list in Makefile of lapack directory
e101b7
for f in laswp getf2 getrf potf2 potrf lauu2 lauum trti2 trtri getrs; do
e101b7
    \rm {c,d,s,z}$f.o
e101b7
done
e101b7
e101b7
# LAPACKE
e101b7
%if %{lapacke}
e101b7
ar x %{_libdir}/liblapacke.a
e101b7
%endif
e101b7
e101b7
# Create makefile
e101b7
echo "TOPDIR = .." > Makefile
e101b7
echo "include ../Makefile.system" >> Makefile
e101b7
echo "COMMONOBJS = \\" >> Makefile
e101b7
for i in *.o; do
e101b7
 echo "$i \\" >> Makefile
e101b7
done
e101b7
echo -e "\n\ninclude \$(TOPDIR)/Makefile.tail" >> Makefile
e101b7
e101b7
%if %{lapacke}
e101b7
# Copy include files
e101b7
cp -a %{_includedir}/lapacke .
e101b7
%endif
e101b7
cd ..
e101b7
e101b7
# Copy in place
e101b7
for d in serial threaded openmp; do
e101b7
    cp -pr netliblapack $d
e101b7
done
e101b7
rm -rf netliblapack
e101b7
e101b7
e101b7
# Setup 64-bit interface LAPACK
e101b7
%if %build64
e101b7
mkdir netliblapack64
e101b7
cd netliblapack64
e101b7
ar x %{_libdir}/liblapack64_pic.a
e101b7
# Get rid of duplicate functions. See list in Makefile of lapack directory
e101b7
for f in laswp getf2 getrf potf2 potrf lauu2 lauum trti2 trtri getrs; do
e101b7
    \rm {c,d,s,z}$f.o
e101b7
done
e101b7
e101b7
# LAPACKE, no 64-bit interface
e101b7
%if %{lapacke}
e101b7
ar x %{_libdir}/liblapacke.a
e101b7
%endif
e101b7
e101b7
# Create makefile
e101b7
echo "TOPDIR = .." > Makefile
e101b7
echo "include ../Makefile.system" >> Makefile
e101b7
echo "COMMONOBJS = \\" >> Makefile
e101b7
for i in *.o; do
e101b7
    echo "$i \\" >> Makefile
e101b7
done
e101b7
echo -e "\n\ninclude \$(TOPDIR)/Makefile.tail" >> Makefile
e101b7
e101b7
%if %{lapacke}
e101b7
# Copy include files
e101b7
cp -a %{_includedir}/lapacke .
e101b7
%endif
e101b7
cd ..
e101b7
e101b7
# Copy in place
e101b7
for d in {serial,threaded,openmp}64{,_}; do
e101b7
    cp -pr netliblapack64 $d/netliblapack
e101b7
done
e101b7
rm -rf netliblapack64
e101b7
%endif
e101b7
%endif
e101b7
e101b7
%build
e101b7
%if !%{lapacke}
e101b7
LAPACKE="NO_LAPACKE=1"
e101b7
%endif
e101b7
e101b7
# Maximum possible amount of processors
e101b7
NMAX="NUM_THREADS=128"
e101b7
e101b7
%ifarch %{ix86} x86_64
e101b7
TARGET="TARGET=CORE2 DYNAMIC_ARCH=1"
e101b7
e101b7
# Compability for old versions of GCC
e101b7
%if 0%{?rhel} == 5
e101b7
export AVX="NO_AVX=1 NO_AVX2=1"
e101b7
%endif
e101b7
%if 0%{?rhel} == 6
e101b7
export AVX="NO_AVX2=1"
e101b7
%endif
e101b7
e101b7
%endif
e101b7
%ifarch armv7hl
e101b7
TARGET="TARGET=ARMV7 DYNAMIC_ARCH=0"
e101b7
%endif
e101b7
%ifarch ppc64
e101b7
TARGET="TARGET=POWER6 DYNAMIC_ARCH=0"
e101b7
%endif
e101b7
%ifarch ppc64p7
e101b7
TARGET="TARGET=POWER7 DYNAMIC_ARCH=0"
e101b7
%endif
e101b7
%ifarch ppc64le
e101b7
TARGET="TARGET=POWER8 DYNAMIC_ARCH=0"
e101b7
%endif
e101b7
%ifarch aarch64
e101b7
TARGET="TARGET=ARMV8 DYNAMIC_ARCH=0"
e101b7
%endif
e101b7
%ifarch s390x
e101b7
TARGET="TARGET=Z13 DYNAMIC_ARCH=0"
e101b7
%endif
e101b7
e101b7
%if 0%{?rhel} == 5
e101b7
# Gfortran too old to recognize -frecursive
e101b7
COMMON="%{optflags} -fPIC"
e101b7
FCOMMON="%{optflags} -fPIC -cpp"
e101b7
%else
e101b7
COMMON="%{optflags} -fPIC"
e101b7
FCOMMON="%{optflags} -fPIC -frecursive -cpp"
e101b7
%endif
e101b7
# Use Fedora linker flags
e101b7
export LDFLAGS="%{__global_ldflags}"
e101b7
e101b7
# ensure object files built from assembler sources are annotated
e101b7
export ASMFLAGS="-Wa,--generate-missing-build-notes=yes"
e101b7
e101b7
make -C Rblas      $TARGET USE_THREAD=0 USEOPENMP=0 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libRblas" LIBSONAME="libRblas.so" $AVX $LAPACKE INTERFACE64=0
e101b7
e101b7
# Declare some necessary build flags
e101b7
COMMON="%{optflags} -fPIC"
e101b7
FCOMMON="$COMMON -frecursive -cpp"
e101b7
make -C serial     $TARGET USE_THREAD=0 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblas"      $AVX $LAPACKE INTERFACE64=0
e101b7
make -C threaded   $TARGET USE_THREAD=1 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblasp"     $AVX $LAPACKE INTERFACE64=0
e101b7
e101b7
# USE_THREAD determines use of SMP, not of pthreads
e101b7
COMMON="%{optflags} -fPIC -fopenmp -pthread"
e101b7
FCOMMON="$COMMON -frecursive -cpp"
e101b7
make -C openmp     $TARGET USE_THREAD=1 USE_OPENMP=1 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblaso"     $AVX $LAPACKE INTERFACE64=0
e101b7
e101b7
%if %build64
e101b7
COMMON="%{optflags} -fPIC"
e101b7
FCOMMON="$COMMON -frecursive -fdefault-integer-8 -cpp"
e101b7
make -C serial64   $TARGET USE_THREAD=0 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblas64"    $AVX $LAPACKE INTERFACE64=1
e101b7
make -C threaded64 $TARGET USE_THREAD=1 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblasp64"   $AVX $LAPACKE INTERFACE64=1
e101b7
e101b7
COMMON="%{optflags} -fPIC -fopenmp -pthread"
e101b7
FCOMMON="$COMMON -frecursive -fdefault-integer-8 -cpp"
e101b7
make -C openmp64   $TARGET USE_THREAD=1 USE_OPENMP=1 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblaso64"   $AVX $LAPACKE INTERFACE64=1
e101b7
e101b7
COMMON="%{optflags} -fPIC"
e101b7
FCOMMON="$COMMON -frecursive  -fdefault-integer-8 -cpp"
e101b7
make -C serial64_   $TARGET USE_THREAD=0 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblas64_"  $AVX $LAPACKE INTERFACE64=1 SYMBOLSUFFIX=64_
e101b7
make -C threaded64_ $TARGET USE_THREAD=1 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblasp64_" $AVX $LAPACKE INTERFACE64=1 SYMBOLSUFFIX=64_
e101b7
e101b7
COMMON="%{optflags} -fPIC -fopenmp -pthread"
e101b7
FCOMMON="$COMMON -frecursive -fdefault-integer-8 -cpp"
e101b7
make -C openmp64_   $TARGET USE_THREAD=1 USE_OPENMP=1 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblaso64_" $AVX $LAPACKE INTERFACE64=1 SYMBOLSUFFIX=64_
e101b7
%endif
e101b7
e101b7
%install
e101b7
rm -rf %{buildroot}
e101b7
# Install serial library and headers
e101b7
make -C serial USE_THREAD=0 PREFIX=%{buildroot} OPENBLAS_LIBRARY_DIR=%{buildroot}%{_libdir} OPENBLAS_INCLUDE_DIR=%{buildroot}%{_includedir}/%name OPENBLAS_BINARY_DIR=%{buildroot}%{_bindir} OPENBLAS_CMAKE_DIR=%{buildroot}%{_libdir}/cmake install
e101b7
e101b7
# Copy lapacke include files
e101b7
%if %{with system_lapack} && %{lapacke}
e101b7
cp -a %{_includedir}/lapacke %{buildroot}%{_includedir}/%{name}
e101b7
%endif
e101b7
e101b7
# Fix i686-x86_64 multilib difference
e101b7
%multilib_fix_c_header --file %{_includedir}/openblas/openblas_config.h
e101b7
e101b7
# Fix name of libraries
e101b7
%ifarch armv7hl
e101b7
suffix="_armv7"
e101b7
%endif
e101b7
%ifarch ppc64
e101b7
suffix="_power6"
e101b7
%endif
e101b7
%ifarch ppc64p7
e101b7
suffix="_power7"
e101b7
%endif
e101b7
%ifarch ppc64le
e101b7
suffix="_power8"
e101b7
%endif
e101b7
%ifarch aarch64
e101b7
suffix="_armv8"
e101b7
%endif
e101b7
%ifarch s390x
e101b7
suffix="_z13"
e101b7
%endif
e101b7
slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
e101b7
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
e101b7
if [[ "$suffix" != "" ]]; then
e101b7
   sname=$(echo $slibname | sed "s|$suffix||g")
e101b7
   mv %{buildroot}%{_libdir}/${slibname}.so %{buildroot}%{_libdir}/${sname}.so
e101b7
else
e101b7
   sname=${slibname}
e101b7
fi
e101b7
e101b7
# Install the Rblas library
e101b7
mkdir -p %{buildroot}%{_libdir}/R/lib/
e101b7
install -p -m 755 Rblas/libRblas.so %{buildroot}%{_libdir}/R/lib/
e101b7
e101b7
# Install the OpenMP library
e101b7
olibname=`echo ${slibname} | sed "s|lib%{name}|lib%{name}o|g"`
e101b7
install -D -p -m 644 openmp/${olibname}.a %{buildroot}%{_libdir}/lib%{name}o.a
e101b7
if [[ "$suffix" != "" ]]; then
e101b7
   oname=$(echo $olibname | sed "s|$suffix||g")
e101b7
else
e101b7
   oname=${olibname}
e101b7
fi
e101b7
install -D -p -m 755 openmp/${olibname}.so %{buildroot}%{_libdir}/${oname}.so
e101b7
e101b7
# Install the threaded library
e101b7
plibname=`echo ${slibname} | sed "s|lib%{name}|lib%{name}p|g"`
e101b7
install -D -p -m 644 threaded/${plibname}.a %{buildroot}%{_libdir}/lib%{name}p.a
e101b7
if [[ "$suffix" != "" ]]; then
e101b7
   pname=$(echo $plibname | sed "s|$suffix||g")
e101b7
else
e101b7
   pname=${plibname}
e101b7
fi
e101b7
install -D -p -m 755 threaded/${plibname}.so %{buildroot}%{_libdir}/${pname}.so
e101b7
e101b7
# Install the 64-bit interface libraries
e101b7
%if %build64
e101b7
slibname64=`echo ${slibname} | sed "s|lib%{name}|lib%{name}64|g"`
e101b7
install -D -p -m 644 serial64/${slibname64}.a %{buildroot}%{_libdir}/lib%{name}64.a
e101b7
slibname64_=`echo ${slibname} | sed "s|lib%{name}|lib%{name}64_|g"`
e101b7
install -D -p -m 644 serial64_/${slibname64_}.a %{buildroot}%{_libdir}/lib%{name}64_.a
e101b7
e101b7
if [[ "$suffix" != "" ]]; then
e101b7
   sname64=$(echo ${slibname64} | sed "s|$suffix||g")
e101b7
   sname64_=$(echo ${slibname64_} | sed "s|$suffix||g")
e101b7
else
e101b7
   sname64=${slibname64}
e101b7
   sname64_=${slibname64_}
e101b7
fi
e101b7
install -D -p -m 755 serial64/${slibname64}.so %{buildroot}%{_libdir}/${sname64}.so
e101b7
install -D -p -m 755 serial64_/${slibname64_}.so %{buildroot}%{_libdir}/${sname64_}.so
e101b7
e101b7
olibname64=`echo ${slibname} | sed "s|lib%{name}|lib%{name}o64|g"`
e101b7
install -D -p -m 644 openmp64/${olibname64}.a %{buildroot}%{_libdir}/lib%{name}o64.a
e101b7
olibname64_=`echo ${slibname} | sed "s|lib%{name}|lib%{name}o64_|g"`
e101b7
install -D -p -m 644 openmp64_/${olibname64_}.a %{buildroot}%{_libdir}/lib%{name}o64_.a
e101b7
e101b7
if [[ "$suffix" != "" ]]; then
e101b7
   oname64=$(echo ${olibname64} | sed "s|$suffix||g")
e101b7
   oname64_=$(echo ${olibname64_} | sed "s|$suffix||g")
e101b7
else
e101b7
   oname64=${olibname64}
e101b7
   oname64_=${olibname64_}
e101b7
fi
e101b7
install -D -p -m 755 openmp64/${olibname64}.so %{buildroot}%{_libdir}/${oname64}.so
e101b7
install -D -p -m 755 openmp64_/${olibname64_}.so %{buildroot}%{_libdir}/${oname64_}.so
e101b7
e101b7
plibname64=`echo ${slibname} | sed "s|lib%{name}|lib%{name}p64|g"`
e101b7
install -D -p -m 644 threaded64/${plibname64}.a %{buildroot}%{_libdir}/lib%{name}p64.a
e101b7
plibname64_=`echo ${slibname} | sed "s|lib%{name}|lib%{name}p64_|g"`
e101b7
install -D -p -m 644 threaded64_/${plibname64_}.a %{buildroot}%{_libdir}/lib%{name}p64_.a
e101b7
e101b7
if [[ "$suffix" != "" ]]; then
e101b7
   pname64=$(echo $plibname64 | sed "s|$suffix||g")
e101b7
   pname64_=$(echo $plibname64_ | sed "s|$suffix||g")
e101b7
else
e101b7
   pname64=${plibname64}
e101b7
   pname64_=${plibname64_}
e101b7
fi
e101b7
install -D -p -m 755 threaded64/${plibname64}.so %{buildroot}%{_libdir}/${pname64}.so
e101b7
install -D -p -m 755 threaded64_/${plibname64_}.so %{buildroot}%{_libdir}/${pname64_}.so
e101b7
%endif
e101b7
e101b7
# Fix symlinks
e101b7
pushd %{buildroot}%{_libdir}
e101b7
# Serial libraries
e101b7
ln -sf ${sname}.so lib%{name}.so
e101b7
ln -sf ${sname}.so lib%{name}.so.0
e101b7
# OpenMP libraries
e101b7
ln -sf ${oname}.so lib%{name}o.so
e101b7
ln -sf ${oname}.so lib%{name}o.so.0
e101b7
# Threaded libraries
e101b7
ln -sf ${pname}.so lib%{name}p.so
e101b7
ln -sf ${pname}.so lib%{name}p.so.0
e101b7
e101b7
%if %build64
e101b7
# Serial libraries
e101b7
ln -sf ${sname64}.so lib%{name}64.so
e101b7
ln -sf ${sname64}.so lib%{name}64.so.0
e101b7
ln -sf ${sname64_}.so lib%{name}64_.so
e101b7
ln -sf ${sname64_}.so lib%{name}64_.so.0
e101b7
# OpenMP libraries
e101b7
ln -sf ${oname64}.so lib%{name}o64.so
e101b7
ln -sf ${oname64}.so lib%{name}o64.so.0
e101b7
ln -sf ${oname64_}.so lib%{name}o64_.so
e101b7
ln -sf ${oname64_}.so lib%{name}o64_.so.0
e101b7
# Threaded libraries
e101b7
ln -sf ${pname64}.so lib%{name}p64.so
e101b7
ln -sf ${pname64}.so lib%{name}p64.so.0
e101b7
ln -sf ${pname64_}.so lib%{name}p64_.so
e101b7
ln -sf ${pname64_}.so lib%{name}p64_.so.0
e101b7
%endif
e101b7
e101b7
%if %{execstack}
e101b7
# Get rid of executable stacks
e101b7
for lib in %{buildroot}%{_libdir}/libopenblas*.so; do
e101b7
 execstack -c $lib
e101b7
done
e101b7
for lib in %{buildroot}%{_libdir}/R/lib/libRblas*.so; do
e101b7
 execstack -c $lib
e101b7
done
e101b7
%endif
e101b7
e101b7
# Get rid of generated CMake config
e101b7
rm -rf %{buildroot}%{_libdir}/cmake
e101b7
# Get rid of generated pkgconfig
e101b7
rm -rf %{buildroot}%{_libdir}/pkgconfig
e101b7
e101b7
%post -p /sbin/ldconfig
e101b7
%postun -p /sbin/ldconfig
e101b7
e101b7
%post openmp -p /sbin/ldconfig
e101b7
%postun openmp -p /sbin/ldconfig
e101b7
e101b7
%post Rblas -p /sbin/ldconfig
e101b7
%postun Rblas -p /sbin/ldconfig
e101b7
e101b7
%post threads -p /sbin/ldconfig
e101b7
%postun threads -p /sbin/ldconfig
e101b7
e101b7
%if %build64
e101b7
%post openmp64 -p /sbin/ldconfig
e101b7
%postun openmp64 -p /sbin/ldconfig
e101b7
%post openmp64_ -p /sbin/ldconfig
e101b7
%postun openmp64_ -p /sbin/ldconfig
e101b7
e101b7
%post serial64 -p /sbin/ldconfig
e101b7
%postun serial64 -p /sbin/ldconfig
e101b7
%post serial64_ -p /sbin/ldconfig
e101b7
%postun serial64_ -p /sbin/ldconfig
e101b7
e101b7
%post threads64 -p /sbin/ldconfig
e101b7
%postun threads64 -p /sbin/ldconfig
e101b7
%post threads64_ -p /sbin/ldconfig
e101b7
%postun threads64_ -p /sbin/ldconfig
e101b7
%endif
e101b7
e101b7
%files
e101b7
%doc serial/Changelog.txt serial/GotoBLAS* serial/LICENSE
e101b7
%{_libdir}/lib%{name}-*.so
e101b7
%{_libdir}/lib%{name}.so.*
e101b7
e101b7
%files openmp
e101b7
%{_libdir}/lib%{name}o-*.so
e101b7
%{_libdir}/lib%{name}o.so.*
e101b7
e101b7
%files threads
e101b7
%{_libdir}/lib%{name}p-*.so
e101b7
%{_libdir}/lib%{name}p.so.*
e101b7
e101b7
%if %build64
e101b7
%files serial64
e101b7
%{_libdir}/lib%{name}64-*.so
e101b7
%{_libdir}/lib%{name}64.so.*
e101b7
e101b7
%files openmp64
e101b7
%{_libdir}/lib%{name}o64-*.so
e101b7
%{_libdir}/lib%{name}o64.so.*
e101b7
e101b7
%files threads64
e101b7
%{_libdir}/lib%{name}p64-*.so
e101b7
%{_libdir}/lib%{name}p64.so.*
e101b7
e101b7
%files serial64_
e101b7
%{_libdir}/lib%{name}64_-*.so
e101b7
%{_libdir}/lib%{name}64_.so.*
e101b7
e101b7
%files openmp64_
e101b7
%{_libdir}/lib%{name}o64_-*.so
e101b7
%{_libdir}/lib%{name}o64_.so.*
e101b7
e101b7
%files threads64_
e101b7
%{_libdir}/lib%{name}p64_-*.so
e101b7
%{_libdir}/lib%{name}p64_.so.*
e101b7
%endif
e101b7
e101b7
%files devel
e101b7
%{_includedir}/%{name}/
e101b7
%{_libdir}/lib%{name}.so
e101b7
%{_libdir}/lib%{name}o.so
e101b7
%{_libdir}/lib%{name}p.so
e101b7
%if %build64
e101b7
%{_libdir}/lib%{name}64.so
e101b7
%{_libdir}/lib%{name}o64.so
e101b7
%{_libdir}/lib%{name}p64.so
e101b7
%{_libdir}/lib%{name}64_.so
e101b7
%{_libdir}/lib%{name}o64_.so
e101b7
%{_libdir}/lib%{name}p64_.so
e101b7
%endif
e101b7
e101b7
%files Rblas
e101b7
%{_libdir}/R/lib/libRblas.so
e101b7
e101b7
%files static
e101b7
%{_libdir}/lib%{name}.a
e101b7
%{_libdir}/lib%{name}o.a
e101b7
%{_libdir}/lib%{name}p.a
e101b7
%if %build64
e101b7
%{_libdir}/lib%{name}64.a
e101b7
%{_libdir}/lib%{name}o64.a
e101b7
%{_libdir}/lib%{name}p64.a
e101b7
%{_libdir}/lib%{name}64_.a
e101b7
%{_libdir}/lib%{name}o64_.a
e101b7
%{_libdir}/lib%{name}p64_.a
e101b7
%endif
e101b7
e101b7
%changelog
e101b7
* Fri Nov 22 2019 Nikola Forró <nforro@redhat.com> - 0.3.3-5
e101b7
- Detect POWER9 as POWER8
e101b7
  related: #1752241
e101b7
e101b7
* Wed Nov 20 2019 Nikola Forró <nforro@redhat.com> - 0.3.3-4
e101b7
- Add tests and enable gating
e101b7
  related: #1752241
e101b7
e101b7
* Tue Sep 24 2019 Nikola Forró <nforro@redhat.com> - 0.3.3-3
e101b7
- Fix izamax on s390x
e101b7
  resolves: #1752241
e101b7
e101b7
* Wed Nov 07 2018 Nikola Forró <nforro@redhat.com> - 0.3.3-2
e101b7
- Fix i686-x86_64 multilib difference
e101b7
  related: #1627890
e101b7
e101b7
* Fri Oct 19 2018 Nikola Forró <nforro@redhat.com> - 0.3.3-1
e101b7
- Rebase to version 0.3.3
e101b7
  resolves: #1627890
e101b7
e101b7
* Mon Oct 15 2018 Nikola Forró <nforro@redhat.com> - 0.2.20-16
e101b7
- Set proper CFLAGS also for Rblas
e101b7
  related: #1624156
e101b7
e101b7
* Fri Oct 12 2018 Nikola Forró <nforro@redhat.com> - 0.2.20-15
e101b7
- Remove optimization pragmas on ppc64le
e101b7
  related: #1624156
e101b7
e101b7
* Wed Sep 26 2018 Nikola Forró <nforro@redhat.com> - 0.2.20-14
e101b7
- Ensure object files built from assembler sources are annotated
e101b7
  related: #1624156
e101b7
e101b7
* Mon Sep 17 2018 Nikola Forró <nforro@redhat.com> - 0.2.20-13
e101b7
- Fix detection of generic ARMv8 CPUs
e101b7
- Get rid of executable stack in libRblas.so
e101b7
  related: #1624156
e101b7
e101b7
* Thu Sep 06 2018 Nikola Forró <nforro@redhat.com> - 0.2.20-12
e101b7
- Force preprocessing of Fortran sources to make annobin record proper flags
e101b7
- Enable optimizations for all LAPACK sources
e101b7
  resolves: #1624156
e101b7
e101b7
* Tue Aug 14 2018 Nikola Forró <nforro@redhat.com> - 0.2.20-11
e101b7
- Fix build on s390x (#1615557)
e101b7
e101b7
* Thu Mar 22 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-10
e101b7
- Disable CPU affinity unintentionally enabled upstream (BZ #1558091).
e101b7
e101b7
* Wed Mar 04 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-9
e101b7
- Clean up obsolete conditionals for 64 bit builds in spec file.
e101b7
e101b7
* Tue Feb 27 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-8
e101b7
- Use %%__global_ldflags instead of %%build_ldflags that doesn't work on
e101b7
  all distributions.
e101b7
e101b7
* Tue Feb 27 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-7
e101b7
- Honor Fedora linker flags (BZ #1548750).
e101b7
e101b7
* Wed Feb 14 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-6
e101b7
- Drop arch-dependent buildrequires (BZ #1545201); no changes to package
e101b7
  (only affects packages custom built with --with system_lapack).
e101b7
e101b7
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.20-5
e101b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e101b7
e101b7
* Tue Jan 30 2018 Florian Weimer <fweimer@redhat.com> - 0.2.20-4
e101b7
- Rebuild for GCC 8
e101b7
e101b7
* Thu Sep 14 2017 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-3
e101b7
- Simplify spec, dropping extra lib arguments.
e101b7
e101b7
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.20-2
e101b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e101b7
e101b7
* Fri Jul 28 2017 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-1
e101b7
- Update to 0.2.20.
e101b7
e101b7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.19-12
e101b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e101b7
e101b7
* Mon May 29 2017 Dan Horák <dan[at]danny.cz> - 0.2.19-11
e101b7
- add generic s390x support (#1442048)
e101b7
e101b7
* Mon Mar 20 2017 Orion Poplawski <orion@cora.nwra.com> - 0.2.19-10
e101b7
- Drop openblas-srpm-macros version requirement
e101b7
e101b7
* Mon Mar 20 2017 Orion Poplawski <orion@cora.nwra.com> - 0.2.19-9
e101b7
- Move openblas-srpm-macros to separate package
e101b7
e101b7
* Wed Mar 15 2017 Orion Poplawski <orion@cora.nwra.com> - 0.2.19-8
e101b7
- Define %%openblas_arches for dependent packages to use
e101b7
e101b7
* Mon Feb 13 2017 Björn Esser <besser82@fedoraproject.org> - 0.2.19-7
e101b7
- Upgrade Patch4 to hopefully fully fix the issues on PPC64LE
e101b7
e101b7
* Fri Feb 03 2017 Björn Esser <besser82@fedoraproject.org> - 0.2.19-6
e101b7
- Add Patch4 to fix register clobbers (BZ #1417385)
e101b7
e101b7
* Sat Jan 28 2017 Björn Esser <besser82@fedoraproject.org> - 0.2.19-5
e101b7
- Rebuilt for GCC-7
e101b7
e101b7
* Wed Dec 14 2016 Tom Callaway <spot@fedoraproject.org> - 0.2.19-4
e101b7
- build a copy of openblas that thinks it is Rblas
e101b7
  There are no code changes, except for libname and soname, it is identical to libopenblas.so.0
e101b7
  Unfortunately, while R itself is fine using a symlink from libopenblas.so.0 to libRblas.so
e101b7
  the larger R ecosystem becomes unhappy in this scenario.
e101b7
e101b7
* Thu Nov 03 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.19-3
e101b7
- Fix linkage of OpenMP libraries (BZ #1391491).
e101b7
e101b7
* Thu Oct 20 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.19-2
e101b7
- Actually use 8-bit integers in 64-bit interfaces (BZ #1382916).
e101b7
e101b7
* Tue Oct 18 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.19-1
e101b7
- Update to 0.2.19.
e101b7
e101b7
* Wed Aug 17 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.18-5
e101b7
- Revert "minor spec cleanups" by Peter Robinson.
e101b7
e101b7
* Wed Jul 13 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.2.18-4
e101b7
- aarch64 has execstack in Fedora
e101b7
- Minor spec cleanups
e101b7
e101b7
* Wed Jul 13 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.18-3
e101b7
- Enable ppc64 and ppc64p7 architectures
e101b7
  based on Dan Horák's patch (BZ #1356189).
e101b7
- Supply proper make flags to the tests.
e101b7
e101b7
* Tue Jul 12 2016 Jeff Bastian <jbastian@redhat.com> - 0.2.18-2
e101b7
- update for aarch64
e101b7
e101b7
* Tue Apr 12 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.18-1
e101b7
- Update to 0.2.18.
e101b7
e101b7
* Wed Apr 6 2016 Orion Poplawski <orion@cora.nwra.com> - 0.2.17-1
e101b7
- Update to 0.2.17
e101b7
e101b7
* Fri Mar 18 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.16-3
e101b7
- Include deprecated LAPACK functions.
e101b7
e101b7
* Wed Mar 16 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.16-2
e101b7
- Fix library suffix on ppc64le.
e101b7
e101b7
* Tue Mar 15 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.16-1
e101b7
- Update to 0.2.16.
e101b7
e101b7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.15-6
e101b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e101b7
e101b7
* Tue Jan 12 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.15-5
e101b7
- Need to use -frecursive to make LAPACK thread safe.
e101b7
e101b7
* Tue Jan 12 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.15-4
e101b7
- Add version to bundled lapack provide.
e101b7
e101b7
* Mon Jan 11 2016 Orion Poplawski <orion@cora.nwra.com> - 0.2.15-3
e101b7
- Allow conditional build with or without system lapack, default to without
e101b7
e101b7
* Tue Dec 01 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.15-2
e101b7
- Enable armv7hl and ppc64le architectures.
e101b7
- Build versions of the 64-bit libraries with an additional suffix
e101b7
  (BZ #1287541).
e101b7
e101b7
* Wed Oct 28 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.15-1
e101b7
- Update to 0.2.15.
e101b7
e101b7
* Tue Aug 04 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.14-4
e101b7
- Use new execstack (#1247795)
e101b7
e101b7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.14-3
e101b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e101b7
e101b7
* Sun May  3 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.2.14-2
e101b7
- Run ldconfig on 64 builds too
e101b7
e101b7
* Wed Mar 25 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.14-1
e101b7
- Update to 0.2.14.
e101b7
e101b7
* Fri Dec 19 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.13-2
e101b7
- Bump spec due to LAPACK rebuild.
e101b7
e101b7
* Fri Dec 05 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.13-1
e101b7
- Update to 0.2.13.
e101b7
e101b7
* Mon Oct 13 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.12-1
e101b7
- Update to 0.2.12.
e101b7
e101b7
* Mon Aug 18 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.11-1
e101b7
- Update to 0.2.11.
e101b7
e101b7
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.10-2
e101b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e101b7
e101b7
* Wed Jul 16 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.10-1
e101b7
- Update to 0.2.10.
e101b7
e101b7
* Wed Jun 11 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.9-1
e101b7
- Increase maximum amount of cores from 32 to 128.
e101b7
- Add 64-bit interface support. (BZ #1088256)
e101b7
- Update to 0.2.9. (BZ #1043083)
e101b7
e101b7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-2
e101b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e101b7
e101b7
* Wed Aug 07 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.8-1
e101b7
- Update to 0.2.8.
e101b7
e101b7
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-2
e101b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e101b7
e101b7
* Tue Jul 23 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.7-1
e101b7
- Update to 0.2.7.
e101b7
- Use OpenBLAS versions of LAPACK functions, as they seem to be
e101b7
  working now.
e101b7
e101b7
* Mon Jul 08 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-10
e101b7
- Due to long standing bug, replace all OpenBLAS LAPACK functions with
e101b7
  generic ones, so that package can finally be released in stable.
e101b7
e101b7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-9
e101b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e101b7
e101b7
* Tue Jan 15 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-8
e101b7
- Added LAPACKE include files.
e101b7
e101b7
* Mon Jan 14 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-7
e101b7
- Fix build on RHEL5 and ppc architecture.
e101b7
e101b7
* Mon Dec 24 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-6
e101b7
- Review fixes.
e101b7
e101b7
* Fri Dec 21 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-5
e101b7
- Disable LAPACKE support on distributions where it is not available due to
e101b7
  a too old version of lapack.
e101b7
e101b7
* Mon Dec 17 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-4
e101b7
- Don't use reference LAPACK functions that have optimized implementation.
e101b7
e101b7
* Wed Dec 12 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-3
e101b7
- Use system version of LAPACK.
e101b7
e101b7
* Mon Nov 26 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-2
e101b7
- Fixed 32-bit build, and build on EPEL 5.
e101b7
e101b7
* Mon Nov 26 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-1
e101b7
- Update to 0.2.5.
e101b7
e101b7
* Thu Oct 06 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.1-2.alpha2.4
e101b7
- Added documentation.
e101b7
e101b7
* Sun Sep 18 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.1-1.alpha2.4
e101b7
- First release.