|
|
058c89d |
Name: openblas
|
|
|
058c89d |
Version: 0.2.9
|
|
|
058c89d |
Release: 1%{?dist}
|
|
|
058c89d |
Summary: An optimized BLAS library based on GotoBLAS2
|
|
|
058c89d |
Group: Development/Libraries
|
|
|
058c89d |
License: BSD
|
|
|
058c89d |
URL: https://github.com/xianyi/OpenBLAS/
|
|
|
058c89d |
Source0: https://github.com/xianyi/OpenBLAS/archive/v%{version}.tar.gz
|
|
|
23ef1b6 |
# Use system lapack
|
|
|
058c89d |
Patch0: openblas-0.2.9-system_lapack.patch
|
|
|
23ef1b6 |
# Drop extra p from threaded library name
|
|
|
058c89d |
Patch1: openblas-0.2.5-libname.patch
|
|
|
058c89d |
# Don't test link against functions in lapacke 3.5.0 if only 3.4.0 is available
|
|
|
058c89d |
Patch2: openblas-0.2.9-lapacke.patch
|
|
|
fec3a8e |
# Fix build on i386: https://github.com/wernsaar/OpenBLAS/commit/438002204d79a0393999ae4fe8bc9b5125c45d97.patch
|
|
|
fec3a8e |
Patch3: openblas-0.2.9-i386.patch
|
|
|
058c89d |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
23ef1b6 |
|
|
|
058c89d |
BuildRequires: gcc-gfortran
|
|
|
23ef1b6 |
# For execstack
|
|
|
058c89d |
BuildRequires: prelink
|
|
|
23ef1b6 |
# LAPACK
|
|
|
2aef77a |
%if 0%{?rhel} == 5 || 0%{?rhel} == 6
|
|
|
058c89d |
BuildRequires: lapack-devel%{?_isa}
|
|
|
dc549cd |
%else
|
|
|
058c89d |
BuildRequires: lapack-static%{?_isa}
|
|
|
dc549cd |
%endif
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
# Compability for old versions of GCC
|
|
|
23ef1b6 |
%if 0%{?rhel} == 5
|
|
|
23ef1b6 |
%global avxflag NO_AVX=1
|
|
|
23ef1b6 |
%endif
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
# Do we have LAPACKE? (Needs at least lapack 3.4.0)
|
|
|
23ef1b6 |
%if 0%{?fedora} > 16
|
|
|
23ef1b6 |
%global lapacke 1
|
|
|
23ef1b6 |
%else
|
|
|
23ef1b6 |
%global lapacke 0
|
|
|
23ef1b6 |
%endif
|
|
|
23ef1b6 |
|
|
|
058c89d |
# Build 64-bit interface binaries?
|
|
|
058c89d |
%if 0%{?rhel} == 5 || 0%{?rhel} == 6
|
|
|
058c89d |
# RPM too old to know __isa_bits in RHEL 5, and lapack64 doesn't exist in RHEL 6
|
|
|
058c89d |
%global build64 0
|
|
|
058c89d |
%else
|
|
|
058c89d |
%if 0%{?__isa_bits} == 64
|
|
|
058c89d |
%global build64 1
|
|
|
058c89d |
%else
|
|
|
058c89d |
%global build64 0
|
|
|
058c89d |
%endif
|
|
|
058c89d |
%endif
|
|
|
058c89d |
|
|
|
058c89d |
%if %build64
|
|
|
058c89d |
BuildRequires: lapack64-static
|
|
|
058c89d |
%endif
|
|
|
058c89d |
|
|
|
4949415 |
# Upstream supports the package only on these architectures.
|
|
|
4949415 |
# Runtime processor detection is not available on other archs.
|
|
|
058c89d |
ExclusiveArch: x86_64 %{ix86}
|
|
|
7c8251d |
|
|
|
23ef1b6 |
%global base_description \
|
|
|
7c8251d |
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD \
|
|
|
7c8251d |
version. The project is supported by the Lab of Parallel Software and \
|
|
|
7c8251d |
Computational Science, ISCAS. http://www.rdcps.ac.cn
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%description
|
|
|
23ef1b6 |
%{base_description}
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%package openmp
|
|
|
058c89d |
Summary: An optimized BLAS library based on GotoBLAS2, OpenMP version
|
|
|
058c89d |
Group: Development/Libraries
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%description openmp
|
|
|
23ef1b6 |
%{base_description}
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
This package contains the library compiled with OpenMP support.
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%package threads
|
|
|
058c89d |
Summary: An optimized BLAS library based on GotoBLAS2, pthreads version
|
|
|
058c89d |
Group: Development/Libraries
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%description threads
|
|
|
23ef1b6 |
%{base_description}
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
This package contains the library compiled with threading support.
|
|
|
23ef1b6 |
|
|
|
058c89d |
%if %build64
|
|
|
058c89d |
%package serial64
|
|
|
058c89d |
Summary: An optimized BLAS library based on GotoBLAS2, serial version
|
|
|
058c89d |
Group: Development/Libraries
|
|
|
058c89d |
|
|
|
058c89d |
%description serial64
|
|
|
058c89d |
%{base_description}
|
|
|
058c89d |
|
|
|
058c89d |
This package contains the sequential library compiled with a 64-bit
|
|
|
058c89d |
interface.
|
|
|
058c89d |
|
|
|
058c89d |
%package openmp64
|
|
|
058c89d |
Summary: An optimized BLAS library based on GotoBLAS2, OpenMP version
|
|
|
058c89d |
Group: Development/Libraries
|
|
|
058c89d |
|
|
|
058c89d |
%description openmp64
|
|
|
058c89d |
%{base_description}
|
|
|
058c89d |
|
|
|
058c89d |
This package contains the library compiled with OpenMP support and
|
|
|
058c89d |
64-bit interface.
|
|
|
058c89d |
|
|
|
058c89d |
%package threads64
|
|
|
058c89d |
Summary: An optimized BLAS library based on GotoBLAS2, pthreads version
|
|
|
058c89d |
Group: Development/Libraries
|
|
|
058c89d |
|
|
|
058c89d |
%description threads64
|
|
|
058c89d |
%{base_description}
|
|
|
058c89d |
|
|
|
058c89d |
This package contains the library compiled with threading support and
|
|
|
058c89d |
64-bit interface.
|
|
|
058c89d |
%endif
|
|
|
058c89d |
|
|
|
058c89d |
|
|
|
23ef1b6 |
%package devel
|
|
|
058c89d |
Summary: Development headers and libraries for OpenBLAS
|
|
|
058c89d |
Group: Development/Libraries
|
|
|
058c89d |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
058c89d |
Requires: %{name}-openmp%{?_isa} = %{version}-%{release}
|
|
|
058c89d |
Requires: %{name}-threads%{?_isa} = %{version}-%{release}
|
|
|
058c89d |
%if %build64
|
|
|
058c89d |
Requires: %{name}-openmp64%{?_isa} = %{version}-%{release}
|
|
|
058c89d |
Requires: %{name}-threads64%{?_isa} = %{version}-%{release}
|
|
|
058c89d |
Requires: %{name}-serial64%{?_isa} = %{version}-%{release}
|
|
|
058c89d |
%endif
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%description devel
|
|
|
23ef1b6 |
%{base_description}
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
This package contains the development headers and libraries.
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%package static
|
|
|
058c89d |
Summary: Static version of OpenBLAS
|
|
|
058c89d |
Group: Development/Libraries
|
|
|
058c89d |
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%description static
|
|
|
23ef1b6 |
%{base_description}
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
This package contains the static libraries.
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%prep
|
|
|
23ef1b6 |
%setup -q -c -T
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
# Untar source
|
|
|
23ef1b6 |
tar zxf %{SOURCE0}
|
|
|
23ef1b6 |
cd OpenBLAS-%{version}
|
|
|
35ceac4 |
%patch0 -p1 -b .system_lapack
|
|
|
23ef1b6 |
%patch1 -p1 -b .libname
|
|
|
058c89d |
%if 0%{?fedora} > 0 && 0%{?fedora} < 21
|
|
|
058c89d |
%patch2 -p1 -b .lapacke
|
|
|
058c89d |
%endif
|
|
|
fec3a8e |
%patch3 -p1 -b .i386
|
|
|
35ceac4 |
|
|
|
35ceac4 |
# Get rid of bundled LAPACK sources
|
|
|
35ceac4 |
rm -rf lapack-netlib
|
|
|
23ef1b6 |
|
|
|
058c89d |
# Make serial, threaded and OpenMP versions; as well as 64-bit versions
|
|
|
058c89d |
cd ..
|
|
|
058c89d |
cp -ar OpenBLAS-%{version} openmp
|
|
|
058c89d |
cp -ar OpenBLAS-%{version} threaded
|
|
|
058c89d |
%if %build64
|
|
|
058c89d |
cp -ar OpenBLAS-%{version} openmp64
|
|
|
058c89d |
cp -ar OpenBLAS-%{version} threaded64
|
|
|
058c89d |
cp -ar OpenBLAS-%{version} serial64
|
|
|
058c89d |
%endif
|
|
|
058c89d |
mv OpenBLAS-%{version} serial
|
|
|
058c89d |
|
|
|
058c89d |
# Setup 32-bit interface LAPACK
|
|
|
23ef1b6 |
mkdir netliblapack
|
|
|
23ef1b6 |
cd netliblapack
|
|
|
23ef1b6 |
ar x %{_libdir}/liblapack_pic.a
|
|
|
35ceac4 |
# Get rid of duplicate functions. See list in Makefile of lapack directory
|
|
|
35ceac4 |
for f in laswp getf2 getrf potf2 potrf lauu2 lauum trti2 trtri getrs; do
|
|
|
35ceac4 |
\rm {c,d,s,z}$f.o
|
|
|
35ceac4 |
done
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
# LAPACKE
|
|
|
23ef1b6 |
%if %{lapacke}
|
|
|
23ef1b6 |
ar x %{_libdir}/liblapacke.a
|
|
|
23ef1b6 |
%endif
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
# Create makefile
|
|
|
23ef1b6 |
echo "TOPDIR = .." > Makefile
|
|
|
23ef1b6 |
echo "include ../Makefile.system" >> Makefile
|
|
|
23ef1b6 |
echo "COMMONOBJS = \\" >> Makefile
|
|
|
23ef1b6 |
for i in *.o; do
|
|
|
23ef1b6 |
echo "$i \\" >> Makefile
|
|
|
23ef1b6 |
done
|
|
|
23ef1b6 |
echo -e "\n\ninclude \$(TOPDIR)/Makefile.tail" >> Makefile
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%if %{lapacke}
|
|
|
23ef1b6 |
# Copy include files
|
|
|
23ef1b6 |
cp -a %{_includedir}/lapacke .
|
|
|
23ef1b6 |
%endif
|
|
|
23ef1b6 |
cd ..
|
|
|
23ef1b6 |
|
|
|
058c89d |
# Copy in place
|
|
|
058c89d |
for d in serial threaded openmp; do
|
|
|
058c89d |
cp -pr netliblapack $d
|
|
|
058c89d |
done
|
|
|
058c89d |
rm -rf netliblapack
|
|
|
058c89d |
|
|
|
058c89d |
|
|
|
058c89d |
# Setup 64-bit interface LAPACK
|
|
|
058c89d |
%if %build64
|
|
|
058c89d |
mkdir netliblapack64
|
|
|
058c89d |
cd netliblapack64
|
|
|
058c89d |
ar x %{_libdir}/liblapack64_pic.a
|
|
|
058c89d |
# Get rid of duplicate functions. See list in Makefile of lapack directory
|
|
|
058c89d |
for f in laswp getf2 getrf potf2 potrf lauu2 lauum trti2 trtri getrs; do
|
|
|
058c89d |
\rm {c,d,s,z}$f.o
|
|
|
058c89d |
done
|
|
|
058c89d |
|
|
|
058c89d |
# LAPACKE, no 64-bit interface
|
|
|
058c89d |
%if %{lapacke}
|
|
|
058c89d |
ar x %{_libdir}/liblapacke.a
|
|
|
058c89d |
%endif
|
|
|
058c89d |
|
|
|
058c89d |
# Create makefile
|
|
|
058c89d |
echo "TOPDIR = .." > Makefile
|
|
|
058c89d |
echo "include ../Makefile.system" >> Makefile
|
|
|
058c89d |
echo "COMMONOBJS = \\" >> Makefile
|
|
|
058c89d |
for i in *.o; do
|
|
|
058c89d |
echo "$i \\" >> Makefile
|
|
|
058c89d |
done
|
|
|
058c89d |
echo -e "\n\ninclude \$(TOPDIR)/Makefile.tail" >> Makefile
|
|
|
058c89d |
|
|
|
058c89d |
%if %{lapacke}
|
|
|
058c89d |
# Copy include files
|
|
|
058c89d |
cp -a %{_includedir}/lapacke .
|
|
|
058c89d |
%endif
|
|
|
23ef1b6 |
cd ..
|
|
|
058c89d |
|
|
|
058c89d |
# Copy in place
|
|
|
058c89d |
for d in serial64 threaded64 openmp64; do
|
|
|
058c89d |
cp -pr netliblapack64 $d/netliblapack
|
|
|
058c89d |
done
|
|
|
058c89d |
rm -rf netliblapack64
|
|
|
058c89d |
%endif
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%build
|
|
|
23ef1b6 |
%if %{lapacke}
|
|
|
23ef1b6 |
LAPACKE="NO_LAPACKE=0"
|
|
|
23ef1b6 |
%else
|
|
|
23ef1b6 |
LAPACKE="NO_LAPACKE=1"
|
|
|
23ef1b6 |
%endif
|
|
|
23ef1b6 |
|
|
|
058c89d |
# Maximum possible amount of processors
|
|
|
058c89d |
NMAX="NUM_THREADS=128"
|
|
|
058c89d |
|
|
|
058c89d |
make -C serial TARGET=CORE2 DYNAMIC_ARCH=1 USE_THREAD=0 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" $NMAX LIBPREFIX="libopenblas" %{?avxflag} $LAPACKE INTERFACE64=0
|
|
|
058c89d |
make -C threaded TARGET=CORE2 DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" $NMAX LIBPREFIX="libopenblasp" %{?avxflag} $LAPACKE INTERFACE64=0
|
|
|
23ef1b6 |
# USE_THREAD determines use of SMP, not of pthreads
|
|
|
058c89d |
make -C openmp TARGET=CORE2 DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=1 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" $NMAX LIBPREFIX="libopenblaso" %{?avxflag} $LAPACKE INTERFACE64=0
|
|
|
23ef1b6 |
|
|
|
058c89d |
%if %build64
|
|
|
058c89d |
make -C serial64 TARGET=CORE2 DYNAMIC_ARCH=1 USE_THREAD=0 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" $NMAX LIBPREFIX="libopenblas64" %{?avxflag} $LAPACKE INTERFACE64=1
|
|
|
058c89d |
make -C threaded64 TARGET=CORE2 DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" $NMAX LIBPREFIX="libopenblasp64" %{?avxflag} $LAPACKE INTERFACE64=1
|
|
|
058c89d |
make -C openmp64 TARGET=CORE2 DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=1 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" $NMAX LIBPREFIX="libopenblaso64" %{?avxflag} $LAPACKE INTERFACE64=1
|
|
|
058c89d |
%endif
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%install
|
|
|
23ef1b6 |
rm -rf %{buildroot}
|
|
|
23ef1b6 |
# Install serial library and headers
|
|
|
23ef1b6 |
make -C serial USE_THREAD=0 PREFIX=%{buildroot}%{_usr} install
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
# Move include files to package specific directory, so that they don't clash with reference BLAS and LAPACK
|
|
|
23ef1b6 |
mkdir %{buildroot}%{_includedir}/%{name}
|
|
|
23ef1b6 |
mv %{buildroot}%{_includedir}/*.h %{buildroot}%{_includedir}/%{name}
|
|
|
23ef1b6 |
|
|
|
4949415 |
# Copy lapacke include files
|
|
|
4949415 |
%if %{lapacke}
|
|
|
4949415 |
cp -a %{_includedir}/lapacke %{buildroot}%{_includedir}/%{name}
|
|
|
4949415 |
%endif
|
|
|
4949415 |
|
|
|
23ef1b6 |
# Put libraries in correct location
|
|
|
23ef1b6 |
if [ %_lib != lib ]; then
|
|
|
23ef1b6 |
mkdir -p %{buildroot}%{_libdir}
|
|
|
23ef1b6 |
mv %{buildroot}/usr/lib/libopen* %{buildroot}%{_libdir}
|
|
|
23ef1b6 |
fi
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
# Fix name of static library
|
|
|
23ef1b6 |
slibname=`basename %{buildroot}%{_libdir}/libopenblas-*.so .so`
|
|
|
23ef1b6 |
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
# Install the OpenMP library
|
|
|
23ef1b6 |
olibname=`echo ${slibname} | sed "s|lib%{name}|lib%{name}o|g"`
|
|
|
23ef1b6 |
install -D -p -m 755 openmp/${olibname}.so %{buildroot}%{_libdir}/${olibname}.so
|
|
|
23ef1b6 |
install -D -p -m 644 openmp/${olibname}.a %{buildroot}%{_libdir}/lib%{name}o.a
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
# Install the threaded library
|
|
|
23ef1b6 |
plibname=`echo ${slibname} | sed "s|lib%{name}|lib%{name}p|g"`
|
|
|
23ef1b6 |
install -D -p -m 755 threaded/${plibname}.so %{buildroot}%{_libdir}/${plibname}.so
|
|
|
23ef1b6 |
install -D -p -m 644 threaded/${plibname}.a %{buildroot}%{_libdir}/lib%{name}p.a
|
|
|
23ef1b6 |
|
|
|
058c89d |
# Install the 64-bit interface libraries
|
|
|
058c89d |
%if %build64
|
|
|
058c89d |
slibname64=`echo ${slibname} | sed "s|lib%{name}|lib%{name}64|g"`
|
|
|
058c89d |
install -D -p -m 755 serial64/${slibname64}.so %{buildroot}%{_libdir}/${slibname64}.so
|
|
|
058c89d |
install -D -p -m 644 serial64/${slibname64}.a %{buildroot}%{_libdir}/lib%{name}64.a
|
|
|
058c89d |
|
|
|
058c89d |
olibname64=`echo ${slibname} | sed "s|lib%{name}|lib%{name}o64|g"`
|
|
|
058c89d |
install -D -p -m 755 openmp64/${olibname64}.so %{buildroot}%{_libdir}/${olibname64}.so
|
|
|
058c89d |
install -D -p -m 644 openmp64/${olibname64}.a %{buildroot}%{_libdir}/lib%{name}o64.a
|
|
|
058c89d |
|
|
|
058c89d |
plibname64=`echo ${slibname} | sed "s|lib%{name}|lib%{name}p64|g"`
|
|
|
058c89d |
install -D -p -m 755 threaded64/${plibname64}.so %{buildroot}%{_libdir}/${plibname64}.so
|
|
|
058c89d |
install -D -p -m 644 threaded64/${plibname64}.a %{buildroot}%{_libdir}/lib%{name}p64.a
|
|
|
058c89d |
%endif
|
|
|
058c89d |
|
|
|
23ef1b6 |
# Fix source permissions (also applies to LAPACK)
|
|
|
23ef1b6 |
find -name \*.f -exec chmod 644 {} \;
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
# Fix symlinks
|
|
|
23ef1b6 |
pushd %{buildroot}%{_libdir}
|
|
|
23ef1b6 |
# Serial libraries
|
|
|
23ef1b6 |
ln -sf ${slibname}.so lib%{name}.so
|
|
|
23ef1b6 |
ln -sf ${slibname}.so lib%{name}.so.0
|
|
|
23ef1b6 |
# OpenMP libraries
|
|
|
23ef1b6 |
ln -sf ${olibname}.so lib%{name}o.so
|
|
|
23ef1b6 |
ln -sf ${olibname}.so lib%{name}o.so.0
|
|
|
23ef1b6 |
# Threaded libraries
|
|
|
23ef1b6 |
ln -sf ${plibname}.so lib%{name}p.so
|
|
|
23ef1b6 |
ln -sf ${plibname}.so lib%{name}p.so.0
|
|
|
23ef1b6 |
|
|
|
058c89d |
%if %build64
|
|
|
058c89d |
# Serial libraries
|
|
|
058c89d |
ln -sf ${slibname64}.so lib%{name}64.so
|
|
|
058c89d |
ln -sf ${slibname64}.so lib%{name}64.so.0
|
|
|
058c89d |
# OpenMP libraries
|
|
|
058c89d |
ln -sf ${olibname64}.so lib%{name}o64.so
|
|
|
058c89d |
ln -sf ${olibname64}.so lib%{name}o64.so.0
|
|
|
058c89d |
# Threaded libraries
|
|
|
058c89d |
ln -sf ${plibname64}.so lib%{name}p64.so
|
|
|
058c89d |
ln -sf ${plibname64}.so lib%{name}p64.so.0
|
|
|
058c89d |
%endif
|
|
|
058c89d |
|
|
|
058c89d |
|
|
|
23ef1b6 |
# Get rid of executable stacks
|
|
|
23ef1b6 |
for lib in %{buildroot}%{_libdir}/libopenblas{,o,p}-*.so; do
|
|
|
23ef1b6 |
execstack -c $lib
|
|
|
23ef1b6 |
done
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%post -p /sbin/ldconfig
|
|
|
23ef1b6 |
%postun -p /sbin/ldconfig
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%post openmp -p /sbin/ldconfig
|
|
|
23ef1b6 |
%postun openmp -p /sbin/ldconfig
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%post threads -p /sbin/ldconfig
|
|
|
23ef1b6 |
%postun threads -p /sbin/ldconfig
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%clean
|
|
|
23ef1b6 |
rm -rf %{buildroot}
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%files
|
|
|
23ef1b6 |
%defattr(-,root,root,-)
|
|
|
23ef1b6 |
%doc serial/Changelog.txt serial/GotoBLAS* serial/LICENSE
|
|
|
23ef1b6 |
%{_libdir}/lib%{name}-*.so
|
|
|
23ef1b6 |
%{_libdir}/lib%{name}.so.*
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%files openmp
|
|
|
23ef1b6 |
%defattr(-,root,root,-)
|
|
|
23ef1b6 |
%{_libdir}/lib%{name}o-*.so
|
|
|
23ef1b6 |
%{_libdir}/lib%{name}o.so.*
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%files threads
|
|
|
23ef1b6 |
%defattr(-,root,root,-)
|
|
|
23ef1b6 |
%{_libdir}/lib%{name}p-*.so
|
|
|
23ef1b6 |
%{_libdir}/lib%{name}p.so.*
|
|
|
23ef1b6 |
|
|
|
058c89d |
%if %build64
|
|
|
058c89d |
%files serial64
|
|
|
058c89d |
%defattr(-,root,root,-)
|
|
|
058c89d |
%{_libdir}/lib%{name}64-*.so
|
|
|
058c89d |
%{_libdir}/lib%{name}64.so.*
|
|
|
058c89d |
|
|
|
058c89d |
%files openmp64
|
|
|
058c89d |
%defattr(-,root,root,-)
|
|
|
058c89d |
%{_libdir}/lib%{name}o64-*.so
|
|
|
058c89d |
%{_libdir}/lib%{name}o64.so.*
|
|
|
058c89d |
|
|
|
058c89d |
%files threads64
|
|
|
058c89d |
%defattr(-,root,root,-)
|
|
|
058c89d |
%{_libdir}/lib%{name}p64-*.so
|
|
|
058c89d |
%{_libdir}/lib%{name}p64.so.*
|
|
|
058c89d |
%endif
|
|
|
058c89d |
|
|
|
23ef1b6 |
%files devel
|
|
|
23ef1b6 |
%defattr(-,root,root,-)
|
|
|
058c89d |
%{_includedir}/%{name}/
|
|
|
23ef1b6 |
%{_libdir}/lib%{name}.so
|
|
|
23ef1b6 |
%{_libdir}/lib%{name}o.so
|
|
|
23ef1b6 |
%{_libdir}/lib%{name}p.so
|
|
|
058c89d |
%if %build64
|
|
|
058c89d |
%{_libdir}/lib%{name}64.so
|
|
|
058c89d |
%{_libdir}/lib%{name}o64.so
|
|
|
058c89d |
%{_libdir}/lib%{name}p64.so
|
|
|
058c89d |
%endif
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%files static
|
|
|
23ef1b6 |
%defattr(-,root,root,-)
|
|
|
23ef1b6 |
%{_libdir}/lib%{name}.a
|
|
|
23ef1b6 |
%{_libdir}/lib%{name}o.a
|
|
|
23ef1b6 |
%{_libdir}/lib%{name}p.a
|
|
|
058c89d |
%if %build64
|
|
|
058c89d |
%{_libdir}/lib%{name}64.a
|
|
|
058c89d |
%{_libdir}/lib%{name}o64.a
|
|
|
058c89d |
%{_libdir}/lib%{name}p64.a
|
|
|
058c89d |
%endif
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
%changelog
|
|
|
058c89d |
* Wed Jun 11 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.9-1
|
|
|
058c89d |
- Increase maximum amount of cores from 32 to 128.
|
|
|
058c89d |
- Add 64-bit interface support. (BZ #1088256)
|
|
|
058c89d |
- Update to 0.2.9. (BZ #1043083)
|
|
|
058c89d |
|
|
|
b6733ed |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-2
|
|
|
b6733ed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
b6733ed |
|
|
|
ad96ee8 |
* Wed Aug 07 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.8-1
|
|
|
ad96ee8 |
- Update to 0.2.8.
|
|
|
ad96ee8 |
|
|
|
0bd21f7 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-2
|
|
|
0bd21f7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
0bd21f7 |
|
|
|
35ceac4 |
* Tue Jul 23 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.7-1
|
|
|
35ceac4 |
- Update to 0.2.7.
|
|
|
35ceac4 |
- Use OpenBLAS versions of LAPACK functions, as they seem to be
|
|
|
35ceac4 |
working now.
|
|
|
35ceac4 |
|
|
|
3e16f6a |
* Mon Jul 08 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-10
|
|
|
3e16f6a |
- Due to long standing bug, replace all OpenBLAS LAPACK functions with
|
|
|
35ceac4 |
generic ones, so that package can finally be released in stable.
|
|
|
3e16f6a |
|
|
|
eb85a1a |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-9
|
|
|
eb85a1a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
eb85a1a |
|
|
|
4949415 |
* Tue Jan 15 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-8
|
|
|
4949415 |
- Added LAPACKE include files.
|
|
|
4949415 |
|
|
|
dc549cd |
* Mon Jan 14 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-7
|
|
|
dc549cd |
- Fix build on RHEL5 and ppc architecture.
|
|
|
dc549cd |
|
|
|
23ef1b6 |
* Mon Dec 24 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-6
|
|
|
23ef1b6 |
- Review fixes.
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
* Fri Dec 21 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-5
|
|
|
23ef1b6 |
- Disable LAPACKE support on distributions where it is not available due to
|
|
|
23ef1b6 |
a too old version of lapack.
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
* Mon Dec 17 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-4
|
|
|
23ef1b6 |
- Don't use reference LAPACK functions that have optimized implementation.
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
* Wed Dec 12 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-3
|
|
|
23ef1b6 |
- Use system version of LAPACK.
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
* Mon Nov 26 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-2
|
|
|
23ef1b6 |
- Fixed 32-bit build, and build on EPEL 5.
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
* Mon Nov 26 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-1
|
|
|
23ef1b6 |
- Update to 0.2.5.
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
* Thu Oct 06 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.1-2.alpha2.4
|
|
|
23ef1b6 |
- Added documentation.
|
|
|
23ef1b6 |
|
|
|
23ef1b6 |
* Sun Sep 18 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.1-1.alpha2.4
|
|
|
23ef1b6 |
- First release.
|