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