b04b0d
%define enable_native_atlas 0
b04b0d
b04b0d
Name:           atlas
b04b0d
Version:        3.10.3
b04b0d
%if "%{?enable_native_atlas}" != "0"
b04b0d
%define dist .native
b04b0d
%endif
b04b0d
Release:        7%{?dist}
b04b0d
Summary:        Automatically Tuned Linear Algebra Software
b04b0d
b04b0d
Group:          System Environment/Libraries
b04b0d
License:        BSD
b04b0d
URL:            http://math-atlas.sourceforge.net/
b04b0d
Source0:        http://downloads.sourceforge.net/math-atlas/%{name}%{version}.tar.bz2
b04b0d
Source1:        PPRO32.tgz
b04b0d
#Source2:        K7323DNow.tgz
b04b0d
Source3:        README.dist
b04b0d
#Source4:        USII64.tgz
b04b0d
#Source5:        USII32.tgz
b04b0d
#Source6:        IBMz1032.tgz
b04b0d
#Source7:        IBMz1064.tgz
b04b0d
#Source8:        IBMz19632.tgz
b04b0d
#Source9:        IBMz19664.tgz
b04b0d
#archdefs taken from debian:
b04b0d
Source11: 	POWER332.tar.bz2
b04b0d
Source12: 	IBMz932.tar.bz2
b04b0d
Source13: 	IBMz964.tar.bz2
b04b0d
#upstream arm uses softfp abi, fedora arm uses hard
b04b0d
Source14: 	ARMv732NEON.tar.bz2
b04b0d
#again, taken from debian
b04b0d
Source15: 	IBMz1264.tar.bz2
b04b0d
Source16:	ARMa732.tar.bz2
b04b0d
b04b0d
# Properly pass -melf_* to the linker with -Wl, fixes FTBFS bug 817552
b04b0d
# https://sourceforge.net/tracker/?func=detail&atid=379484&aid=3555789&group_id=23725
b04b0d
Patch3:		atlas-melf.patch
b04b0d
Patch4:		atlas-throttling.patch
b04b0d
b04b0d
#credits Lukas Slebodnik
b04b0d
Patch5:		atlas-shared_libraries.patch
b04b0d
b04b0d
Patch8:		atlas-genparse.patch
b04b0d
b04b0d
# Unbundle LAPACK (BZ #1181369)
b04b0d
Patch9:		atlas.3.10.1-unbundle.patch
b04b0d
b04b0d
# Atlas getri patch (covscan)
b04b0d
Patch10:		atlas-getri.patch
b04b0d
b04b0d
BuildRequires:  gcc-gfortran, lapack-static, gcc
b04b0d
b04b0d
%ifarch x86_64
b04b0d
Obsoletes:      atlas-sse3 < 3.10.3-1
b04b0d
%endif
b04b0d
b04b0d
%ifarch %{ix86}
b04b0d
Obsoletes:      atlas-3dnow < 3.10.3-1
b04b0d
Obsoletes:      atlas-sse < 3.10.3-1
b04b0d
Obsoletes:      atlas-sse2 < 3.10.3-1
b04b0d
Obsoletes:      atlas-sse3 < 3.10.3-1
b04b0d
%endif
b04b0d
b04b0d
%ifarch s390 s390x
b04b0d
#Obsoletes:      atlas-z10 < 3.10
b04b0d
#Obsoletes:      atlas-z196 < 3.10
b04b0d
%endif
b04b0d
b04b0d
b04b0d
%description
b04b0d
The ATLAS (Automatically Tuned Linear Algebra Software) project is an
b04b0d
ongoing research effort f(ocusing on applying empirical techniques in
b04b0d
order to provide portable performance. At present, it provides C and
b04b0d
Fortran77 interfaces to a portably efficient BLAS implementation, as
b04b0d
well as a few routines from LAPACK.
b04b0d
b04b0d
The performance improvements in ATLAS are obtained largely via
b04b0d
compile-time optimizations and tend to be specific to a given hardware
b04b0d
configuration. In order to package ATLAS some compromises
b04b0d
are necessary so that good performance can be obtained on a variety
b04b0d
of hardware. This set of ATLAS binary packages is therefore not
b04b0d
necessarily optimal for any specific hardware configuration.  However,
b04b0d
the source package can be used to compile customized ATLAS packages;
b04b0d
see the documentation for information.
b04b0d
b04b0d
%package devel
b04b0d
Summary:        Development libraries for ATLAS
b04b0d
Group:          Development/Libraries
b04b0d
Requires:       %{name} = %{version}-%{release}
b04b0d
Obsoletes:	%name-header <= %version-%release
b04b0d
Requires(posttrans):	chkconfig
b04b0d
Requires(postun):	chkconfig
b04b0d
b04b0d
%ifarch x86_64
b04b0d
Obsoletes:      atlas-sse3-devel < 3.10.3-1
b04b0d
%endif
b04b0d
b04b0d
%ifarch %{ix86}
b04b0d
Obsoletes:      atlas-3dnow-devel < 3.10.3-1
b04b0d
Obsoletes:      atlas-sse-devel < 3.10.3-1
b04b0d
Obsoletes:      atlas-sse2-devel < 3.10.3-1
b04b0d
Obsoletes:      atlas-sse3-devel < 3.10.3-1
b04b0d
%endif
b04b0d
%description devel
b04b0d
This package contains headers for development with ATLAS
b04b0d
(Automatically Tuned Linear Algebra Software).
b04b0d
b04b0d
%package static
b04b0d
Summary:        Static libraries for ATLAS
b04b0d
Group:          Development/Libraries
b04b0d
Requires:       %{name}-devel = %{version}-%{release}
b04b0d
Requires(posttrans):	chkconfig
b04b0d
Requires(postun):	chkconfig
b04b0d
b04b0d
%ifarch x86_64
b04b0d
Obsoletes:      atlas-sse3-static < 3.10.3-1
b04b0d
%endif
b04b0d
b04b0d
%ifarch %{ix86}
b04b0d
Obsoletes:      atlas-3dnow-static < 3.10.3-1
b04b0d
Obsoletes:      atlas-sse-static < 3.10.3-1
b04b0d
Obsoletes:      atlas-sse2-static < 3.10.3-1
b04b0d
Obsoletes:      atlas-sse3-static < 3.10.3-1
b04b0d
%endif
b04b0d
%description static
b04b0d
This package contains static version of ATLAS (Automatically Tuned
b04b0d
Linear Algebra Software).
b04b0d
b04b0d
b04b0d
%define types base
b04b0d
b04b0d
%if "%{?enable_native_atlas}" == "0"
b04b0d
############## Subpackages for architecture extensions #################
b04b0d
#
b04b0d
%ifarch x86_64
b04b0d
%define types base corei2 
b04b0d
#corei4
b04b0d
# sse3
b04b0d
b04b0d
%package corei2-static
b04b0d
Summary:        ATLAS libraries for Corei2 (Ivy/Sandy bridge) CPUs
b04b0d
Group:          System Environment/Libraries
b04b0d
b04b0d
%description corei2-static
b04b0d
This package contains the ATLAS (Automatically Tuned Linear Algebra
b04b0d
Software) static libraries compiled with optimizations for the Corei2 (Ivy/Sandy bridge)
b04b0d
CPUs. The base ATLAS builds for the x86_64 architecture are made for the hammer64 CPUs.
b04b0d
b04b0d
%package corei2
b04b0d
Summary:        ATLAS libraries for Corei2 (Ivy/Sandy bridge) CPUs
b04b0d
Group:          System Environment/Libraries
b04b0d
b04b0d
%description corei2
b04b0d
This package contains the ATLAS (Automatically Tuned Linear Algebra
b04b0d
Software) libraries compiled with optimizations for the Corei2 (Ivy/Sandy bridge)
b04b0d
CPUs. The base ATLAS builds for the x86_64 architecture are made for the hammer64 CPUs.
b04b0d
b04b0d
%package corei2-devel
b04b0d
Summary:        Development libraries for ATLAS for Corei2 (Ivy/Sandy bridge) CPUs
b04b0d
Group:          Development/Libraries
b04b0d
Requires:       %{name}-corei2 = %{version}-%{release}
b04b0d
Obsoletes:	%name-header <= %version-%release
b04b0d
Requires(posttrans):	chkconfig
b04b0d
Requires(postun):	chkconfig
b04b0d
b04b0d
%description corei2-devel
b04b0d
This package contains shared and static versions of the ATLAS
b04b0d
(Automatically Tuned Linear Algebra Software) libraries compiled with
b04b0d
optimizations for the corei2 (Ivy/Sandy bridge) CPUs.
b04b0d
%endif
b04b0d
b04b0d
%ifarch %{ix86}
b04b0d
%define types base 
b04b0d
#corei1
b04b0d
b04b0d
#%package corei1
b04b0d
#Summary:        ATLAS libraries for Corei1 (Nehalem/Westmere) CPUs
b04b0d
#Group:          System Environment/Libraries
b04b0d
b04b0d
#%description corei1
b04b0d
#This package contains ATLAS (Automatically Tuned Linear Algebra Software)
b04b0d
#shared libraries compiled with optimizations for the Corei1 (Nehalem/Westmere) CPUs. 
b04b0d
#The base ATLAS builds for the ix86 architecture are made for PIII CPUs.
b04b0d
b04b0d
#%package corei1-devel
b04b0d
#Summary:        Development libraries for ATLAS for Corei1 (Nehalem/Westmere) CPUs
b04b0d
#Group:          Development/Libraries
b04b0d
#Requires:       %{name}-corei1 = %{version}-%{release}
b04b0d
#Obsoletes:	%name-header <= %version-%release
b04b0d
#Requires(posttrans):	chkconfig
b04b0d
#Requires(postun):	chkconfig
b04b0d
b04b0d
#%description corei1-devel
b04b0d
#This package contains shared and static versions of the ATLAS
b04b0d
#(Automatically Tuned Linear Algebra Software) libraries compiled with
b04b0d
#optimizations for the corei1 (Nehalem/Westmere) CPUs.
b04b0d
b04b0d
#%package corei1-static
b04b0d
#Summary:        Static libraries for ATLAS for Corei1 (/Nehalem/Westmere) CPUs
b04b0d
#Group:          Development/Libraries
b04b0d
#Requires:       %{name}-corei1-devel = %{version}-%{release}
b04b0d
#Requires(posttrans):	chkconfig
b04b0d
#Requires(postun):	chkconfig
b04b0d
b04b0d
#%description corei1-static
b04b0d
#This package contains the ATLAS (Automatically Tuned Linear Algebra
b04b0d
#Software) static libraries compiled with optimizations for the Corei1 (Nehalem/Westemere)
b04b0d
#CPUs. The base ATLAS builds for the ix86 architecture are made for the PIII CPUs.
b04b0d
b04b0d
%endif
b04b0d
b04b0d
%ifarch s390 s390x
b04b0d
%define types base z196 z10
b04b0d
b04b0d
%package z196
b04b0d
Summary:        ATLAS libraries for z196
b04b0d
Group:          System Environment/Libraries
b04b0d
b04b0d
%description z196
b04b0d
This package contains the ATLAS (Automatically Tuned Linear Algebra
b04b0d
Software) libraries compiled with optimizations for the z196.
b04b0d
b04b0d
%package z196-devel
b04b0d
Summary:        Development libraries for ATLAS for z196
b04b0d
Group:          Development/Libraries
b04b0d
Requires:       %{name}-z196 = %{version}-%{release}
b04b0d
Obsoletes:	%name-z196-header <= %version-%release
b04b0d
Requires(posttrans):	chkconfig
b04b0d
Requires(postun):	chkconfig
b04b0d
b04b0d
%description z196-devel
b04b0d
This package contains headers and shared versions of the ATLAS
b04b0d
(Automatically Tuned Linear Algebra Software) libraries compiled with
b04b0d
optimizations for the z196 architecture.
b04b0d
b04b0d
%package z196-static
b04b0d
Summary:        Static libraries for ATLAS
b04b0d
Group:          Development/Libraries
b04b0d
Requires:       %{name}-z196-devel = %{version}-%{release}
b04b0d
Requires(posttrans):	chkconfig
b04b0d
Requires(postun):	chkconfig
b04b0d
b04b0d
%description z196-static
b04b0d
This package contains static version of ATLAS (Automatically Tuned
b04b0d
Linear Algebra Software) for the z196 architecture.
b04b0d
b04b0d
b04b0d
%package z10
b04b0d
Summary:        ATLAS libraries for z10
b04b0d
Group:          System Environment/Libraries
b04b0d
b04b0d
%description z10
b04b0d
This package contains the ATLAS (Automatically Tuned Linear Algebra
b04b0d
Software) libraries compiled with optimizations for the z10.
b04b0d
b04b0d
%package z10-devel
b04b0d
Summary:        Development libraries for ATLAS for z10
b04b0d
Group:          Development/Libraries
b04b0d
Requires:       %{name}-z10 = %{version}-%{release}
b04b0d
Obsoletes:	%name-header <= %version-%release
b04b0d
Requires(posttrans):	chkconfig
b04b0d
Requires(postun):	chkconfig
b04b0d
b04b0d
%description z10-devel
b04b0d
This package contains headers and shared versions of the ATLAS
b04b0d
(Automatically Tuned Linear Algebra Software) libraries compiled with
b04b0d
optimizations for the z10 architecture.
b04b0d
b04b0d
%package z10-static
b04b0d
Summary:        Static libraries for ATLAS
b04b0d
Group:          Development/Libraries
b04b0d
Requires:       %{name}-devel = %{version}-%{release}
b04b0d
Requires(posttrans):	chkconfig
b04b0d
Requires(postun):	chkconfig
b04b0d
b04b0d
%description z10-static
b04b0d
This package contains static version of ATLAS (Automatically Tuned
b04b0d
Linear Algebra Software) for the z10 architecture.
b04b0d
b04b0d
b04b0d
%endif
b04b0d
b04b0d
b04b0d
%ifarch ppc64
b04b0d
%define types base power7 power8
b04b0d
b04b0d
%package power8
b04b0d
Summary:        ATLAS libraries for Power 8
b04b0d
Group:          System Environment/Libraries
b04b0d
b04b0d
%description power8
b04b0d
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
b04b0d
shared libraries compiled with optimizations for the Power 8 CPUs. 
b04b0d
The base ATLAS builds for the ppc64 architecture are made for Power 5 CPUs.
b04b0d
b04b0d
%package power8-devel
b04b0d
Summary:        Development libraries for ATLAS for Power 8
b04b0d
Group:          Development/Libraries
b04b0d
Requires:       %{name}-power8 = %{version}-%{release}
b04b0d
Obsoletes:	%name-header <= %version-%release
b04b0d
Requires(posttrans):	chkconfig
b04b0d
Requires(postun):	chkconfig
b04b0d
b04b0d
%description power8-devel
b04b0d
This package contains shared and static versions of the ATLAS
b04b0d
(Automatically Tuned Linear Algebra Software) libraries compiled with
b04b0d
optimizations for the Power 8 CPUs.
b04b0d
b04b0d
%package power8-static
b04b0d
Summary:        Static libraries for ATLAS for Power 8
b04b0d
Group:          Development/Libraries
b04b0d
Requires:       %{name}-power8-devel = %{version}-%{release}
b04b0d
Requires(posttrans):	chkconfig
b04b0d
Requires(postun):	chkconfig
b04b0d
b04b0d
%description power8-static
b04b0d
This package contains the ATLAS (Automatically Tuned Linear Algebra
b04b0d
Software) static libraries compiled with optimizations for the Power 8
b04b0d
CPUs. The base ATLAS builds for the ppc64 architecture are made for the Power 5 CPUs.
b04b0d
b04b0d
%package power7
b04b0d
Summary:        ATLAS libraries for Power 7
b04b0d
Group:          System Environment/Libraries
b04b0d
b04b0d
%description power7
b04b0d
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
b04b0d
shared libraries compiled with optimizations for the Power 7 CPUs. 
b04b0d
The base ATLAS builds for the ppc64 architecture are made for Power 5 CPUs.
b04b0d
b04b0d
%package power7-devel
b04b0d
Summary:        Development libraries for ATLAS for Power 7
b04b0d
Group:          Development/Libraries
b04b0d
Requires:       %{name}-power7 = %{version}-%{release}
b04b0d
Obsoletes:	%name-header <= %version-%release
b04b0d
Requires(posttrans):	chkconfig
b04b0d
Requires(postun):	chkconfig
b04b0d
b04b0d
%description power7-devel
b04b0d
This package contains shared and static versions of the ATLAS
b04b0d
(Automatically Tuned Linear Algebra Software) libraries compiled with
b04b0d
optimizations for the Power 7 CPUs.
b04b0d
b04b0d
%package power7-static
b04b0d
Summary:        Static libraries for ATLAS for Power 7
b04b0d
Group:          Development/Libraries
b04b0d
Requires:       %{name}-power7-devel = %{version}-%{release}
b04b0d
Requires(posttrans):	chkconfig
b04b0d
Requires(postun):	chkconfig
b04b0d
b04b0d
%description power7-static
b04b0d
This package contains the ATLAS (Automatically Tuned Linear Algebra
b04b0d
Software) static libraries compiled with optimizations for the Power 7
b04b0d
CPUs. The base ATLAS builds for the ppc64 architecture are made for the Power 5 CPUs.
b04b0d
b04b0d
%endif
b04b0d
#end of enable_native_atlas if
b04b0d
%endif
b04b0d
b04b0d
%prep
b04b0d
#cat /proc/cpuinfo
b04b0d
%setup -q -n ATLAS
b04b0d
#patch0 -p0 -b .shared
b04b0d
#arm patch not applicable, probably not needed
b04b0d
#%ifarch %{arm}
b04b0d
#%patch2 -p0 -b .arm
b04b0d
#%endif
b04b0d
%patch3 -p1 -b .melf
b04b0d
%patch4 -p1 -b .thrott
b04b0d
%patch5 -p2 -b .sharedlib
b04b0d
%ifarch aarch64
b04b0d
#%patch7 -p1 -b .aarch64
b04b0d
%endif
b04b0d
%patch8 -p1 -b .genparse
b04b0d
%patch9 -p1 -b .unbundle
b04b0d
%patch10 -p1 -b .getri
b04b0d
b04b0d
cp %{SOURCE1} CONFIG/ARCHS/
b04b0d
#cp %{SOURCE2} CONFIG/ARCHS/
b04b0d
cp %{SOURCE3} doc
b04b0d
cp %{SOURCE11} CONFIG/ARCHS/
b04b0d
cp %{SOURCE12} CONFIG/ARCHS/
b04b0d
cp %{SOURCE13} CONFIG/ARCHS/
b04b0d
cp %{SOURCE14} CONFIG/ARCHS/
b04b0d
cp %{SOURCE15} CONFIG/ARCHS/
b04b0d
cp %{SOURCE16} CONFIG/ARCHS/
b04b0d
#cp %{SOURCE8} CONFIG/ARCHS/
b04b0d
#cp %{SOURCE9} CONFIG/ARCHS/
b04b0d
b04b0d
%ifarch %{arm}
b04b0d
# Set arm flags in atlcomp.txt
b04b0d
#sed -i -e 's,-mfpu=vfpv3,-mfpu=neon,' CONFIG/src/atlcomp.txt
b04b0d
sed -i -e 's,-mfloat-abi=softfp,-mfloat-abi=hard,' CONFIG/src/atlcomp.txt
b04b0d
# Some extra arm flags not needed
b04b0d
#sed -i -e 's,-mfpu=vfpv3,,' tune/blas/gemm/CASES/*.flg
b04b0d
%endif
b04b0d
# Debug
b04b0d
#sed -i -e 's,> \(.*\)/ptsanity.out,> \1/ptsanity.out || cat \1/ptsanity.out \&\& exit 1,' makes/Make.*
b04b0d
b04b0d
# Generate lapack library
b04b0d
mkdir lapacklib
b04b0d
cd lapacklib
b04b0d
ar x %{_libdir}/liblapack_pic.a
b04b0d
# Remove functions that have ATLAS implementations
b04b0d
rm -f cgelqf.o cgels.o cgeqlf.o cgeqrf.o cgerqf.o cgesv.o cgetrf.o cgetri.o cgetrs.o clarfb.o clarft.o clauum.o cposv.o cpotrf.o cpotri.o cpotrs.o ctrtri.o dgelqf.o dgels.o dgeqlf.o dgeqrf.o dgerqf.o dgesv.o dgetrf.o dgetri.o dgetrs.o dlamch.o dlarfb.o dlarft.o dlauum.o dposv.o dpotrf.o dpotri.o dpotrs.o dtrtri.o ieeeck.o ilaenv.o lsame.o sgelqf.o sgels.o sgeqlf.o sgeqrf.o sgerqf.o sgesv.o sgetrf.o sgetri.o sgetrs.o slamch.o slarfb.o slarft.o slauum.o sposv.o spotrf.o spotri.o spotrs.o strtri.o xerbla.o zgelqf.o zgels.o zgeqlf.o zgeqrf.o zgerqf.o zgesv.o zgetrf.o zgetri.o zgetrs.o zlarfb.o zlarft.o zlauum.o zposv.o zpotrf.o zpotri.o zpotrs.o ztrtri.o 
b04b0d
# Create new library
b04b0d
ar rcs ../liblapack_pic_pruned.a *.o
b04b0d
cd ..
b04b0d
b04b0d
b04b0d
%build
b04b0d
p=$(pwd)
b04b0d
%undefine _strict_symbol_defs_build
b04b0d
%ifarch %{arm}
b04b0d
%global mode %{nil}
b04b0d
%else
b04b0d
%global mode -b %{__isa_bits}
b04b0d
%endif
b04b0d
b04b0d
%define arg_options %{nil}
b04b0d
%define flags %{nil}
b04b0d
%define threads_option "-t 2"
b04b0d
b04b0d
#Target architectures for the 'base' versions
b04b0d
%ifarch s390x 
b04b0d
%define flags %{nil}
b04b0d
%define base_options "-A IBMz9 -V 1"
b04b0d
%endif
b04b0d
b04b0d
%ifarch x86_64
b04b0d
%define flags "-fcf-protection=full"
b04b0d
%define base_options "-A HAMMER -V 896"
b04b0d
%endif
b04b0d
b04b0d
%ifarch %ix86
b04b0d
%define flags "-fcf-protection=full"
b04b0d
%define base_options "-A PIII -V 512"
b04b0d
%endif
b04b0d
b04b0d
%ifarch ppc
b04b0d
%define flags %{nil}
b04b0d
%define base_options "-A POWER5 -V 1"
b04b0d
%endif
b04b0d
b04b0d
%ifarch ppc64
b04b0d
%define flags %{nil}
b04b0d
%define base_options "-A POWER5 -V 1"
b04b0d
%endif
b04b0d
b04b0d
%ifarch ppc64le
b04b0d
%define flags %{nil}
b04b0d
%define base_options "-A POWER8 -V 1"
b04b0d
%endif
b04b0d
b04b0d
%ifarch %{arm}
b04b0d
%define flags "-DATL_ARM_HARDFP=1"
b04b0d
%define base_options "-A ARMa7 -V 1"
b04b0d
%endif
b04b0d
b04b0d
%ifarch aarch64
b04b0d
%define flags %{nil}
b04b0d
%define base_options "-A ARM64a53 -V 1"
b04b0d
%endif
b04b0d
b04b0d
%if "%{?enable_native_atlas}" != "0"
b04b0d
%define	threads_option %{nil}
b04b0d
%define base_options %{nil}
b04b0d
%define flags %{nil}
b04b0d
%endif
b04b0d
b04b0d
for type in %{types}; do
b04b0d
	if [ "$type" = "base" ]; then
b04b0d
		libname=atlas
b04b0d
		arg_options=%{base_options}
b04b0d
		thread_options=%{threads_option} 
b04b0d
		%define pr_base %(echo $((%{__isa_bits}+0)))
b04b0d
	else
b04b0d
		libname=atlas-${type}
b04b0d
		if [ "$type" = "corei2" ]; then
b04b0d
			thread_options="-t 4"
b04b0d
			arg_options="-A Corei2 -V 896"
b04b0d
			%define pr_corei2 %(echo $((%{__isa_bits}+2)))
b04b0d
		elif [ "$type" = "corei1" ]; then
b04b0d
			arg_options="-A Corei1 -V 896"
b04b0d
			%define pr_corei1 %(echo $((%{__isa_bits}+2)))
b04b0d
		elif [ "$type" = "z10" ]; then
b04b0d
			arg_options="-A IBMz10 -V 1"
b04b0d
			%define pr_z10 %(echo $((%{__isa_bits}+2)))
b04b0d
		elif [ "$type" = "z196" ]; then
b04b0d
			arg_options="-A IBMz196 -V 1"
b04b0d
			%define pr_z196 %(echo $((%{__isa_bits}+4)))
b04b0d
		elif [ "$type" = "power7" ]; then
b04b0d
			thread_options="-t 4"
b04b0d
			arg_options="-A POWER7 -V 1"
b04b0d
			%define pr_power7 %(echo $((%{__isa_bits}+2)))
b04b0d
		elif [ "$type" = "power8" ]; then
b04b0d
			thread_options="-t 4"
b04b0d
			arg_options="-A POWER8 -V 1"
b04b0d
			%define pr_power8 %(echo $((%{__isa_bits}+4)))
b04b0d
		fi
b04b0d
	fi
b04b0d
	mkdir -p %{_arch}_${type}
b04b0d
	pushd %{_arch}_${type}
b04b0d
	../configure  %{mode} $thread_options $arg_options -D c -DWALL -Fa alg '%{flags} -D_FORTIFY_SOURCE=2 -g -Wa,--noexecstack,--generate-missing-build-notes=yes -fstack-protector-strong -fstack-clash-protection -fPIC -fplugin=annobin -Wl,-z,now'\
b04b0d
	--prefix=%{buildroot}%{_prefix}			\
b04b0d
	--incdir=%{buildroot}%{_includedir}		\
b04b0d
	--libdir=%{buildroot}%{_libdir}/${libname}	
b04b0d
	#--with-netlib-lapack-tarfile=%{SOURCE10}
b04b0d
b04b0d
	#matches both SLAPACK and SSLAPACK
b04b0d
	sed -i "s#SLAPACKlib.*#SLAPACKlib = ${p}/liblapack_pic_pruned.a#" Make.inc
b04b0d
	cat Make.inc
b04b0d
%if "%{?enable_native_atlas}" == "0"
b04b0d
b04b0d
%ifarch ppc64
b04b0d
	#Use big endian
b04b0d
	sed -i 's#ARCH = POWER564LE#ARCH = POWER564#' Make.inc
b04b0d
	sed -i 's#ARCH = POWER764LE#ARCH = POWER764#' Make.inc
b04b0d
	sed -i 's#ARCH = POWER864LE#ARCH = POWER864#' Make.inc
b04b0d
%endif
b04b0d
b04b0d
%endif
b04b0d
b04b0d
	make build
b04b0d
	cd lib
b04b0d
	make shared
b04b0d
	make ptshared
b04b0d
	popd
b04b0d
done
b04b0d
b04b0d
%install 	
b04b0d
for type in %{types}; do
b04b0d
	pushd %{_arch}_${type}
b04b0d
	make DESTDIR=%{buildroot} install
b04b0d
        mv %{buildroot}%{_includedir}/atlas %{buildroot}%{_includedir}/atlas-%{_arch}-${type}
b04b0d
	if [ "$type" = "base" ]; then
b04b0d
		cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas/
b04b0d
		rm -f %{buildroot}%{_libdir}/atlas/*.a
b04b0d
		cp -pr lib/libcblas.a lib/libatlas.a lib/libf77blas.a lib/liblapack.a %{buildroot}%{_libdir}/atlas/
b04b0d
	else
b04b0d
		cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas-${type}/
b04b0d
		rm -f %{buildroot}%{_libdir}/atlas-${type}/*.a
b04b0d
		cp -pr lib/libcblas.a lib/libatlas.a lib/libf77blas.a lib/liblapack.a %{buildroot}%{_libdir}/atlas-${type}/
b04b0d
	fi
b04b0d
	popd
b04b0d
b04b0d
	mkdir -p %{buildroot}/etc/ld.so.conf.d
b04b0d
	if [ "$type" = "base" ]; then
b04b0d
		echo "%{_libdir}/atlas"		\
b04b0d
		> %{buildroot}/etc/ld.so.conf.d/atlas-%{_arch}.conf
b04b0d
	else
b04b0d
		echo "%{_libdir}/atlas-${type}"	\
b04b0d
		> %{buildroot}/etc/ld.so.conf.d/atlas-%{_arch}-${type}.conf
b04b0d
	fi
b04b0d
done
b04b0d
b04b0d
#create pkgconfig file
b04b0d
mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
b04b0d
cat > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/atlas.pc << DATA
b04b0d
Name: %{name}
b04b0d
Version: %{version}
b04b0d
Description: %{summary}
b04b0d
Cflags: -I%{_includedir}/atlas/
b04b0d
Libs: -L%{_libdir}/atlas/ -lsatlas
b04b0d
DATA
b04b0d
b04b0d
b04b0d
mkdir -p %{buildroot}%{_includedir}/atlas
b04b0d
b04b0d
b04b0d
%check
b04b0d
# Run make check but don't fail the build on these arches
b04b0d
#%ifarch s390 aarch64 ppc64
b04b0d
#for type in %{types}; do
b04b0d
#	pushd %{_arch}_${type}
b04b0d
#	make check ptcheck  
b04b0d
#	popd
b04b0d
#done
b04b0d
#%else
b04b0d
for type in %{types}; do
b04b0d
	pushd %{_arch}_${type}
b04b0d
	make check ptcheck 
b04b0d
	popd
b04b0d
done
b04b0d
#%endif
b04b0d
b04b0d
%post -p /sbin/ldconfig
b04b0d
b04b0d
%postun -p /sbin/ldconfig
b04b0d
b04b0d
%posttrans devel
b04b0d
/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
b04b0d
		%{_includedir}/atlas-%{_arch}-base %{pr_base}
b04b0d
b04b0d
%postun devel
b04b0d
if [ $1 -ge 0 ] ; then
b04b0d
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-base
b04b0d
fi
b04b0d
b04b0d
%if "%{?enable_native_atlas}" == "0"
b04b0d
%ifarch x86_64
b04b0d
b04b0d
	%post -n atlas-corei2 -p /sbin/ldconfig
b04b0d
b04b0d
	%postun -n atlas-corei2 -p /sbin/ldconfig
b04b0d
b04b0d
	%posttrans corei2-devel
b04b0d
		/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
b04b0d
			%{_includedir}/atlas-%{_arch}-corei2  %{pr_corei2}
b04b0d
b04b0d
	%postun corei2-devel
b04b0d
	if [ $1 -ge 0 ] ; then
b04b0d
		/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-corei2
b04b0d
	fi
b04b0d
b04b0d
%endif
b04b0d
b04b0d
%ifarch %{ix86}
b04b0d
b04b0d
	%post -n atlas-corei1 -p /sbin/ldconfig
b04b0d
b04b0d
	%postun -n atlas-corei1 -p /sbin/ldconfig
b04b0d
b04b0d
	%posttrans corei1-devel
b04b0d
		/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
b04b0d
			%{_includedir}/atlas-%{_arch}-corei1  %{pr_corei1}
b04b0d
b04b0d
	%postun corei1-devel
b04b0d
	if [ $1 -ge 0 ] ; then
b04b0d
		/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-corei1
b04b0d
	fi
b04b0d
b04b0d
%endif
b04b0d
b04b0d
%ifarch s390 s390x
b04b0d
b04b0d
	%post -n atlas-z10 -p /sbin/ldconfig
b04b0d
b04b0d
	%postun -n atlas-z10 -p /sbin/ldconfig
b04b0d
b04b0d
	%posttrans z10-devel
b04b0d
		/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
b04b0d
			%{_includedir}/atlas-%{_arch}-z10  %{pr_z10}
b04b0d
b04b0d
	%postun z10-devel
b04b0d
	if [ $1 -ge 0 ] ; then
b04b0d
		/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-z10
b04b0d
	fi
b04b0d
	
b04b0d
	%post -n atlas-z196 -p /sbin/ldconfig
b04b0d
b04b0d
	%postun -n atlas-z196 -p /sbin/ldconfig
b04b0d
b04b0d
	%posttrans z196-devel
b04b0d
		/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
b04b0d
			%{_includedir}/atlas-%{_arch}-z196  %{pr_z196}
b04b0d
b04b0d
	%postun z196-devel
b04b0d
	if [ $1 -ge 0 ] ; then
b04b0d
		/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-z196
b04b0d
	fi
b04b0d
b04b0d
%endif
b04b0d
b04b0d
%ifarch ppc64
b04b0d
b04b0d
	%post -n atlas-power7 -p /sbin/ldconfig
b04b0d
b04b0d
	%postun -n atlas-power7 -p /sbin/ldconfig
b04b0d
b04b0d
	%posttrans power7-devel
b04b0d
		/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
b04b0d
			%{_includedir}/atlas-%{_arch}-power7  %{pr_power7}
b04b0d
b04b0d
	%postun power7-devel
b04b0d
	if [ $1 -ge 0 ] ; then
b04b0d
		/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-power7
b04b0d
	fi
b04b0d
	
b04b0d
	%post -n atlas-ppc8 -p /sbin/ldconfig
b04b0d
b04b0d
	%postun -n atlas-ppc8 -p /sbin/ldconfig
b04b0d
b04b0d
	%posttrans ppc8-devel
b04b0d
		/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
b04b0d
			%{_includedir}/atlas-%{_arch}-ppc8  %{pr_ppc8}
b04b0d
b04b0d
	%postun ppc8-devel
b04b0d
	if [ $1 -ge 0 ] ; then
b04b0d
		/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-ppc8
b04b0d
	fi
b04b0d
b04b0d
%endif
b04b0d
#enable_native_atlas
b04b0d
%endif
b04b0d
%files
b04b0d
	%doc doc/README.dist
b04b0d
	%dir %{_libdir}/atlas
b04b0d
	%{_libdir}/atlas/*.so.*
b04b0d
	%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}.conf
b04b0d
b04b0d
%files devel
b04b0d
	%doc doc
b04b0d
	%{_libdir}/atlas/*.so
b04b0d
	%{_includedir}/atlas-%{_arch}-base/
b04b0d
	%{_includedir}/*.h
b04b0d
	%ghost %{_includedir}/atlas
b04b0d
	%{_libdir}/pkgconfig/atlas.pc
b04b0d
b04b0d
%files static
b04b0d
	%{_libdir}/atlas/*.a
b04b0d
b04b0d
%if "%{?enable_native_atlas}" == "0"
b04b0d
b04b0d
%ifarch x86_64
b04b0d
b04b0d
%files corei2
b04b0d
%doc doc/README.dist
b04b0d
%dir %{_libdir}/atlas-corei2
b04b0d
%{_libdir}/atlas-corei2/*.so.*
b04b0d
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-corei2.conf
b04b0d
b04b0d
%files corei2-devel
b04b0d
%doc doc
b04b0d
%{_libdir}/atlas-corei2/*.so
b04b0d
%{_includedir}/atlas-%{_arch}-corei2/
b04b0d
%{_includedir}/*.h
b04b0d
%ghost %{_includedir}/atlas
b04b0d
b04b0d
%files corei2-static
b04b0d
%{_libdir}/atlas-corei2/*.a
b04b0d
%endif
b04b0d
b04b0d
%ifarch ppc64
b04b0d
b04b0d
b04b0d
%files power8
b04b0d
%doc doc/README.dist
b04b0d
%dir %{_libdir}/atlas-power8
b04b0d
%{_libdir}/atlas-power8/*.so.*
b04b0d
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-power8.conf
b04b0d
b04b0d
%files power8-devel
b04b0d
%doc doc
b04b0d
%{_libdir}/atlas-power8/*.so
b04b0d
%{_includedir}/atlas-%{_arch}-power8/
b04b0d
%{_includedir}/*.h
b04b0d
%ghost %{_includedir}/atlas
b04b0d
b04b0d
%files power8-static
b04b0d
%{_libdir}/atlas-power8/*.a
b04b0d
b04b0d
%files power7
b04b0d
%doc doc/README.dist
b04b0d
%dir %{_libdir}/atlas-power7
b04b0d
%{_libdir}/atlas-power7/*.so.*
b04b0d
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-power7.conf
b04b0d
b04b0d
%files power7-devel
b04b0d
%doc doc
b04b0d
%{_libdir}/atlas-power7/*.so
b04b0d
%{_includedir}/atlas-%{_arch}-power7/
b04b0d
%{_includedir}/*.h
b04b0d
%ghost %{_includedir}/atlas
b04b0d
b04b0d
%files power7-static
b04b0d
%{_libdir}/atlas-power7/*.a
b04b0d
%endif
b04b0d
b04b0d
%ifarch %{ix86}
b04b0d
b04b0d
#%files corei1
b04b0d
#%doc doc/README.dist
b04b0d
#%dir %{_libdir}/atlas-corei1
b04b0d
#%{_libdir}/atlas-corei1/*.so.*
b04b0d
#%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-corei1.conf
b04b0d
b04b0d
#%files corei1-devel
b04b0d
#%doc doc
b04b0d
#%{_libdir}/atlas-corei1/*.so
b04b0d
#%{_includedir}/atlas-%{_arch}-corei1/
b04b0d
#%{_includedir}/*.h
b04b0d
#%ghost %{_includedir}/atlas
b04b0d
b04b0d
#%files corei1-static
b04b0d
#%{_libdir}/atlas-corei1/*.a
b04b0d
%endif
b04b0d
b04b0d
%ifarch s390 s390x
b04b0d
%files z10
b04b0d
%doc doc/README.dist
b04b0d
%dir %{_libdir}/atlas-z10
b04b0d
%{_libdir}/atlas-z10/*.so.*
b04b0d
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-z10.conf
b04b0d
b04b0d
%files z10-devel
b04b0d
%doc doc
b04b0d
%{_libdir}/atlas-z10/*.so
b04b0d
%{_includedir}/atlas-%{_arch}-z10/
b04b0d
%{_includedir}/*.h
b04b0d
%ghost %{_includedir}/atlas
b04b0d
b04b0d
%files z10-static
b04b0d
%{_libdir}/atlas-z10/*.a
b04b0d
b04b0d
%files z196
b04b0d
%doc doc/README.dist
b04b0d
%dir %{_libdir}/atlas-z196
b04b0d
%{_libdir}/atlas-z196/*.so.*
b04b0d
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-z196.conf
b04b0d
b04b0d
%files z196-devel
b04b0d
%doc doc
b04b0d
%{_libdir}/atlas-z196/*.so
b04b0d
%{_includedir}/atlas-%{_arch}-z196/
b04b0d
%{_includedir}/*.h
b04b0d
%ghost %{_includedir}/atlas
b04b0d
b04b0d
%files z196-static
b04b0d
%{_libdir}/atlas-z196/*.a
b04b0d
b04b0d
%endif
b04b0d
#enable_native_atlas if
b04b0d
%endif
b04b0d
b04b0d
%changelog
b04b0d
* Mon Jun 10 2019 Jakub Martisko <jamartis@redhat.com> - 3.10.3-7
b04b0d
* Fix covscan related issues (getri function)
b04b0d
Related: #1602445
b04b0d
b04b0d
* Mon Dec 17 2018 Jakub Martisko <jamartis@redhat.com> - 3.10.3-6
b04b0d
* Pass all required compiler/linker flags
b04b0d
- use annobin plugin
b04b0d
- generate assembler build notes
b04b0d
Related: #1624098
b04b0d
b04b0d
* Wed Apr 25 2018 Jakub Martisko <jamartis@redhat.com> - 3.10.3-5
b04b0d
- Pass RPM_LD_FLAGS to linker
b04b0d
b04b0d
* Wed Apr 25 2018 Jakub Martisko <jamartis@redhat.com> - 3.10.3-4
b04b0d
- Add gcc to buildrequires
b04b0d
b04b0d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.3-3
b04b0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b04b0d
b04b0d
* Tue Jan 30 2018 Björn Esser <besser82@fedoraproject.org> - 3.10.3-2
b04b0d
- Rebuilt for GCC8
b04b0d
b04b0d
* Thu Aug 17 2017 Jakub Martisko <jamartis@redhat.com> - 3.10.3-1
b04b0d
- Update to new 3.10.3 stable version.
b04b0d
- Remove ppc64/ppc64le related patches.
b04b0d
- All packages now use -A option to specify the target CPU/Architecture instead of 
b04b0d
sed substitutions and auto detection. The packages should now be less dependant on the 
b04b0d
builder machine used.
b04b0d
- Base package for each architecture should now be configured to be compatible with the 
b04b0d
most basic machine of given type.
b04b0d
- In addittion to base package, added some optimized packages for more advanced CPUs for
b04b0d
most architectures.
b04b0d
- Dropped sse2/sse3 subpackages for ix86
b04b0d
b04b0d
* Wed Aug 16 2017 Tom Callaway <spot@fedoraproject.org> - 3.10.2-20
b04b0d
- rebuild again for fixed lapack
b04b0d
b04b0d
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.2-12
b04b0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b04b0d
b04b0d
* Sun Nov 29 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.10.2-11
b04b0d
- Rebuild for updated lapack
b04b0d
b04b0d
* Thu Nov 26 2015 Than Ngo <than@redhat.com> 3.10.2-10
b04b0d
- backport upstream patch for power8 support
b04b0d
b04b0d
* Fri Nov 13 2015 Than Ngo <than@redhat.com> 3.10.2-9
b04b0d
- add correct assembler option for ppc64
b04b0d
b04b0d
* Wed Nov 04 2015 Than Ngo <than@redhat.com> - 3.10.2-8
b04b0d
- add correct machine type for ppc64 -> fix build failure on ppc64
b04b0d
b04b0d
* Wed Oct 28 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 3.10.2-7
b04b0d
- Drop bundled(lapack) which was already fixed in atlas-3.10.1-18.
b04b0d
b04b0d
* Thu Jul 09 2015 Than Ngo <than@redhat.com> 3.10.2-6
b04b0d
- fix ppc64le patch
b04b0d
b04b0d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.2-5
b04b0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b04b0d
b04b0d
* Wed Jun 10 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 3.10.2-4
b04b0d
- Refreshed AArch64 patch
b04b0d
b04b0d
* Fri Jun 05 2015 Dan Horák <dan[at]danny.cz> - 3.10.2-3
b04b0d
- drop upstreamed s390 patch
b04b0d
b04b0d
* Wed May 20 2015 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.2-2
b04b0d
- include all single-threaded wrapper libraries in -static subpackage
b04b0d
- bz#1222079
b04b0d
b04b0d
* Thu May 14 2015 Orion Poplawski <orion@cora.nwra.com> - 3.10.2-1
b04b0d
- Update to 3.10.2 (bug #1118596)
b04b0d
- Autodetect arm arch
b04b0d
- Add arch_option for ppc64le
b04b0d
b04b0d
* Thu Mar 05 2015 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-22
b04b0d
- lapack bundled again, mark this.
b04b0d
b04b0d
* Sat Feb 07 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 3.10.1-21
b04b0d
- Devel packages don't need to require lapack-devel anymore.
b04b0d
b04b0d
* Fri Jan 30 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 3.10.1-20
b04b0d
- Link statically to system LAPACK as in earlier versions of Fedora and as
b04b0d
  in OpenBLAS (BZ #1181369).
b04b0d
b04b0d
* Wed Jan 28 2015 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-19
b04b0d
- updated chkconfig and dependencies of atlas-devel after unbundling
b04b0d
b04b0d
* Fri Jan 23 2015 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-18
b04b0d
- unbundled lapack (only a few modified routines shipped with atlas sources are supposed to stay)
b04b0d
b04b0d
* Thu Oct 30 2014 Jaromir Capik <jcapik@redhat.com> - 3.10.1-17
b04b0d
- patching for Power8 to pass performance tunings and tests on P8 builders
b04b0d
b04b0d
* Fri Oct 24 2014 Orion Poplawski <orion@cora.nwra.com> - 3.10.1-16
b04b0d
- Fix alternatives install
b04b0d
b04b0d
* Thu Oct 23 2014 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-15
b04b0d
- added pkgconfig file
b04b0d
b04b0d
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.1-14
b04b0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b04b0d
b04b0d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.1-13
b04b0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b04b0d
b04b0d
* Mon Feb 24 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.10.1-12
b04b0d
- Don't fail build on make check on aarch64 due to issues with tests
b04b0d
b04b0d
* Sun Feb 16 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 3.10.1-11
b04b0d
- Unbreak AArch64 build.
b04b0d
- ARMv8 is different from ARMv7 so should not be treated as such. Otherwise
b04b0d
  atlas tries to do some crazy ARMv764 build and fail.
b04b0d
b04b0d
* Wed Nov 20 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-10
b04b0d
- updated lapack to 3.5.0
b04b0d
b04b0d
* Wed Nov 13 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-9
b04b0d
- updated subpackage description
b04b0d
b04b0d
* Tue Nov 05 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-8
b04b0d
- patch for aarch64 from https://bugzilla.redhat.com/attachment.cgi?id=755555
b04b0d
b04b0d
* Wed Oct 16 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-7
b04b0d
- Provides: bundled(lapack)
b04b0d
b04b0d
* Thu Oct 10 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-6
b04b0d
- make check on arm enabled - seems to work
b04b0d
b04b0d
* Wed Oct 2 2013 Orion Poplawski <orion@cora.nwra.com> - 3.10.1-5
b04b0d
- Add -DATL_ARM_HARDFP=1 for arm build
b04b0d
- Rework how arm flags are set
b04b0d
b04b0d
* Mon Sep 30 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-4
b04b0d
- disable tests on arm to allow update for x86
b04b0d
b04b0d
* Tue Sep 24 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-3
b04b0d
- disable affinity to prevent crash on systems with fewer cpus
b04b0d
b04b0d
* Mon Sep 23 2013 Orion Poplawski <orion@cora.nwra.com> - 3.10.1-2
b04b0d
- Add %%check section
b04b0d
b04b0d
* Fri Sep 20 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-1
b04b0d
- Rebase to 3.10.1
b04b0d
- Dropped x86_64-SSE2, ix86-SSE1, ix86-3DNow, z10, z196 (uncompilable).
b04b0d
- Modified incompatible patches.
b04b0d
- Added armv7neon support, modified archdef from softfp abi to hard abi.
b04b0d
- Modified Make.lib to include build-id, soname, versioned library name and symlinks.
b04b0d
- Now builds monolithic libsatlas (serial) and libtatlas (threaded)
b04b0d
  libraries with lapack and blas included.
b04b0d
- Lapack source tarball needed instead of static library.
b04b0d
- Disabled cpu throttling detection again (sorry, could not work on atlas
b04b0d
  otherwise, feel free to enable yet again - atlas-throttling.patch).
b04b0d
- Removed mentions of "Fedora" to promote redistribution.
b04b0d
- Modified parts of atlas.spec sometimes left in place, work still in progress,
b04b0d
  cleanup needed.
b04b0d
b04b0d
b04b0d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.4-9
b04b0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b04b0d
b04b0d
* Sun Jan 27 2013 Peter Robinson <pbrobinson@fedoraproject.org> 3.8.4-8
b04b0d
- Rebuild for ARM glibc/binutils issues
b04b0d
b04b0d
* Fri Sep 07 2012 Orion Poplawski <orion@nwra.com> - 3.8.4-7
b04b0d
- Rebuild with lapack 3.4.1
b04b0d
b04b0d
* Thu Aug 09 2012 Orion Poplawski <orion@nwra.com> - 3.8.4-6
b04b0d
- Add patch to properly pass -melf_* to the linker with -Wl (bug 817552)
b04b0d
b04b0d
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.4-5
b04b0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b04b0d
b04b0d
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.4-4
b04b0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b04b0d
b04b0d
* Thu Sep 01 2011 Deji Akingunola <dakingun@gmail.com> - 3.8.4-3
b04b0d
- Apply patch to enable arm build (Patch provided by Jitesh Shah <jiteshs@marvell.com>)
b04b0d
- Stop turning off throttle checking, upstream frown at it (seems O.K. for Koji)
b04b0d
b04b0d
* Mon Jun 20 2011 Dan Horák <dan[at]danny.cz> - 3.8.4-2
b04b0d
- Use -march=z10 for z196 optimised build because the builder is a z10
b04b0d
  (Christian Bornträger)
b04b0d
b04b0d
* Tue Jun 14 2011 Deji Akingunola <dakingun@gmail.com> - 3.8.4-1
b04b0d
- Update to 3.8.4
b04b0d
- Build the default package for SSE2 and add a SSE3 subpackage on x86_64
b04b0d
- Apply patch (and arch defs.) to build on s390 and s390x (Dan Horák)
b04b0d
- Fix-up build on s390 and s390x (Christian Bornträger)
b04b0d
b04b0d
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
b04b0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b04b0d
b04b0d
* Mon Jul 26 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-18
b04b0d
- Create a subpackage for SSE2 on x86_64
b04b0d
b04b0d
* Sat Jul 17 2010 Dan Horák <dan[at]danny.cz> - 3.8.3-17
b04b0d
- rebuild against fixed lapack libraries
b04b0d
b04b0d
* Thu Jul 15 2010 Dan Horák <dan[at]danny.cz> - 3.8.3-16
b04b0d
- fix build on s390 (patch by Karsten Hopp)
b04b0d
b04b0d
* Wed Feb 10 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-15
b04b0d
- Disable the problematic sparc patch
b04b0d
- Change lapack-devel BR to lapack-static, where liblapack_pic.a now resides.
b04b0d
b04b0d
* Wed Feb 03 2010 Dennis Gilmore <dennis@ausil.us> - 3.8.3-14
b04b0d
- fix sparc build
b04b0d
b04b0d
* Fri Jan 29 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-13
b04b0d
- Remove static libraries.
b04b0d
- Fix typo in SSE3 subpackage's summary.
b04b0d
b04b0d
* Sat Oct 24 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-12
b04b0d
- Use alternatives to workaround multilib conflicts (BZ#508565). 
b04b0d
b04b0d
* Tue Sep 29 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-11
b04b0d
- Obsolete the -header subpackage properly. 
b04b0d
b04b0d
* Sat Sep 26 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-10
b04b0d
- Use the new arch. default for Pentium PRO (Fedora bug #510498)
b04b0d
- (Re-)Introduce 3dNow subpackage
b04b0d
b04b0d
* Sun Sep  6 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 3.8.3-9
b04b0d
- Rebuild against fixed lapack (see #520518)
b04b0d
b04b0d
* Thu Aug 13 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-8
b04b0d
- Revert the last change, it doesn't solve the problem. 
b04b0d
b04b0d
* Tue Aug 04 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-7
b04b0d
- Create a -header subpackage to avoid multilib conflicts (BZ#508565). 
b04b0d
b04b0d
* Tue Aug 04 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-6
b04b0d
- Add '-g' to build flag to allow proper genration of debuginfo subpackages (Fedora bug #509813)
b04b0d
- Build for F12
b04b0d
b04b0d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.3-5
b04b0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b04b0d
b04b0d
* Sat May 02 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-4
b04b0d
- Use the right -msse* option for the -sse* subpackages (Fedora bug #498715)
b04b0d
b04b0d
* Tue Apr 21 2009 Karsten Hopp <karsten@redhat.com> 3.8.3-3.1
b04b0d
- add s390x to 64 bit archs
b04b0d
b04b0d
* Fri Feb 27 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-3
b04b0d
- Rebuild
b04b0d
b04b0d
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.3-2
b04b0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b04b0d
b04b0d
* Sun Feb 22 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-1
b04b0d
- Update to version 3.8.3
b04b0d
b04b0d
* Sun Dec 21 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-5
b04b0d
- Link in appropriate libs when creating shared libs, reported by Orcan 'oget' Ogetbil (BZ#475411)
b04b0d
b04b0d
* Tue Dec 16 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-4
b04b0d
- Don't symlink the atlas libdir on i386, cause upgrade issue (BZ#476787)
b04b0d
- Fix options passed to gcc when making shared libs
b04b0d
b04b0d
* Tue Dec 16 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-3
b04b0d
- Use 'gcc -shared' to build shared libs instead of stock 'ld'
b04b0d
b04b0d
* Sat Dec 13 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-2
b04b0d
- Properly obsolete/provide older subpackages that are no longer packaged.
b04b0d
b04b0d
* Mon Sep 01 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-1
b04b0d
- Upgrade to ver 3.8.2 with refined build procedures.
b04b0d
b04b0d
* Thu Feb 28 2008 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-15
b04b0d
- Disable altivec package--it is causing illegal instructions during build.
b04b0d
b04b0d
* Thu Feb 28 2008 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-14
b04b0d
- Enable compilation on alpha (bug 426086).
b04b0d
- Patch for compilation on ia64 (bug 432744).
b04b0d
b04b0d
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.6.0-13
b04b0d
- Autorebuild for GCC 4.3
b04b0d
b04b0d
* Mon Jun  4 2007 Orion Poplawski <orion@cora.nwra.com> 3.6.0-12
b04b0d
- Rebuild for ppc64
b04b0d
b04b0d
* Fri Sep  8 2006 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-11
b04b0d
- Rebuild for FC6.
b04b0d
- Remove outdated comments from spec file.
b04b0d
b04b0d
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-10
b04b0d
- Rebuild for Fedora Extras 5.
b04b0d
- Add --noexecstack to compilation of assembly kernels. These were
b04b0d
  previously marked executable, which caused problems with selinux.
b04b0d
b04b0d
* Mon Dec 19 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-9
b04b0d
- Rebuild for gcc 4.1.
b04b0d
b04b0d
* Mon Oct 10 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-8
b04b0d
- Make all devel subpackages depend on their non-devel counterparts.
b04b0d
- Add /etc/ld.so.conf.d files for -sse and -3dnow, because they don't
b04b0d
  seem to get picked up automatically.
b04b0d
b04b0d
* Wed Oct 05 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-7
b04b0d
- Forgot to add the new patch to sources.
b04b0d
b04b0d
* Tue Oct 04 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-6
b04b0d
- Use new Debian patch, and enable shared libs (they previously failed
b04b0d
  to build on gcc 4).
b04b0d
- Minor updates to description and README.Fedora file.
b04b0d
- Fix buildroot name to match FE preferred form.
b04b0d
- Fixes for custom optimized builds.
b04b0d
- Add dist tag.
b04b0d
b04b0d
* Wed Sep 28 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-5
b04b0d
- fix files lists.
b04b0d
b04b0d
* Mon Sep 26 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-4
b04b0d
- generate library symlinks earlier for the benefit of later linking steps.
b04b0d
b04b0d
* Wed Sep 14 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-3
b04b0d
- Change lapack dependency to lapack-devel, and use lapack_pic.a for
b04b0d
  building liblapack.so.
b04b0d
b04b0d
* Wed Sep 14 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-2
b04b0d
- Add "bit" macro to correctly build on x86_64.
b04b0d
b04b0d
* Tue Aug 16 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-1
b04b0d
- Initial version.