|
|
383b55 |
%bcond_with system_lapack
|
|
|
383b55 |
# Version of bundled lapack
|
|
|
383b55 |
%global lapackver 3.9.1
|
|
|
383b55 |
|
|
|
383b55 |
# DO NOT "CLEAN UP" OR MODIFY THIS SPEC FILE WITHOUT ASKING THE
|
|
|
383b55 |
# MAINTAINER FIRST!
|
|
|
383b55 |
#
|
|
|
383b55 |
# OpenBLAS is hand written assembler code and it has a limited number
|
|
|
383b55 |
# of supported architectures. Don't enable any new architectures /
|
|
|
383b55 |
# processors a) without checking that it is actually supported and b)
|
|
|
383b55 |
# without modifying the target flags.
|
|
|
383b55 |
#
|
|
|
383b55 |
# The same spec is also used on the EPEL branches, meaninng that some
|
|
|
383b55 |
# "obsoleted" features are still kept in the spec.
|
|
|
383b55 |
|
|
|
383b55 |
Name: openblas
|
|
|
383b55 |
Version: 0.3.15
|
|
|
383b55 |
Release: 3%{?dist}
|
|
|
383b55 |
Summary: An optimized BLAS library based on GotoBLAS2
|
|
|
383b55 |
License: BSD
|
|
|
383b55 |
URL: https://github.com/xianyi/OpenBLAS/
|
|
|
383b55 |
Source0: https://github.com/xianyi/OpenBLAS/archive/v%{version}/openblas-%{version}.tar.gz
|
|
|
383b55 |
# Use system lapack
|
|
|
383b55 |
Patch0: openblas-0.2.15-system_lapack.patch
|
|
|
383b55 |
# Drop extra p from threaded library name
|
|
|
383b55 |
Patch1: openblas-0.2.5-libname.patch
|
|
|
383b55 |
# Don't use constructor priorities on too old architectures
|
|
|
383b55 |
Patch2: openblas-0.2.15-constructor.patch
|
|
|
383b55 |
# Supply the proper flags to the test makefile
|
|
|
383b55 |
Patch3: openblas-0.3.11-tests.patch
|
|
|
383b55 |
# Fix out of bounds read in ?llarv (Reference-LAPACK PR 625)
|
|
|
383b55 |
Patch4: openblas-0.3.15-out-of-bounds-read.patch
|
|
|
383b55 |
|
|
|
383b55 |
BuildRequires: make
|
|
|
383b55 |
BuildRequires: gcc
|
|
|
383b55 |
BuildRequires: gcc-c++
|
|
|
383b55 |
BuildRequires: gcc-gfortran
|
|
|
383b55 |
BuildRequires: perl-devel
|
|
|
383b55 |
BuildRequires: multilib-rpm-config
|
|
|
383b55 |
|
|
|
383b55 |
# Rblas library is no longer necessary
|
|
|
383b55 |
%if 0%{?fedora} >= 31 || 0%{?rhel} >= 8
|
|
|
383b55 |
Obsoletes: %{name}-Rblas < %{version}-%{release}
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
# Do we have execstack?
|
|
|
383b55 |
%if 0%{?rhel} == 7
|
|
|
383b55 |
%ifarch ppc64le aarch64
|
|
|
383b55 |
%global execstack 0
|
|
|
383b55 |
%else
|
|
|
383b55 |
%global execstack 1
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%else
|
|
|
383b55 |
%global execstack 1
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%if %{execstack}
|
|
|
383b55 |
BuildRequires: /usr/bin/execstack
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
# LAPACK
|
|
|
383b55 |
%if %{with system_lapack}
|
|
|
383b55 |
%if 0%{?rhel} == 5 || 0%{?rhel} == 6
|
|
|
383b55 |
BuildRequires: lapack-devel
|
|
|
383b55 |
%else
|
|
|
383b55 |
BuildRequires: lapack-static
|
|
|
383b55 |
%endif
|
|
|
383b55 |
# Do we have LAPACKE? (Needs at least lapack 3.4.0)
|
|
|
383b55 |
%if 0%{?fedora}
|
|
|
383b55 |
%global lapacke 1
|
|
|
383b55 |
%else
|
|
|
383b55 |
%global lapacke 0
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
%else
|
|
|
383b55 |
# Use bundled LAPACK
|
|
|
383b55 |
%global lapacke 1
|
|
|
383b55 |
Provides: bundled(lapack) = %{lapackver}
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
# Build 64-bit interface binaries?
|
|
|
383b55 |
%if 0%{?__isa_bits} == 64
|
|
|
383b55 |
%global build64 1
|
|
|
383b55 |
%bcond_without cpp_thread_check
|
|
|
383b55 |
%else
|
|
|
383b55 |
%global build64 0
|
|
|
383b55 |
%bcond_with cpp_thread_check
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
%if %{with system_lapack}
|
|
|
383b55 |
%if %build64
|
|
|
383b55 |
BuildRequires: lapack64-static
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
# Upstream supports the package only on these architectures.
|
|
|
383b55 |
# Runtime processor detection is not available on other archs.
|
|
|
383b55 |
ExclusiveArch: %{openblas_arches}
|
|
|
383b55 |
|
|
|
383b55 |
%global base_description \
|
|
|
383b55 |
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD \
|
|
|
383b55 |
version. The project is supported by the Lab of Parallel Software and \
|
|
|
383b55 |
Computational Science, ISCAS. http://www.rdcps.ac.cn
|
|
|
383b55 |
|
|
|
383b55 |
|
|
|
383b55 |
%description
|
|
|
383b55 |
%{base_description}
|
|
|
383b55 |
|
|
|
383b55 |
%package serial
|
|
|
383b55 |
Summary: An optimized BLAS library based on GotoBLAS2, serial version
|
|
|
383b55 |
Requires: %{name} = %{version}-%{release}
|
|
|
383b55 |
|
|
|
383b55 |
%description serial
|
|
|
383b55 |
%{base_description}
|
|
|
383b55 |
|
|
|
383b55 |
This package contains the sequential library compiled with a 32-bit
|
|
|
383b55 |
integer interface.
|
|
|
383b55 |
|
|
|
383b55 |
%package openmp
|
|
|
383b55 |
Summary: An optimized BLAS library based on GotoBLAS2, OpenMP version
|
|
|
383b55 |
Requires: %{name} = %{version}-%{release}
|
|
|
383b55 |
|
|
|
383b55 |
%description openmp
|
|
|
383b55 |
%{base_description}
|
|
|
383b55 |
|
|
|
383b55 |
This package contains the library compiled with OpenMP support with
|
|
|
383b55 |
32-bit integer interface.
|
|
|
383b55 |
|
|
|
383b55 |
%package threads
|
|
|
383b55 |
Summary: An optimized BLAS library based on GotoBLAS2, pthreads version
|
|
|
383b55 |
Requires: %{name} = %{version}-%{release}
|
|
|
383b55 |
|
|
|
383b55 |
%description threads
|
|
|
383b55 |
%{base_description}
|
|
|
383b55 |
|
|
|
383b55 |
This package contains the library compiled with threading support and
|
|
|
383b55 |
a 32-bit integer interface.
|
|
|
383b55 |
|
|
|
383b55 |
%if %build64
|
|
|
383b55 |
%package serial64
|
|
|
383b55 |
Summary: An optimized BLAS library based on GotoBLAS2, serial version
|
|
|
383b55 |
Requires: %{name} = %{version}-%{release}
|
|
|
383b55 |
|
|
|
383b55 |
%description serial64
|
|
|
383b55 |
%{base_description}
|
|
|
383b55 |
|
|
|
383b55 |
This package contains the sequential library compiled with a 64-bit
|
|
|
383b55 |
integer interface.
|
|
|
383b55 |
|
|
|
383b55 |
%package openmp64
|
|
|
383b55 |
Summary: An optimized BLAS library based on GotoBLAS2, OpenMP version
|
|
|
383b55 |
Requires: %{name} = %{version}-%{release}
|
|
|
383b55 |
|
|
|
383b55 |
%description openmp64
|
|
|
383b55 |
%{base_description}
|
|
|
383b55 |
|
|
|
383b55 |
This package contains the library compiled with OpenMP support and
|
|
|
383b55 |
64-bit integer interface.
|
|
|
383b55 |
|
|
|
383b55 |
%package threads64
|
|
|
383b55 |
Summary: An optimized BLAS library based on GotoBLAS2, pthreads version
|
|
|
383b55 |
Requires: %{name} = %{version}-%{release}
|
|
|
383b55 |
|
|
|
383b55 |
%description threads64
|
|
|
383b55 |
%{base_description}
|
|
|
383b55 |
|
|
|
383b55 |
This package contains the library compiled with threading support and
|
|
|
383b55 |
64-bit integer interface.
|
|
|
383b55 |
|
|
|
383b55 |
%package serial64_
|
|
|
383b55 |
Summary: An optimized BLAS library based on GotoBLAS2, serial version
|
|
|
383b55 |
Requires: %{name} = %{version}-%{release}
|
|
|
383b55 |
|
|
|
383b55 |
%description serial64_
|
|
|
383b55 |
%{base_description}
|
|
|
383b55 |
|
|
|
383b55 |
This package contains the sequential library compiled with a 64-bit
|
|
|
383b55 |
integer interface and a symbol name suffix.
|
|
|
383b55 |
|
|
|
383b55 |
%package openmp64_
|
|
|
383b55 |
Summary: An optimized BLAS library based on GotoBLAS2, OpenMP version
|
|
|
383b55 |
Requires: %{name} = %{version}-%{release}
|
|
|
383b55 |
|
|
|
383b55 |
%description openmp64_
|
|
|
383b55 |
%{base_description}
|
|
|
383b55 |
|
|
|
383b55 |
This package contains the library compiled with OpenMP support and
|
|
|
383b55 |
64-bit integer interface and a symbol name suffix.
|
|
|
383b55 |
|
|
|
383b55 |
%package threads64_
|
|
|
383b55 |
Summary: An optimized BLAS library based on GotoBLAS2, pthreads version
|
|
|
383b55 |
Requires: %{name} = %{version}-%{release}
|
|
|
383b55 |
|
|
|
383b55 |
%description threads64_
|
|
|
383b55 |
%{base_description}
|
|
|
383b55 |
|
|
|
383b55 |
This package contains the library compiled with threading support and
|
|
|
383b55 |
64-bit integer interface and a symbol name suffix.
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
|
|
|
383b55 |
%package devel
|
|
|
383b55 |
Summary: Development headers and libraries for OpenBLAS
|
|
|
383b55 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
383b55 |
Requires: %{name}-serial%{?_isa} = %{version}-%{release}
|
|
|
383b55 |
Requires: %{name}-openmp%{?_isa} = %{version}-%{release}
|
|
|
383b55 |
Requires: %{name}-threads%{?_isa} = %{version}-%{release}
|
|
|
383b55 |
%if %build64
|
|
|
383b55 |
Requires: %{name}-openmp64%{?_isa} = %{version}-%{release}
|
|
|
383b55 |
Requires: %{name}-threads64%{?_isa} = %{version}-%{release}
|
|
|
383b55 |
Requires: %{name}-serial64%{?_isa} = %{version}-%{release}
|
|
|
383b55 |
Requires: %{name}-openmp64_%{?_isa} = %{version}-%{release}
|
|
|
383b55 |
Requires: %{name}-threads64_%{?_isa} = %{version}-%{release}
|
|
|
383b55 |
Requires: %{name}-serial64_%{?_isa} = %{version}-%{release}
|
|
|
383b55 |
%endif
|
|
|
383b55 |
Requires: %{name}-srpm-macros
|
|
|
383b55 |
|
|
|
383b55 |
%description devel
|
|
|
383b55 |
%{base_description}
|
|
|
383b55 |
|
|
|
383b55 |
This package contains the development headers and libraries.
|
|
|
383b55 |
|
|
|
383b55 |
%package static
|
|
|
383b55 |
Summary: Static version of OpenBLAS
|
|
|
383b55 |
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
383b55 |
|
|
|
383b55 |
%description static
|
|
|
383b55 |
%{base_description}
|
|
|
383b55 |
|
|
|
383b55 |
This package contains the static libraries.
|
|
|
383b55 |
|
|
|
383b55 |
|
|
|
383b55 |
%prep
|
|
|
383b55 |
%setup -q -c -T
|
|
|
383b55 |
|
|
|
383b55 |
# Untar source
|
|
|
383b55 |
tar zxf %{SOURCE0}
|
|
|
383b55 |
cd OpenBLAS-%{version}
|
|
|
383b55 |
%if %{with system_lapack}
|
|
|
383b55 |
%patch0 -p1 -b .system_lapack
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%patch1 -p1 -b .libname
|
|
|
383b55 |
%if 0%{?rhel} == 5
|
|
|
383b55 |
%patch2 -p1 -b .constructor
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%patch3 -p1 -b .tests
|
|
|
383b55 |
%patch4 -p1 -b .out-of-bound-read
|
|
|
383b55 |
|
|
|
383b55 |
# Fix source permissions
|
|
|
383b55 |
find -name \*.f -exec chmod 644 {} \;
|
|
|
383b55 |
|
|
|
383b55 |
%if %{with system_lapack}
|
|
|
383b55 |
# Get rid of bundled LAPACK sources
|
|
|
383b55 |
rm -rf lapack-netlib
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
# Make serial, threaded and OpenMP versions; as well as 64-bit versions
|
|
|
383b55 |
cd ..
|
|
|
383b55 |
cp -ar OpenBLAS-%{version} openmp
|
|
|
383b55 |
cp -ar OpenBLAS-%{version} threaded
|
|
|
383b55 |
%if %build64
|
|
|
383b55 |
for d in {serial,threaded,openmp}64{,_}; do
|
|
|
383b55 |
cp -ar OpenBLAS-%{version} $d
|
|
|
383b55 |
done
|
|
|
383b55 |
%endif
|
|
|
383b55 |
mv OpenBLAS-%{version} serial
|
|
|
383b55 |
|
|
|
383b55 |
%if %{with system_lapack}
|
|
|
383b55 |
# Setup 32-bit interface LAPACK
|
|
|
383b55 |
mkdir netliblapack
|
|
|
383b55 |
cd netliblapack
|
|
|
383b55 |
ar x %{_libdir}/liblapack_pic.a
|
|
|
383b55 |
# Get rid of duplicate functions. See list in Makefile of lapack directory
|
|
|
383b55 |
for f in laswp getf2 getrf potf2 potrf lauu2 lauum trti2 trtri getrs; do
|
|
|
383b55 |
\rm {c,d,s,z}$f.o
|
|
|
383b55 |
done
|
|
|
383b55 |
|
|
|
383b55 |
# LAPACKE
|
|
|
383b55 |
%if %{lapacke}
|
|
|
383b55 |
ar x %{_libdir}/liblapacke.a
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
# Create makefile
|
|
|
383b55 |
echo "TOPDIR = .." > Makefile
|
|
|
383b55 |
echo "include ../Makefile.system" >> Makefile
|
|
|
383b55 |
echo "COMMONOBJS = \\" >> Makefile
|
|
|
383b55 |
for i in *.o; do
|
|
|
383b55 |
echo "$i \\" >> Makefile
|
|
|
383b55 |
done
|
|
|
383b55 |
echo -e "\n\ninclude \$(TOPDIR)/Makefile.tail" >> Makefile
|
|
|
383b55 |
|
|
|
383b55 |
%if %{lapacke}
|
|
|
383b55 |
# Copy include files
|
|
|
383b55 |
cp -a %{_includedir}/lapacke .
|
|
|
383b55 |
%endif
|
|
|
383b55 |
cd ..
|
|
|
383b55 |
|
|
|
383b55 |
# Copy in place
|
|
|
383b55 |
for d in serial threaded openmp; do
|
|
|
383b55 |
cp -pr netliblapack $d
|
|
|
383b55 |
done
|
|
|
383b55 |
rm -rf netliblapack
|
|
|
383b55 |
|
|
|
383b55 |
|
|
|
383b55 |
# Setup 64-bit interface LAPACK
|
|
|
383b55 |
%if %build64
|
|
|
383b55 |
mkdir netliblapack64
|
|
|
383b55 |
cd netliblapack64
|
|
|
383b55 |
ar x %{_libdir}/liblapack64_pic.a
|
|
|
383b55 |
# Get rid of duplicate functions. See list in Makefile of lapack directory
|
|
|
383b55 |
for f in laswp getf2 getrf potf2 potrf lauu2 lauum trti2 trtri getrs; do
|
|
|
383b55 |
\rm {c,d,s,z}$f.o
|
|
|
383b55 |
done
|
|
|
383b55 |
|
|
|
383b55 |
# LAPACKE, no 64-bit interface
|
|
|
383b55 |
%if %{lapacke}
|
|
|
383b55 |
ar x %{_libdir}/liblapacke.a
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
# Create makefile
|
|
|
383b55 |
echo "TOPDIR = .." > Makefile
|
|
|
383b55 |
echo "include ../Makefile.system" >> Makefile
|
|
|
383b55 |
echo "COMMONOBJS = \\" >> Makefile
|
|
|
383b55 |
for i in *.o; do
|
|
|
383b55 |
echo "$i \\" >> Makefile
|
|
|
383b55 |
done
|
|
|
383b55 |
echo -e "\n\ninclude \$(TOPDIR)/Makefile.tail" >> Makefile
|
|
|
383b55 |
|
|
|
383b55 |
%if %{lapacke}
|
|
|
383b55 |
# Copy include files
|
|
|
383b55 |
cp -a %{_includedir}/lapacke .
|
|
|
383b55 |
%endif
|
|
|
383b55 |
cd ..
|
|
|
383b55 |
|
|
|
383b55 |
# Copy in place
|
|
|
383b55 |
for d in {serial,threaded,openmp}64{,_}; do
|
|
|
383b55 |
cp -pr netliblapack64 $d/netliblapack
|
|
|
383b55 |
done
|
|
|
383b55 |
rm -rf netliblapack64
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
%build
|
|
|
383b55 |
# openblas fails to build with LTO due to undefined symbols. These could
|
|
|
383b55 |
# well be the result of the assembly code used in this package
|
|
|
383b55 |
%define _lto_cflags %{nil}
|
|
|
383b55 |
%if !%{lapacke}
|
|
|
383b55 |
LAPACKE="NO_LAPACKE=1"
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
# Maximum possible amount of processors
|
|
|
383b55 |
NMAX="NUM_THREADS=128"
|
|
|
383b55 |
|
|
|
383b55 |
%ifarch %{ix86} x86_64
|
|
|
383b55 |
TARGET="TARGET=CORE2 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
|
|
|
383b55 |
|
|
|
383b55 |
# Compability for old versions of GCC
|
|
|
383b55 |
%if 0%{?rhel} == 5
|
|
|
383b55 |
export AVX="NO_AVX=1 NO_AVX2=1"
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%if 0%{?rhel} == 6
|
|
|
383b55 |
export AVX="NO_AVX2=1"
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%ifarch armv7hl
|
|
|
383b55 |
# ARM v7 still doesn't have runtime cpu detection...
|
|
|
383b55 |
TARGET="TARGET=ARMV7 DYNAMIC_ARCH=0"
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%ifarch ppc64
|
|
|
383b55 |
TARGET="TARGET=POWER6 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%ifarch ppc64p7
|
|
|
383b55 |
TARGET="TARGET=POWER7 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%ifarch ppc64le
|
|
|
383b55 |
TARGET="TARGET=POWER8 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%ifarch aarch64
|
|
|
383b55 |
TARGET="TARGET=ARMV8 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
|
|
|
383b55 |
%endif
|
|
|
383b55 |
%ifarch s390x
|
|
|
383b55 |
TARGET="TARGET=ZARCH_GENERIC DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
%if 0%{?rhel} == 5
|
|
|
383b55 |
# Gfortran too old to recognize -frecursive
|
|
|
383b55 |
COMMON="%{optflags} -fPIC"
|
|
|
383b55 |
FCOMMON="%{optflags} -fPIC"
|
|
|
383b55 |
%else
|
|
|
383b55 |
COMMON="%{optflags} -fPIC"
|
|
|
383b55 |
FCOMMON="%{optflags} -fPIC -frecursive"
|
|
|
383b55 |
%endif
|
|
|
383b55 |
# Use Fedora linker flags
|
|
|
383b55 |
export LDFLAGS="%{__global_ldflags}"
|
|
|
383b55 |
|
|
|
383b55 |
# Declare some necessary build flags
|
|
|
383b55 |
COMMON="%{optflags} -fPIC"
|
|
|
383b55 |
FCOMMON="$COMMON -frecursive"
|
|
|
383b55 |
make -C serial $TARGET USE_THREAD=0 USE_LOCKING=1 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblas" $AVX $LAPACKE INTERFACE64=0
|
|
|
383b55 |
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
|
|
|
383b55 |
|
|
|
383b55 |
# USE_THREAD determines use of SMP, not of pthreads
|
|
|
383b55 |
COMMON="%{optflags} -fPIC -fopenmp -pthread"
|
|
|
383b55 |
FCOMMON="$COMMON -frecursive"
|
|
|
383b55 |
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 %{with cpp_thread_check:CPP_THREAD_SAFETY_TEST=1}
|
|
|
383b55 |
|
|
|
383b55 |
%if %build64
|
|
|
383b55 |
COMMON="%{optflags} -fPIC"
|
|
|
383b55 |
FCOMMON="$COMMON -frecursive -fdefault-integer-8"
|
|
|
383b55 |
make -C serial64 $TARGET USE_THREAD=0 USE_LOCKING=1 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblas64" $AVX $LAPACKE INTERFACE64=1
|
|
|
383b55 |
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
|
|
|
383b55 |
|
|
|
383b55 |
COMMON="%{optflags} -fPIC -fopenmp -pthread"
|
|
|
383b55 |
FCOMMON="$COMMON -frecursive -fdefault-integer-8"
|
|
|
383b55 |
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 CPP_THREAD_SAFETY_TEST=1
|
|
|
383b55 |
|
|
|
383b55 |
COMMON="%{optflags} -fPIC"
|
|
|
383b55 |
FCOMMON="$COMMON -frecursive -fdefault-integer-8"
|
|
|
383b55 |
make -C serial64_ $TARGET USE_THREAD=0 USE_LOCKING=1 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="$COMMON" FCOMMON_OPT="$FCOMMON" $NMAX LIBPREFIX="libopenblas64_" $AVX $LAPACKE INTERFACE64=1 SYMBOLSUFFIX=64_
|
|
|
383b55 |
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_
|
|
|
383b55 |
|
|
|
383b55 |
COMMON="%{optflags} -fPIC -fopenmp -pthread"
|
|
|
383b55 |
FCOMMON="$COMMON -frecursive -fdefault-integer-8"
|
|
|
383b55 |
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_ CPP_THREAD_SAFETY_TEST=1
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
%install
|
|
|
383b55 |
rm -rf %{buildroot}
|
|
|
383b55 |
# Install serial library and headers
|
|
|
383b55 |
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
|
|
|
383b55 |
|
|
|
383b55 |
# Copy lapacke include files
|
|
|
383b55 |
%if %{with system_lapack} && %{lapacke}
|
|
|
383b55 |
cp -a %{_includedir}/lapacke %{buildroot}%{_includedir}/%{name}
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
# Fix i686-x86_64 multilib difference
|
|
|
383b55 |
%multilib_fix_c_header --file %{_includedir}/openblas/openblas_config.h
|
|
|
383b55 |
|
|
|
383b55 |
# Fix name of libraries: runtime CPU detection has none
|
|
|
383b55 |
suffix=""
|
|
|
383b55 |
# but archs that don't have it do have one
|
|
|
383b55 |
%ifarch armv7hl
|
|
|
383b55 |
suffix="_armv7"
|
|
|
383b55 |
%endif
|
|
|
383b55 |
slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
|
|
|
383b55 |
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
|
|
|
383b55 |
if [[ "$suffix" != "" ]]; then
|
|
|
383b55 |
sname=$(echo $slibname | sed "s|$suffix||g")
|
|
|
383b55 |
mv %{buildroot}%{_libdir}/${slibname}.so %{buildroot}%{_libdir}/${sname}.so
|
|
|
383b55 |
else
|
|
|
383b55 |
sname=${slibname}
|
|
|
383b55 |
fi
|
|
|
383b55 |
|
|
|
383b55 |
# Install the OpenMP library
|
|
|
383b55 |
olibname=`echo ${slibname} | sed "s|lib%{name}|lib%{name}o|g"`
|
|
|
383b55 |
install -D -p -m 644 openmp/${olibname}.a %{buildroot}%{_libdir}/lib%{name}o.a
|
|
|
383b55 |
if [[ "$suffix" != "" ]]; then
|
|
|
383b55 |
oname=$(echo $olibname | sed "s|$suffix||g")
|
|
|
383b55 |
else
|
|
|
383b55 |
oname=${olibname}
|
|
|
383b55 |
fi
|
|
|
383b55 |
install -D -p -m 755 openmp/${olibname}.so %{buildroot}%{_libdir}/${oname}.so
|
|
|
383b55 |
|
|
|
383b55 |
# Install the threaded library
|
|
|
383b55 |
plibname=`echo ${slibname} | sed "s|lib%{name}|lib%{name}p|g"`
|
|
|
383b55 |
install -D -p -m 644 threaded/${plibname}.a %{buildroot}%{_libdir}/lib%{name}p.a
|
|
|
383b55 |
if [[ "$suffix" != "" ]]; then
|
|
|
383b55 |
pname=$(echo $plibname | sed "s|$suffix||g")
|
|
|
383b55 |
else
|
|
|
383b55 |
pname=${plibname}
|
|
|
383b55 |
fi
|
|
|
383b55 |
install -D -p -m 755 threaded/${plibname}.so %{buildroot}%{_libdir}/${pname}.so
|
|
|
383b55 |
|
|
|
383b55 |
# Install the 64-bit interface libraries
|
|
|
383b55 |
%if %build64
|
|
|
383b55 |
slibname64=`echo ${slibname} | sed "s|lib%{name}|lib%{name}64|g"`
|
|
|
383b55 |
install -D -p -m 644 serial64/${slibname64}.a %{buildroot}%{_libdir}/lib%{name}64.a
|
|
|
383b55 |
slibname64_=`echo ${slibname} | sed "s|lib%{name}|lib%{name}64_|g"`
|
|
|
383b55 |
install -D -p -m 644 serial64_/${slibname64_}.a %{buildroot}%{_libdir}/lib%{name}64_.a
|
|
|
383b55 |
|
|
|
383b55 |
if [[ "$suffix" != "" ]]; then
|
|
|
383b55 |
sname64=$(echo ${slibname64} | sed "s|$suffix||g")
|
|
|
383b55 |
sname64_=$(echo ${slibname64_} | sed "s|$suffix||g")
|
|
|
383b55 |
else
|
|
|
383b55 |
sname64=${slibname64}
|
|
|
383b55 |
sname64_=${slibname64_}
|
|
|
383b55 |
fi
|
|
|
383b55 |
install -D -p -m 755 serial64/${slibname64}.so %{buildroot}%{_libdir}/${sname64}.so
|
|
|
383b55 |
install -D -p -m 755 serial64_/${slibname64_}.so %{buildroot}%{_libdir}/${sname64_}.so
|
|
|
383b55 |
|
|
|
383b55 |
olibname64=`echo ${slibname} | sed "s|lib%{name}|lib%{name}o64|g"`
|
|
|
383b55 |
install -D -p -m 644 openmp64/${olibname64}.a %{buildroot}%{_libdir}/lib%{name}o64.a
|
|
|
383b55 |
olibname64_=`echo ${slibname} | sed "s|lib%{name}|lib%{name}o64_|g"`
|
|
|
383b55 |
install -D -p -m 644 openmp64_/${olibname64_}.a %{buildroot}%{_libdir}/lib%{name}o64_.a
|
|
|
383b55 |
|
|
|
383b55 |
if [[ "$suffix" != "" ]]; then
|
|
|
383b55 |
oname64=$(echo ${olibname64} | sed "s|$suffix||g")
|
|
|
383b55 |
oname64_=$(echo ${olibname64_} | sed "s|$suffix||g")
|
|
|
383b55 |
else
|
|
|
383b55 |
oname64=${olibname64}
|
|
|
383b55 |
oname64_=${olibname64_}
|
|
|
383b55 |
fi
|
|
|
383b55 |
install -D -p -m 755 openmp64/${olibname64}.so %{buildroot}%{_libdir}/${oname64}.so
|
|
|
383b55 |
install -D -p -m 755 openmp64_/${olibname64_}.so %{buildroot}%{_libdir}/${oname64_}.so
|
|
|
383b55 |
|
|
|
383b55 |
plibname64=`echo ${slibname} | sed "s|lib%{name}|lib%{name}p64|g"`
|
|
|
383b55 |
install -D -p -m 644 threaded64/${plibname64}.a %{buildroot}%{_libdir}/lib%{name}p64.a
|
|
|
383b55 |
plibname64_=`echo ${slibname} | sed "s|lib%{name}|lib%{name}p64_|g"`
|
|
|
383b55 |
install -D -p -m 644 threaded64_/${plibname64_}.a %{buildroot}%{_libdir}/lib%{name}p64_.a
|
|
|
383b55 |
|
|
|
383b55 |
if [[ "$suffix" != "" ]]; then
|
|
|
383b55 |
pname64=$(echo $plibname64 | sed "s|$suffix||g")
|
|
|
383b55 |
pname64_=$(echo $plibname64_ | sed "s|$suffix||g")
|
|
|
383b55 |
else
|
|
|
383b55 |
pname64=${plibname64}
|
|
|
383b55 |
pname64_=${plibname64_}
|
|
|
383b55 |
fi
|
|
|
383b55 |
install -D -p -m 755 threaded64/${plibname64}.so %{buildroot}%{_libdir}/${pname64}.so
|
|
|
383b55 |
install -D -p -m 755 threaded64_/${plibname64_}.so %{buildroot}%{_libdir}/${pname64_}.so
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
# Fix symlinks
|
|
|
383b55 |
pushd %{buildroot}%{_libdir}
|
|
|
383b55 |
# Serial libraries
|
|
|
383b55 |
ln -sf ${sname}.so lib%{name}.so
|
|
|
383b55 |
ln -sf ${sname}.so lib%{name}.so.0
|
|
|
383b55 |
# OpenMP libraries
|
|
|
383b55 |
ln -sf ${oname}.so lib%{name}o.so
|
|
|
383b55 |
ln -sf ${oname}.so lib%{name}o.so.0
|
|
|
383b55 |
# Threaded libraries
|
|
|
383b55 |
ln -sf ${pname}.so lib%{name}p.so
|
|
|
383b55 |
ln -sf ${pname}.so lib%{name}p.so.0
|
|
|
383b55 |
|
|
|
383b55 |
%if %build64
|
|
|
383b55 |
# Serial libraries
|
|
|
383b55 |
ln -sf ${sname64}.so lib%{name}64.so
|
|
|
383b55 |
ln -sf ${sname64}.so lib%{name}64.so.0
|
|
|
383b55 |
ln -sf ${sname64_}.so lib%{name}64_.so
|
|
|
383b55 |
ln -sf ${sname64_}.so lib%{name}64_.so.0
|
|
|
383b55 |
# OpenMP libraries
|
|
|
383b55 |
ln -sf ${oname64}.so lib%{name}o64.so
|
|
|
383b55 |
ln -sf ${oname64}.so lib%{name}o64.so.0
|
|
|
383b55 |
ln -sf ${oname64_}.so lib%{name}o64_.so
|
|
|
383b55 |
ln -sf ${oname64_}.so lib%{name}o64_.so.0
|
|
|
383b55 |
# Threaded libraries
|
|
|
383b55 |
ln -sf ${pname64}.so lib%{name}p64.so
|
|
|
383b55 |
ln -sf ${pname64}.so lib%{name}p64.so.0
|
|
|
383b55 |
ln -sf ${pname64_}.so lib%{name}p64_.so
|
|
|
383b55 |
ln -sf ${pname64_}.so lib%{name}p64_.so.0
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
%if %{execstack}
|
|
|
383b55 |
# Get rid of executable stacks
|
|
|
383b55 |
for lib in %{buildroot}%{_libdir}/libopenblas*.so; do
|
|
|
383b55 |
execstack -c $lib
|
|
|
383b55 |
done
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
# Get rid of generated CMake config
|
|
|
383b55 |
rm -rf %{buildroot}%{_libdir}/cmake
|
|
|
383b55 |
# Get rid of generated pkgconfig
|
|
|
383b55 |
rm -rf %{buildroot}%{_libdir}/pkgconfig
|
|
|
383b55 |
|
|
|
383b55 |
%ldconfig_scriptlets
|
|
|
383b55 |
|
|
|
383b55 |
%ldconfig_scriptlets openmp
|
|
|
383b55 |
|
|
|
383b55 |
%ldconfig_scriptlets threads
|
|
|
383b55 |
|
|
|
383b55 |
%if %build64
|
|
|
383b55 |
%ldconfig_scriptlets openmp64
|
|
|
383b55 |
%ldconfig_scriptlets openmp64_
|
|
|
383b55 |
|
|
|
383b55 |
%ldconfig_scriptlets serial64
|
|
|
383b55 |
%ldconfig_scriptlets serial64_
|
|
|
383b55 |
|
|
|
383b55 |
%ldconfig_scriptlets threads64
|
|
|
383b55 |
%ldconfig_scriptlets threads64_
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
%files
|
|
|
383b55 |
%license serial/LICENSE
|
|
|
383b55 |
%doc serial/Changelog.txt serial/GotoBLAS*
|
|
|
383b55 |
|
|
|
383b55 |
%files serial
|
|
|
383b55 |
%{_libdir}/lib%{name}-*.so
|
|
|
383b55 |
%{_libdir}/lib%{name}.so.*
|
|
|
383b55 |
|
|
|
383b55 |
%files openmp
|
|
|
383b55 |
%{_libdir}/lib%{name}o-*.so
|
|
|
383b55 |
%{_libdir}/lib%{name}o.so.*
|
|
|
383b55 |
|
|
|
383b55 |
%files threads
|
|
|
383b55 |
%{_libdir}/lib%{name}p-*.so
|
|
|
383b55 |
%{_libdir}/lib%{name}p.so.*
|
|
|
383b55 |
|
|
|
383b55 |
%if %build64
|
|
|
383b55 |
%files serial64
|
|
|
383b55 |
%{_libdir}/lib%{name}64-*.so
|
|
|
383b55 |
%{_libdir}/lib%{name}64.so.*
|
|
|
383b55 |
|
|
|
383b55 |
%files openmp64
|
|
|
383b55 |
%{_libdir}/lib%{name}o64-*.so
|
|
|
383b55 |
%{_libdir}/lib%{name}o64.so.*
|
|
|
383b55 |
|
|
|
383b55 |
%files threads64
|
|
|
383b55 |
%{_libdir}/lib%{name}p64-*.so
|
|
|
383b55 |
%{_libdir}/lib%{name}p64.so.*
|
|
|
383b55 |
|
|
|
383b55 |
%files serial64_
|
|
|
383b55 |
%{_libdir}/lib%{name}64_-*.so
|
|
|
383b55 |
%{_libdir}/lib%{name}64_.so.*
|
|
|
383b55 |
|
|
|
383b55 |
%files openmp64_
|
|
|
383b55 |
%{_libdir}/lib%{name}o64_-*.so
|
|
|
383b55 |
%{_libdir}/lib%{name}o64_.so.*
|
|
|
383b55 |
|
|
|
383b55 |
%files threads64_
|
|
|
383b55 |
%{_libdir}/lib%{name}p64_-*.so
|
|
|
383b55 |
%{_libdir}/lib%{name}p64_.so.*
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
%files devel
|
|
|
383b55 |
%{_includedir}/%{name}/
|
|
|
383b55 |
%{_libdir}/lib%{name}.so
|
|
|
383b55 |
%{_libdir}/lib%{name}o.so
|
|
|
383b55 |
%{_libdir}/lib%{name}p.so
|
|
|
383b55 |
%if %build64
|
|
|
383b55 |
%{_libdir}/lib%{name}64.so
|
|
|
383b55 |
%{_libdir}/lib%{name}o64.so
|
|
|
383b55 |
%{_libdir}/lib%{name}p64.so
|
|
|
383b55 |
%{_libdir}/lib%{name}64_.so
|
|
|
383b55 |
%{_libdir}/lib%{name}o64_.so
|
|
|
383b55 |
%{_libdir}/lib%{name}p64_.so
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
%files static
|
|
|
383b55 |
%{_libdir}/lib%{name}.a
|
|
|
383b55 |
%{_libdir}/lib%{name}o.a
|
|
|
383b55 |
%{_libdir}/lib%{name}p.a
|
|
|
383b55 |
%if %build64
|
|
|
383b55 |
%{_libdir}/lib%{name}64.a
|
|
|
383b55 |
%{_libdir}/lib%{name}o64.a
|
|
|
383b55 |
%{_libdir}/lib%{name}p64.a
|
|
|
383b55 |
%{_libdir}/lib%{name}64_.a
|
|
|
383b55 |
%{_libdir}/lib%{name}o64_.a
|
|
|
383b55 |
%{_libdir}/lib%{name}p64_.a
|
|
|
383b55 |
%endif
|
|
|
383b55 |
|
|
|
383b55 |
%changelog
|
|
|
383b55 |
* Tue Jan 11 2022 Honza Horak <hhorak@redhat.com> - 0.3.15-3
|
|
|
383b55 |
- Fix out of bounds read in ?llarv (Reference-LAPACK PR 625)
|
|
|
383b55 |
(CVE-2021-4048)
|
|
|
383b55 |
Resolves: #2029855
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.3.15-2
|
|
|
383b55 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
383b55 |
Related: rhbz#1991688
|
|
|
383b55 |
|
|
|
383b55 |
* Thu May 06 2021 Nikola Forró <nforro@redhat.com> - 0.3.15-1
|
|
|
383b55 |
- Update to 0.3.15.
|
|
|
383b55 |
related: #1870676
|
|
|
383b55 |
related: #1870033
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.3.13-2
|
|
|
383b55 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Apr 06 2021 Nikola Forró <nforro@redhat.com> - 0.3.13-1
|
|
|
383b55 |
- Update to 0.3.13.
|
|
|
383b55 |
resolves: #1870676
|
|
|
383b55 |
related: #1870033
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.12-2
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Sun Oct 25 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.12-1
|
|
|
383b55 |
- Update to 0.3.12.
|
|
|
383b55 |
|
|
|
383b55 |
* Sun Oct 18 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.11-1
|
|
|
383b55 |
- Update to 0.3.11.
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Sep 18 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.10-6
|
|
|
383b55 |
- Fix incorrect result of cblas_zdotc_sub on ppc64le (BZ #1878449).
|
|
|
383b55 |
|
|
|
383b55 |
* Sat Aug 29 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.10-5
|
|
|
383b55 |
- Fix unresolved bfloat16 datatype (BZ #1873667).
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Aug 14 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.10-4
|
|
|
383b55 |
- Obsolete Rblas package (BZ #1849966).
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Aug 11 2020 Jeff Law <law@redhat.com> - 0.3.10-3
|
|
|
383b55 |
- Disable LTO
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Jul 28 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.10-2
|
|
|
383b55 |
- Include upstream patch 2672 to fix test suite on systems with few CPUs.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Jun 15 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.10-1
|
|
|
383b55 |
- Update to 0.3.10.
|
|
|
383b55 |
|
|
|
383b55 |
* Thu May 28 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.9-3
|
|
|
383b55 |
- Enable USE_LOCKING in the sequential versions of the library for
|
|
|
383b55 |
thread safety.
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Apr 02 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.9-2
|
|
|
383b55 |
- Patch for BZ #1820131.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Mar 02 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.9-1
|
|
|
383b55 |
- Update to 0.3.9.
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Feb 11 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.8-1
|
|
|
383b55 |
- Update to 0.3.8; dynamic runtime cpu detection on all architectures.
|
|
|
383b55 |
- Also updates bundled LAPACK to 3.9.0.
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-3
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Dec 11 2019 Dominik Mierzejewski <rpm@greysector.net> - 0.3.7-2
|
|
|
383b55 |
- enable C++ thread safety test where possible
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Aug 12 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.7-1
|
|
|
383b55 |
- Update to 0.3.7.
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-3
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Jul 02 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.6-2
|
|
|
383b55 |
- Rebuild since older build doesn't show up in updates system.
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Apr 30 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.6-1
|
|
|
383b55 |
- Update to 0.3.6.
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Feb 26 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.5-5
|
|
|
383b55 |
- Even more assembly kernel patches.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Feb 25 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.5-4
|
|
|
383b55 |
- Another assembly kernel patch.
|
|
|
383b55 |
|
|
|
383b55 |
* Sun Feb 17 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.5-3
|
|
|
383b55 |
- Patch assembly kernels to satisfy gcc 9 demands.
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-2
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Jan 07 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.5-1
|
|
|
383b55 |
- Update to 0.3.5, with dynamic CPU detection on aarch64.
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Nov 09 2018 Nikola Forró <nforro@redhat.com> - 0.3.3-3
|
|
|
383b55 |
- Fix i686-x86_64 multilib difference.
|
|
|
383b55 |
- Get rid of executable stack in libRblas.so.
|
|
|
383b55 |
|
|
|
383b55 |
* Sat Sep 29 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.3-2
|
|
|
383b55 |
- Fix segfault (BZ #1634060).
|
|
|
383b55 |
|
|
|
383b55 |
* Sun Sep 09 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.3-1
|
|
|
383b55 |
- Update to 0.3.3.
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Aug 29 2018 Dan Horák <dan[at]danny.cz> - 0.3.2-5
|
|
|
383b55 |
- Fix precision in generic target on s390x
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Aug 24 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.2-4
|
|
|
383b55 |
- Patch to avoid threading issues.
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Aug 24 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.2-3
|
|
|
383b55 |
- Add missing %%{optflags} to COMMON (see discussion in #1619074).
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Aug 15 2018 Dan Horák <dan[at]danny.cz> - 0.3.2-2
|
|
|
383b55 |
- Explicitly set the target to generic on s390x to avoid surprises (#1615760)
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Aug 02 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.2-1
|
|
|
383b55 |
- Update to 0.3.2.
|
|
|
383b55 |
|
|
|
383b55 |
* Sun Jul 22 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.1-3
|
|
|
383b55 |
- Fix crash with multiple instances (BZ #1605231).
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Sun Jul 01 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.1-1
|
|
|
383b55 |
- Update to 0.3.1.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Jun 11 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.0-2
|
|
|
383b55 |
- Split sequential libraries from core package to openblas-serial.
|
|
|
383b55 |
|
|
|
383b55 |
* Thu May 24 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.0-1
|
|
|
383b55 |
- Update to 0.3.0.
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Mar 22 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-10
|
|
|
383b55 |
- Disable CPU affinity unintentionally enabled upstream (BZ #1558091).
|
|
|
383b55 |
|
|
|
383b55 |
* Sun Mar 04 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-9
|
|
|
383b55 |
- Clean up obsolete conditionals for 64 bit builds in spec file.
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Feb 27 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-8
|
|
|
383b55 |
- Use %%__global_ldflags instead of %%build_ldflags that doesn't work on
|
|
|
383b55 |
all distributions.
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Feb 27 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-7
|
|
|
383b55 |
- Honor Fedora linker flags (BZ #1548750).
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Feb 14 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-6
|
|
|
383b55 |
- Drop arch-dependent buildrequires (BZ #1545201); no changes to package
|
|
|
383b55 |
(only affects packages custom built with --with system_lapack).
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.20-5
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Jan 30 2018 Florian Weimer <fweimer@redhat.com> - 0.2.20-4
|
|
|
383b55 |
- Rebuild for GCC 8
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Sep 14 2017 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-3
|
|
|
383b55 |
- Simplify spec, dropping extra lib arguments.
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.20-2
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Jul 28 2017 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.20-1
|
|
|
383b55 |
- Update to 0.2.20.
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.19-12
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Mon May 29 2017 Dan Horák <dan[at]danny.cz> - 0.2.19-11
|
|
|
383b55 |
- add generic s390x support (#1442048)
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Mar 20 2017 Orion Poplawski <orion@cora.nwra.com> - 0.2.19-10
|
|
|
383b55 |
- Drop openblas-srpm-macros version requirement
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Mar 20 2017 Orion Poplawski <orion@cora.nwra.com> - 0.2.19-9
|
|
|
383b55 |
- Move openblas-srpm-macros to separate package
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Mar 15 2017 Orion Poplawski <orion@cora.nwra.com> - 0.2.19-8
|
|
|
383b55 |
- Define %%openblas_arches for dependent packages to use
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Feb 13 2017 Björn Esser <besser82@fedoraproject.org> - 0.2.19-7
|
|
|
383b55 |
- Upgrade Patch4 to hopefully fully fix the issues on PPC64LE
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Feb 03 2017 Björn Esser <besser82@fedoraproject.org> - 0.2.19-6
|
|
|
383b55 |
- Add Patch4 to fix register clobbers (BZ #1417385)
|
|
|
383b55 |
|
|
|
383b55 |
* Sat Jan 28 2017 Björn Esser <besser82@fedoraproject.org> - 0.2.19-5
|
|
|
383b55 |
- Rebuilt for GCC-7
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Dec 14 2016 Tom Callaway <spot@fedoraproject.org> - 0.2.19-4
|
|
|
383b55 |
- build a copy of openblas that thinks it is Rblas
|
|
|
383b55 |
There are no code changes, except for libname and soname, it is identical to libopenblas.so.0
|
|
|
383b55 |
Unfortunately, while R itself is fine using a symlink from libopenblas.so.0 to libRblas.so
|
|
|
383b55 |
the larger R ecosystem becomes unhappy in this scenario.
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Nov 03 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.19-3
|
|
|
383b55 |
- Fix linkage of OpenMP libraries (BZ #1391491).
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Oct 20 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.19-2
|
|
|
383b55 |
- Actually use 8-bit integers in 64-bit interfaces (BZ #1382916).
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Oct 18 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.19-1
|
|
|
383b55 |
- Update to 0.2.19.
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Aug 17 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.18-5
|
|
|
383b55 |
- Revert "minor spec cleanups" by Peter Robinson.
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Jul 13 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.2.18-4
|
|
|
383b55 |
- aarch64 has execstack in Fedora
|
|
|
383b55 |
- Minor spec cleanups
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Jul 13 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.18-3
|
|
|
383b55 |
- Enable ppc64 and ppc64p7 architectures
|
|
|
383b55 |
based on Dan Horák's patch (BZ #1356189).
|
|
|
383b55 |
- Supply proper make flags to the tests.
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Jul 12 2016 Jeff Bastian <jbastian@redhat.com> - 0.2.18-2
|
|
|
383b55 |
- update for aarch64
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Apr 12 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.18-1
|
|
|
383b55 |
- Update to 0.2.18.
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Apr 6 2016 Orion Poplawski <orion@cora.nwra.com> - 0.2.17-1
|
|
|
383b55 |
- Update to 0.2.17
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Mar 18 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.16-3
|
|
|
383b55 |
- Include deprecated LAPACK functions.
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Mar 16 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.16-2
|
|
|
383b55 |
- Fix library suffix on ppc64le.
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Mar 15 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.16-1
|
|
|
383b55 |
- Update to 0.2.16.
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.15-6
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Jan 12 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.15-5
|
|
|
383b55 |
- Need to use -frecursive to make LAPACK thread safe.
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Jan 12 2016 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.15-4
|
|
|
383b55 |
- Add version to bundled lapack provide.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Jan 11 2016 Orion Poplawski <orion@cora.nwra.com> - 0.2.15-3
|
|
|
383b55 |
- Allow conditional build with or without system lapack, default to without
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Dec 01 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.15-2
|
|
|
383b55 |
- Enable armv7hl and ppc64le architectures.
|
|
|
383b55 |
- Build versions of the 64-bit libraries with an additional suffix
|
|
|
383b55 |
(BZ #1287541).
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Oct 28 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.15-1
|
|
|
383b55 |
- Update to 0.2.15.
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Aug 04 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.14-4
|
|
|
383b55 |
- Use new execstack (#1247795)
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.14-3
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Sun May 3 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.2.14-2
|
|
|
383b55 |
- Run ldconfig on 64 builds too
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Mar 25 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.14-1
|
|
|
383b55 |
- Update to 0.2.14.
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Dec 19 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.13-2
|
|
|
383b55 |
- Bump spec due to LAPACK rebuild.
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Dec 05 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.13-1
|
|
|
383b55 |
- Update to 0.2.13.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Oct 13 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.12-1
|
|
|
383b55 |
- Update to 0.2.12.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Aug 18 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.11-1
|
|
|
383b55 |
- Update to 0.2.11.
|
|
|
383b55 |
|
|
|
383b55 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.10-2
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Jul 16 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.10-1
|
|
|
383b55 |
- Update to 0.2.10.
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Jun 11 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.9-1
|
|
|
383b55 |
- Increase maximum amount of cores from 32 to 128.
|
|
|
383b55 |
- Add 64-bit interface support. (BZ #1088256)
|
|
|
383b55 |
- Update to 0.2.9. (BZ #1043083)
|
|
|
383b55 |
|
|
|
383b55 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-2
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Aug 07 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.8-1
|
|
|
383b55 |
- Update to 0.2.8.
|
|
|
383b55 |
|
|
|
383b55 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-2
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Jul 23 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.7-1
|
|
|
383b55 |
- Update to 0.2.7.
|
|
|
383b55 |
- Use OpenBLAS versions of LAPACK functions, as they seem to be
|
|
|
383b55 |
working now.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Jul 08 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-10
|
|
|
383b55 |
- Due to long standing bug, replace all OpenBLAS LAPACK functions with
|
|
|
383b55 |
generic ones, so that package can finally be released in stable.
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-9
|
|
|
383b55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
383b55 |
|
|
|
383b55 |
* Tue Jan 15 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-8
|
|
|
383b55 |
- Added LAPACKE include files.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Jan 14 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-7
|
|
|
383b55 |
- Fix build on RHEL5 and ppc architecture.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Dec 24 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-6
|
|
|
383b55 |
- Review fixes.
|
|
|
383b55 |
|
|
|
383b55 |
* Fri Dec 21 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-5
|
|
|
383b55 |
- Disable LAPACKE support on distributions where it is not available due to
|
|
|
383b55 |
a too old version of lapack.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Dec 17 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-4
|
|
|
383b55 |
- Don't use reference LAPACK functions that have optimized implementation.
|
|
|
383b55 |
|
|
|
383b55 |
* Wed Dec 12 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-3
|
|
|
383b55 |
- Use system version of LAPACK.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Nov 26 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-2
|
|
|
383b55 |
- Fixed 32-bit build, and build on EPEL 5.
|
|
|
383b55 |
|
|
|
383b55 |
* Mon Nov 26 2012 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.2.5-1
|
|
|
383b55 |
- Update to 0.2.5.
|
|
|
383b55 |
|
|
|
383b55 |
* Thu Oct 06 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.1-2.alpha2.4
|
|
|
383b55 |
- Added documentation.
|
|
|
383b55 |
|
|
|
383b55 |
* Sun Sep 18 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.1-1.alpha2.4
|
|
|
383b55 |
- First release.
|