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