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