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