Deji Akingunola 9680a0
%define enable_native_atlas 0
Deji Akingunola 9680a0
Quentin Spencer cdd562
Name:           atlas
Frantisek Kluknavsky 62670b
Version:        3.10.1
Deji Akingunola 8a1f9d
%if "%{?enable_native_atlas}" != "0"
Deji Akingunola 8a1f9d
%define dist .native
Deji Akingunola 8a1f9d
%endif
Susi Lehtola 36b857
Release:        18%{?dist}
Quentin Spencer cdd562
Summary:        Automatically Tuned Linear Algebra Software
Quentin Spencer cdd562
Quentin Spencer cdd562
Group:          System Environment/Libraries
Quentin Spencer cdd562
License:        BSD
Quentin Spencer cdd562
URL:            http://math-atlas.sourceforge.net/
Deji Akingunola e96058
Source0:        http://downloads.sourceforge.net/math-atlas/%{name}%{version}.tar.bz2
Deji Akingunola 7d1f5e
Source1:        PPRO32.tgz
Frantisek Kluknavsky 62670b
#Source2:        K7323DNow.tgz
Frantisek Kluknavsky 62670b
Source3:        README.dist
Susi Lehtola 36b857
#Source4:        USII64.tgz
Susi Lehtola 36b857
#Source5:        USII32.tgz
Frantisek Kluknavsky 62670b
#Source6:        IBMz1032.tgz
Frantisek Kluknavsky 62670b
#Source7:        IBMz1064.tgz
Frantisek Kluknavsky 62670b
#Source8:        IBMz19632.tgz
Frantisek Kluknavsky 62670b
#Source9:        IBMz19664.tgz
Frantisek Kluknavsky 62670b
#archdefs taken from debian:
Frantisek Kluknavsky 62670b
Source11: 	POWER332.tar.bz2
Frantisek Kluknavsky 62670b
Source12: 	IBMz932.tar.bz2
Frantisek Kluknavsky 62670b
Source13: 	IBMz964.tar.bz2
Frantisek Kluknavsky 62670b
#upstream arm uses softfp abi, fedora arm uses hard
Frantisek Kluknavsky 62670b
Source14: 	ARMv732NEON.tar.bz2
Frantisek Kluknavsky 62670b
Deji Akingunola 8a1f9d
Patch1:         atlas-s390port.patch
Deji Akingunola 6e9c4c
Patch2:		atlas-fedora-arm.patch
Orion Poplawski cd38f9
# Properly pass -melf_* to the linker with -Wl, fixes FTBFS bug 817552
Orion Poplawski cd38f9
# https://sourceforge.net/tracker/?func=detail&atid=379484&aid=3555789&group_id=23725
Orion Poplawski cd38f9
Patch3:		atlas-melf.patch
Frantisek Kluknavsky 62670b
Patch4:		atlas-throttling.patch
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#credits Lukas Slebodnik
Frantisek Kluknavsky 62670b
Patch5:		atlas-shared_libraries.patch
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 48e390
Patch6:		atlas-affinity.patch
Frantisek Kluknavsky 48e390
Peter Robinson 93e9bf
Patch7:		atlas-aarch64port.patch
Peter Robinson 93e9bf
Patch8:		atlas-genparse.patch
Susi Lehtola 36b857
Patch9:		atlas.3.10.1-unbundle.patch
Frantisek Kluknavsky e38172
Quentin Spencer cdd562
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Quentin Spencer cdd562
Jaromir Capik 8ffdb3
# ppc64le patches
Jaromir Capik 8ffdb3
Patch95:	initialize_malloc_memory.invtrsm.wms.oct23.patch
Jaromir Capik 8ffdb3
Patch96:	xlf.command.not.found.patch
Jaromir Capik 8ffdb3
Patch98:	getdoublearr.stripwhite.patch
Jaromir Capik 8ffdb3
Patch99:	ppc64le-remove-vsx.patch
Jaromir Capik 8ffdb3
Patch100:	ppc64le-abiv2.patch
Jaromir Capik 8ffdb3
Patch110:	p8-mem-barrier.patch
Jaromir Capik 8ffdb3
Frantisek Kluknavsky 62670b
BuildRequires:  gcc-gfortran
Susi Lehtola 36b857
BuildRequires:  lapack-static
Frantisek Kluknavsky 6c8df6
Frantisek Kluknavsky 62670b
%ifarch x86_64
Frantisek Kluknavsky 62670b
Obsoletes:      atlas-sse3 < 3.10
Frantisek Kluknavsky 62670b
%endif
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
%ifarch %{ix86}
Frantisek Kluknavsky 62670b
Obsoletes:      atlas-3dnow < 3.10
Frantisek Kluknavsky 62670b
Obsoletes:      atlas-sse < 3.10
Frantisek Kluknavsky 62670b
%endif
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
%ifarch s390 s390x
Frantisek Kluknavsky 62670b
Obsoletes:      atlas-z10 < 3.10
Frantisek Kluknavsky 62670b
Obsoletes:      atlas-z196 < 3.10
Frantisek Kluknavsky 62670b
%endif
Frantisek Kluknavsky 62670b
Quentin Spencer cdd562
Quentin Spencer cdd562
%description
Quentin Spencer cdd562
The ATLAS (Automatically Tuned Linear Algebra Software) project is an
Quentin Spencer cdd562
ongoing research effort focusing on applying empirical techniques in
Quentin Spencer cdd562
order to provide portable performance. At present, it provides C and
Quentin Spencer cdd562
Fortran77 interfaces to a portably efficient BLAS implementation, as
Quentin Spencer cdd562
well as a few routines from LAPACK.
Quentin Spencer cdd562
Quentin Spencer 2c4ed2
The performance improvements in ATLAS are obtained largely via
Quentin Spencer cdd562
compile-time optimizations and tend to be specific to a given hardware
Frantisek Kluknavsky 62670b
configuration. In order to package ATLAS some compromises
Quentin Spencer 2c4ed2
are necessary so that good performance can be obtained on a variety
Quentin Spencer cdd562
of hardware. This set of ATLAS binary packages is therefore not
Quentin Spencer 2c4ed2
necessarily optimal for any specific hardware configuration.  However,
Quentin Spencer 2c4ed2
the source package can be used to compile customized ATLAS packages;
Quentin Spencer 2c4ed2
see the documentation for information.
Quentin Spencer cdd562
Quentin Spencer cdd562
%package devel
Quentin Spencer cdd562
Summary:        Development libraries for ATLAS
Quentin Spencer cdd562
Group:          Development/Libraries
Quentin Spencer cdd562
Requires:       %{name} = %{version}-%{release}
Deji Akingunola 3cd5fa
Obsoletes:	%name-header <= %version-%release
Dan Horák 811a0e
Requires(posttrans):	chkconfig
Deji Akingunola 3cd5fa
Requires(preun):	chkconfig
Quentin Spencer cdd562
Quentin Spencer cdd562
%description devel
Frantisek Kluknavsky 100afc
This package contains headers for development with ATLAS
Frantisek Kluknavsky 100afc
(Automatically Tuned Linear Algebra Software).
Quentin Spencer cdd562
Frantisek Kluknavsky 62670b
%package static
Frantisek Kluknavsky 62670b
Summary:        Static libraries for ATLAS
Frantisek Kluknavsky 62670b
Group:          Development/Libraries
Frantisek Kluknavsky 62670b
Requires:       %{name}-devel = %{version}-%{release}
Frantisek Kluknavsky 62670b
Requires(posttrans):	chkconfig
Frantisek Kluknavsky 62670b
Requires(preun):	chkconfig
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
%description static
Frantisek Kluknavsky 62670b
This package contains static version of ATLAS (Automatically Tuned
Frantisek Kluknavsky 62670b
Linear Algebra Software).
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
Deji Akingunola 9680a0
%define types base
Quentin Spencer cdd562
Deji Akingunola 9680a0
%if "%{?enable_native_atlas}" == "0"
Quentin Spencer cdd562
############## Subpackages for architecture extensions #################
Quentin Spencer cdd562
#
Deji Akingunola ef2314
%ifarch x86_64
Frantisek Kluknavsky 62670b
%define types base
Frantisek Kluknavsky 62670b
# sse3
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#package sse3
Frantisek Kluknavsky 62670b
#Summary:        ATLAS libraries for SSE3 extensions
Frantisek Kluknavsky 62670b
#Group:          System Environment/Libraries
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#description sse3
Frantisek Kluknavsky 62670b
#This package contains the ATLAS (Automatically Tuned Linear Algebra
Frantisek Kluknavsky 62670b
#Software) libraries compiled with optimizations for the SSE3
Frantisek Kluknavsky 62670b
#extensions to the x86_64 architecture. The base ATLAS builds for the
Frantisek Kluknavsky 62670b
#x86_64 architecture are made for the SSE2 extensions.
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#package sse3-devel
Frantisek Kluknavsky 62670b
#Summary:        Development libraries for ATLAS with SSE3 extensions
Frantisek Kluknavsky 62670b
#Group:          Development/Libraries
Frantisek Kluknavsky 62670b
#Requires:       %{name}-sse3 = %{version}-%{release}
Frantisek Kluknavsky 62670b
#Obsoletes:	%name-header <= %version-%release
Frantisek Kluknavsky 62670b
#Requires(posttrans):	chkconfig
Frantisek Kluknavsky 62670b
#Requires(preun):	chkconfig
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#description sse3-devel
Frantisek Kluknavsky 62670b
#This package contains shared and static versions of the ATLAS
Frantisek Kluknavsky 62670b
#(Automatically Tuned Linear Algebra Software) libraries compiled with
Frantisek Kluknavsky 62670b
#optimizations for the SSE3 extensions to the x86_64 architecture.
Deji Akingunola ef2314
Deji Akingunola ef2314
%endif
Deji Akingunola ef2314
Deji Akingunola 2119a1
%ifarch %{ix86}
Frantisek Kluknavsky 62670b
%define types base sse2 sse3
Quentin Spencer cdd562
Quentin Spencer cdd562
%package sse2
Quentin Spencer cdd562
Summary:        ATLAS libraries for SSE2 extensions
Quentin Spencer cdd562
Group:          System Environment/Libraries
Deji Akingunola 9680a0
Quentin Spencer cdd562
%description sse2
Deji Akingunola 532d6c
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
Deji Akingunola 532d6c
shared libraries compiled with optimizations for the SSE2
Frantisek Kluknavsky 62670b
extensions to the ix86 architecture. ATLAS builds with
Frantisek Kluknavsky 62670b
SSE(1) and SSE3 extensions also exist.
Deji Akingunola 9680a0
Quentin Spencer cdd562
%package sse2-devel
Quentin Spencer cdd562
Summary:        Development libraries for ATLAS with SSE2 extensions
Quentin Spencer cdd562
Group:          Development/Libraries
Quentin Spencer ee675c
Requires:       %{name}-sse2 = %{version}-%{release}
Deji Akingunola 3cd5fa
Obsoletes:	%name-header <= %version-%release
Dan Horák 811a0e
Requires(posttrans):	chkconfig
Deji Akingunola 3cd5fa
Requires(preun):	chkconfig
Deji Akingunola 9680a0
Quentin Spencer cdd562
%description sse2-devel
Deji Akingunola 532d6c
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
Frantisek Kluknavsky 100afc
headers for libraries compiled with optimizations for the SSE2 extensions
Frantisek Kluknavsky 100afc
to the ix86 architecture.
Quentin Spencer cdd562
Frantisek Kluknavsky 62670b
%package sse2-static
Frantisek Kluknavsky 62670b
Summary:        Static libraries for ATLAS with SSE2 extensions
Frantisek Kluknavsky 62670b
Group:          Development/Libraries
Frantisek Kluknavsky 62670b
Requires:       %{name}-sse2-devel = %{version}-%{release}
Frantisek Kluknavsky 62670b
Requires(posttrans):	chkconfig
Frantisek Kluknavsky 62670b
Requires(preun):	chkconfig
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
%description sse2-static
Frantisek Kluknavsky 62670b
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
Susi Lehtola 36b857
static libraries compiled with optimizations for the SSE2 extensions to the
Frantisek Kluknavsky 62670b
ix86 architecture.
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
Deji Akingunola 9680a0
%package sse3
Deji Akingunola 97c4c3
Summary:        ATLAS libraries for SSE3 extensions
Quentin Spencer cdd562
Group:          System Environment/Libraries
Deji Akingunola 9680a0
Deji Akingunola 9680a0
%description sse3
Quentin Spencer cdd562
This package contains the ATLAS (Automatically Tuned Linear Algebra
Deji Akingunola 9680a0
Software) libraries compiled with optimizations for the SSE3.
Deji Akingunola 9680a0
Deji Akingunola 9680a0
%package sse3-devel
Deji Akingunola 97c4c3
Summary:        Development libraries for ATLAS with SSE3 extensions
Quentin Spencer cdd562
Group:          Development/Libraries
Deji Akingunola 9680a0
Requires:       %{name}-sse3 = %{version}-%{release}
Deji Akingunola 3cd5fa
Obsoletes:	%name-header <= %version-%release
Dan Horák 811a0e
Requires(posttrans):	chkconfig
Deji Akingunola 3cd5fa
Requires(preun):	chkconfig
Deji Akingunola 9680a0
Deji Akingunola 9680a0
%description sse3-devel
Deji Akingunola 532d6c
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
Frantisek Kluknavsky 100afc
headers for libraries compiled with optimizations for the SSE3 extensions
Frantisek Kluknavsky 100afc
to the ix86 architecture.
Quentin Spencer cdd562
Frantisek Kluknavsky 62670b
%package sse3-static
Frantisek Kluknavsky 62670b
Summary:        Static libraries for ATLAS with SSE2 extensions
Deji Akingunola 8a1f9d
Group:          Development/Libraries
Frantisek Kluknavsky 62670b
Requires:       %{name}-sse2-devel = %{version}-%{release}
Deji Akingunola 8a1f9d
Requires(posttrans):	chkconfig
Deji Akingunola 8a1f9d
Requires(preun):	chkconfig
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
%description sse3-static
Frantisek Kluknavsky 62670b
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
Susi Lehtola 36b857
static libraries compiled with optimizations for the SSE3 extensions to the
Frantisek Kluknavsky 62670b
ix86 architecture.
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
%endif
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
%ifarch s390 s390x
Susi Lehtola 36b857
%define types base
Frantisek Kluknavsky 62670b
#z196
Frantisek Kluknavsky 62670b
#z10
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
#%package z196
Frantisek Kluknavsky 62670b
#Summary:        ATLAS libraries for z196
Frantisek Kluknavsky 62670b
#Group:          System Environment/Libraries
Frantisek Kluknavsky 62670b
#
Frantisek Kluknavsky 62670b
#%description z196
Frantisek Kluknavsky 62670b
#This package contains the ATLAS (Automatically Tuned Linear Algebra
Frantisek Kluknavsky 62670b
#Software) libraries compiled with optimizations for the z196.
Frantisek Kluknavsky 62670b
#
Frantisek Kluknavsky 62670b
#%package z196-devel
Frantisek Kluknavsky 62670b
#Summary:        Development libraries for ATLAS for z196
Frantisek Kluknavsky 62670b
#Group:          Development/Libraries
Frantisek Kluknavsky 62670b
#Requires:       %{name}-z196 = %{version}-%{release}
Frantisek Kluknavsky 62670b
#Obsoletes:	%name-header <= %version-%release
Frantisek Kluknavsky 62670b
#Requires(posttrans):	chkconfig
Frantisek Kluknavsky 62670b
#Requires(preun):	chkconfig
Frantisek Kluknavsky 62670b
#
Frantisek Kluknavsky 62670b
#%description z196-devel
Frantisek Kluknavsky 62670b
#This package contains headers and shared versions of the ATLAS
Frantisek Kluknavsky 62670b
#(Automatically Tuned Linear Algebra Software) libraries compiled with
Frantisek Kluknavsky 62670b
#optimizations for the z196 architecture.
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#%package z196-static
Frantisek Kluknavsky 62670b
#Summary:        Static libraries for ATLAS
Frantisek Kluknavsky 62670b
#Group:          Development/Libraries
Frantisek Kluknavsky 62670b
#Requires:       %{name}-devel = %{version}-%{release}
Frantisek Kluknavsky 62670b
#Requires(posttrans):	chkconfig
Frantisek Kluknavsky 62670b
#Requires(preun):	chkconfig
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#%description z196-static
Frantisek Kluknavsky 62670b
#This package contains static version of ATLAS (Automatically Tuned
Frantisek Kluknavsky 62670b
#Linear Algebra Software) for the z196 architecture.
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#%package z10
Frantisek Kluknavsky 62670b
#Summary:        ATLAS libraries for z10
Frantisek Kluknavsky 62670b
#Group:          System Environment/Libraries
Frantisek Kluknavsky 62670b
#
Frantisek Kluknavsky 62670b
#%description z10
Frantisek Kluknavsky 62670b
#This package contains the ATLAS (Automatically Tuned Linear Algebra
Frantisek Kluknavsky 62670b
#Software) libraries compiled with optimizations for the z10.
Frantisek Kluknavsky 62670b
#
Frantisek Kluknavsky 62670b
#%package z10-devel
Frantisek Kluknavsky 62670b
#Summary:        Development libraries for ATLAS for z10
Frantisek Kluknavsky 62670b
#Group:          Development/Libraries
Frantisek Kluknavsky 62670b
#Requires:       %{name}-z10 = %{version}-%{release}
Frantisek Kluknavsky 62670b
#Obsoletes:	%name-header <= %version-%release
Frantisek Kluknavsky 62670b
#Requires(posttrans):	chkconfig
Frantisek Kluknavsky 62670b
#Requires(preun):	chkconfig
Frantisek Kluknavsky 62670b
#
Frantisek Kluknavsky 62670b
#%description z10-devel
Frantisek Kluknavsky 62670b
#This package contains headers and shared versions of the ATLAS
Frantisek Kluknavsky 62670b
#(Automatically Tuned Linear Algebra Software) libraries compiled with
Frantisek Kluknavsky 62670b
#optimizations for the z10 architecture.
Frantisek Kluknavsky 62670b
#
Frantisek Kluknavsky 62670b
#%package z10-static
Frantisek Kluknavsky 62670b
#Summary:        Static libraries for ATLAS
Frantisek Kluknavsky 62670b
#Group:          Development/Libraries
Frantisek Kluknavsky 62670b
#Requires:       %{name}-devel = %{version}-%{release}
Frantisek Kluknavsky 62670b
#Requires(posttrans):	chkconfig
Frantisek Kluknavsky 62670b
#Requires(preun):	chkconfig
Frantisek Kluknavsky 62670b
#
Frantisek Kluknavsky 62670b
#%description z10-static
Frantisek Kluknavsky 62670b
#This package contains static version of ATLAS (Automatically Tuned
Frantisek Kluknavsky 62670b
#Linear Algebra Software) for the z10 architecture.
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%endif
Quentin Spencer cdd562
%endif
Quentin Spencer cdd562
Peter Robinson 93e9bf
%ifarch %{arm}
Frantisek Kluknavsky 62670b
#beware - arch constant can change between releases
Susi Lehtola 36b857
%define arch_option -A 46
Deji Akingunola 6e9c4c
%define threads_option -t 2
Orion Poplawski 885b47
%global armflags -DATL_ARM_HARDFP=1
Frantisek Kluknavsky 62670b
%global mode %{nil}
Frantisek Kluknavsky 62670b
%else
Frantisek Kluknavsky 62670b
%global mode -b %{__isa_bits}
Frantisek Kluknavsky 62670b
%global armflags %{nil}
Frantisek Kluknavsky 48e390
%if "%{?enable_native_atlas}" == "0"
Susi Lehtola 36b857
%define threads_option -t 4
Frantisek Kluknavsky 48e390
%endif
Deji Akingunola 6e9c4c
%endif
Deji Akingunola 6e9c4c
Quentin Spencer cdd562
%prep
Frantisek Kluknavsky 62670b
#uname -a
Frantisek Kluknavsky 62670b
#cat /proc/cpuinfo
Quentin Spencer cdd562
%setup -q -n ATLAS
Frantisek Kluknavsky 62670b
#patch0 -p0 -b .shared
Deji Akingunola 1baaf5
%ifarch s390 s390x
Deji Akingunola 8a1f9d
%patch1 -p1 -b .s390
Deji Akingunola 1baaf5
%endif
Frantisek Kluknavsky 62670b
#arm patch not applicable, probably not needed
Frantisek Kluknavsky 62670b
#%ifarch %{arm}
Frantisek Kluknavsky 62670b
#%patch2 -p0 -b .arm
Frantisek Kluknavsky 62670b
#%endif
Orion Poplawski cd38f9
%patch3 -p1 -b .melf
Frantisek Kluknavsky 62670b
%patch4 -p1 -b .thrott
Frantisek Kluknavsky 62670b
%patch5 -p2 -b .sharedlib
Frantisek Kluknavsky 48e390
#affinity crashes with fewer processors than the builder but increases performance of locally builded library
Frantisek Kluknavsky 48e390
%if "%{?enable_native_atlas}" == "0"
Frantisek Kluknavsky 48e390
%patch6 -p1 -b .affinity
Frantisek Kluknavsky 48e390
%endif
Peter Robinson 93e9bf
%ifarch aarch64
Peter Robinson 93e9bf
%patch7 -p1 -b .aarch64
Frantisek Kluknavsky e38172
%endif
Peter Robinson 93e9bf
%patch8 -p1 -b .genparse
Susi Lehtola 36b857
%patch9 -p1 -b .unbundle
Frantisek Kluknavsky e38172
Deji Akingunola 7d1f5e
cp %{SOURCE1} CONFIG/ARCHS/
Frantisek Kluknavsky 62670b
#cp %{SOURCE2} CONFIG/ARCHS/
Deji Akingunola 7d1f5e
cp %{SOURCE3} doc
Frantisek Kluknavsky 62670b
cp %{SOURCE11} CONFIG/ARCHS/
Frantisek Kluknavsky 62670b
cp %{SOURCE12} CONFIG/ARCHS/
Frantisek Kluknavsky 62670b
cp %{SOURCE13} CONFIG/ARCHS/
Frantisek Kluknavsky 62670b
cp %{SOURCE14} CONFIG/ARCHS/
Frantisek Kluknavsky 62670b
#cp %{SOURCE8} CONFIG/ARCHS/
Frantisek Kluknavsky 62670b
#cp %{SOURCE9} CONFIG/ARCHS/
Jaromir Capik 8ffdb3
Jaromir Capik 8ffdb3
%ifarch ppc64le
Jaromir Capik 8ffdb3
%patch99 -p2
Jaromir Capik 8ffdb3
%patch98 -p2
Jaromir Capik 8ffdb3
%patch96 -p2
Jaromir Capik 8ffdb3
%patch95 -p2
Jaromir Capik 8ffdb3
%patch100 -p2
Jaromir Capik 8ffdb3
%patch110 -p1
Jaromir Capik 8ffdb3
%endif
Jaromir Capik 8ffdb3
Orion Poplawski 885b47
%ifarch %{arm}
Orion Poplawski 885b47
# Set arm flags in atlcomp.txt
Orion Poplawski 885b47
sed -i -e 's,-mfpu=vfpv3,-mfpu=neon,' CONFIG/src/atlcomp.txt
Orion Poplawski 885b47
sed -i -e 's,-mfloat-abi=softfp,-mfloat-abi=hard,' CONFIG/src/atlcomp.txt
Orion Poplawski 885b47
# Some extra arm flags not needed
Orion Poplawski 885b47
sed -i -e 's,-mfpu=vfpv3,,' tune/blas/gemm/CASES/*.flg
Orion Poplawski 885b47
%endif
Orion Poplawski 885b47
# Debug
Orion Poplawski ff5257
#sed -i -e 's,> \(.*\)/ptsanity.out,> \1/ptsanity.out || cat \1/ptsanity.out \&\& exit 1,' makes/Make.*
Quentin Spencer cdd562
Susi Lehtola 36b857
# Generate lapack library
Susi Lehtola 36b857
mkdir lapacklib
Susi Lehtola 36b857
cd lapacklib
Susi Lehtola 36b857
ar x %{_libdir}/liblapack_pic.a
Susi Lehtola 36b857
# Remove functions that have ATLAS implementations
Susi Lehtola 36b857
rm 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
Susi Lehtola 36b857
# Create new library
Susi Lehtola 36b857
ar rcs ../liblapack_pic_pruned.a *.o
Susi Lehtola 36b857
cd ..
Susi Lehtola 36b857
Jaromir Capik 8ffdb3
Quentin Spencer cdd562
%build
Susi Lehtola 36b857
p=$(pwd)
Deji Akingunola 9680a0
for type in %{types}; do
Deji Akingunola 9680a0
	if [ "$type" = "base" ]; then
Deji Akingunola 9680a0
		libname=atlas
Deji Akingunola 3cd5fa
		%define pr_base %(echo $((%{__isa_bits}+0)))
Deji Akingunola 9680a0
	else
Deji Akingunola 9680a0
		libname=atlas-${type}
Deji Akingunola 9680a0
	fi
Frantisek Kluknavsky 62670b
Deji Akingunola 9680a0
	mkdir -p %{_arch}_${type}
Deji Akingunola 9680a0
	pushd %{_arch}_${type}
Frantisek Kluknavsky 62670b
	../configure  %{mode} %{?threads_option} %{?arch_option} -D c -DWALL -Fa alg '%{armflags} -g -Wa,--noexecstack -fPIC'\
Deji Akingunola 9680a0
	--prefix=%{buildroot}%{_prefix}			\
Deji Akingunola 9680a0
	--incdir=%{buildroot}%{_includedir}		\
Susi Lehtola 36b857
	--libdir=%{buildroot}%{_libdir}/${libname}
Susi Lehtola 36b857
	#--with-netlib-lapack-tarfile=%{SOURCE10}
Susi Lehtola 36b857
Susi Lehtola 36b857
        #matches both SLAPACK and SSLAPACK
Susi Lehtola 36b857
        sed -i "s#SLAPACKlib.*#SLAPACKlib = ${p}/liblapack_pic_pruned.a#" Make.inc
Deji Akingunola ef2314
Deji Akingunola 8a1f9d
%if "%{?enable_native_atlas}" == "0"
Deji Akingunola ef2314
%ifarch x86_64
Deji Akingunola 8a1f9d
	if [ "$type" = "base" ]; then
Frantisek Kluknavsky 62670b
#		sed -i 's#ARCH =.*#ARCH = HAMMER64SSE2#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#ARCH =.*#ARCH = HAMMER64SSE3#' Make.inc
Frantisek Kluknavsky 62670b
#		sed -i 's#-DATL_SSE3##' Make.inc
Susi Lehtola 36b857
		sed -i 's#-DATL_AVX##' Make.inc
Susi Lehtola 36b857
#		sed -i 's#-msse3#-msse2#' Make.inc
Frantisek Kluknavsky 62670b
		sed -i 's#-mavx#-msse3#' Make.inc
Susi Lehtola 36b857
		echo 'base makefile edited'
Susi Lehtola 36b857
#		sed -i 's#PMAKE = $(MAKE) .*#PMAKE = $(MAKE) -j 1#' Make.inc
Frantisek Kluknavsky 62670b
	elif [ "$type" = "sse3" ]; then
Frantisek Kluknavsky 62670b
#		sed -i 's#ARCH =.*#ARCH = Corei264AVX#' Make.inc
Frantisek Kluknavsky 62670b
#		sed -i 's#PMAKE = $(MAKE) .*#PMAKE = $(MAKE) -j 1#' Make.inc
Frantisek Kluknavsky 62670b
		sed -i 's#-DATL_AVX##' Make.inc
Frantisek Kluknavsky 62670b
		sed -i 's#-DATL_SSE2##' Make.inc
Susi Lehtola 36b857
		sed -i 's#-mavx#-msse2#' Make.inc
Susi Lehtola 36b857
		sed -i 's#-msse3#-msse2#' Make.inc
Frantisek Kluknavsky 62670b
		echo 'sse makefile edited'
Deji Akingunola 8a1f9d
		%define pr_sse3 %(echo $((%{__isa_bits}+4)))
Deji Akingunola ef2314
	fi
Deji Akingunola ef2314
%endif
Deji Akingunola 9680a0
Deji Akingunola 7d1f5e
%ifarch %{ix86}
Deji Akingunola 7d1f5e
	if [ "$type" = "base" ]; then
Deji Akingunola 7d1f5e
		sed -i 's#ARCH =.*#ARCH = PPRO32#' Make.inc
Frantisek Kluknavsky 62670b
		#sed -i 's#-DATL_SSE3 -DATL_SSE2 -DATL_SSE1##' Make.inc
Frantisek Kluknavsky 62670b
		sed -i 's#-DATL_SSE3##' Make.inc
Frantisek Kluknavsky 62670b
		sed -i 's#-DATL_SSE2##' Make.inc
Susi Lehtola 36b857
		sed -i 's#-DATL_SSE1##' Make.inc
Susi Lehtola 36b857
		sed -i 's#-mfpmath=sse -msse3#-mfpmath=387#' Make.inc
Deji Akingunola 7d1f5e
	elif [ "$type" = "sse" ]; then
Deji Akingunola 9680a0
		sed -i 's#ARCH =.*#ARCH = PIII32SSE1#' Make.inc
Susi Lehtola 36b857
		sed -i 's#-DATL_SSE3#-DATL_SSE1#' Make.inc
Susi Lehtola 36b857
		sed -i 's#-msse3#-msse#' Make.inc
Deji Akingunola 3cd5fa
		%define pr_sse %(echo $((%{__isa_bits}+2)))
Deji Akingunola 9680a0
	elif [ "$type" = "sse2" ]; then
Frantisek Kluknavsky 62670b
#		sed -i 's#ARCH =.*#ARCH = P432SSE2#' Make.inc
Frantisek Kluknavsky 62670b
		sed -i 's#ARCH =.*#ARCH = x86SSE232SSE2#' Make.inc
Susi Lehtola 36b857
		sed -i 's#-DATL_SSE3#-DATL_SSE2#' Make.inc
Susi Lehtola 36b857
		sed -i 's#-msse3#-msse2#' Make.inc
Deji Akingunola 3cd5fa
		%define pr_sse2 %(echo $((%{__isa_bits}+3)))
Deji Akingunola 9680a0
	elif [ "$type" = "sse3" ]; then
Deji Akingunola 9680a0
		sed -i 's#ARCH =.*#ARCH = P4E32SSE3#' Make.inc
Deji Akingunola 3cd5fa
		%define pr_sse3 %(echo $((%{__isa_bits}+4)))
Deji Akingunola 9680a0
	fi
Deji Akingunola 7d1f5e
%endif
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%ifarch s390 s390x
Deji Akingunola 8a1f9d
# we require a z9/z10/z196 but base,z10 and z196
Deji Akingunola 8a1f9d
# we also need a compiler with -march=z196 support
Deji Akingunola 8a1f9d
# the base support will use z196 tuning
Deji Akingunola 8a1f9d
	if [ "$type" = "base" ]; then
Susi Lehtola 36b857
		%ifarch s390x
Frantisek Kluknavsky 62670b
			sed -i 's#ARCH =.*#ARCH = IBMz964#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Susi Lehtola 36b857
		%ifarch s390
Frantisek Kluknavsky 62670b
			sed -i 's#ARCH =.*#ARCH = IBMz932#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Deji Akingunola 8a1f9d
		sed -i 's#-march=z196#-march=z9-109 -mtune=z196#' Make.inc
Frantisek Kluknavsky 62670b
#		sed -i 's#-march=z10 -mtune=z196#-march=z9-109 -mtune=z196#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-march=z10#-march=z9-109 -mtune=z10#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz196#-DATL_ARCH_IBMz9#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz10#-DATL_ARCH_IBMz9#' Make.inc
Frantisek Kluknavsky 62670b
#		sed -i 's#-DATL_ARCH_IBMz9#-DATL_ARCH_IBMz9#' Make.inc
Deji Akingunola 8a1f9d
	elif [ "$type" = "z10" ]; then
Susi Lehtola 36b857
		%ifarch s390x
Susi Lehtola 36b857
Frantisek Kluknavsky 62670b
#			cat Make.inc | grep "ARCH ="
Deji Akingunola 8a1f9d
			sed -i 's#ARCH =.*#ARCH = IBMz1064#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Susi Lehtola 36b857
		%ifarch s390
Deji Akingunola 8a1f9d
			sed -i 's#ARCH =.*#ARCH = IBMz1032#' Make.inc
Frantisek Kluknavsky 62670b
#			cat Make.inc | grep "ARCH ="
Deji Akingunola 8a1f9d
                %endif
Deji Akingunola 8a1f9d
		sed -i 's#-march=z196#-march=z10#' Make.inc
Frantisek Kluknavsky 62670b
		sed -i 's#-mtune=z196##' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-march=z9-109#-march=z10#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz196#-DATL_ARCH_IBMz10#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz9#-DATL_ARCH_IBMz10#' Make.inc
Deji Akingunola 8a1f9d
		%define pr_z10 %(echo $((%{__isa_bits}+1)))
Deji Akingunola 8a1f9d
	elif [ "$type" = "z196" ]; then
Frantisek Kluknavsky 62670b
Susi Lehtola 36b857
		%ifarch s390x
Deji Akingunola 8a1f9d
			sed -i 's#ARCH =.*#ARCH = IBMz19664#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Susi Lehtola 36b857
		%ifarch s390
Deji Akingunola 8a1f9d
			sed -i 's#ARCH =.*#ARCH = IBMz19632#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Dan Horák b46b99
		sed -i 's#-march=z196#-march=z10 -mtune=z196#' Make.inc
Dan Horák b46b99
		sed -i 's#-march=z10#-march=z10 -mtune=z196#' Make.inc
Dan Horák b46b99
		sed -i 's#-march=z9-109#-march=z10 -mtune=z196#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz10#-DATL_ARCH_IBMz196#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz9#-DATL_ARCH_IBMz196#' Make.inc
Deji Akingunola 8a1f9d
		%define pr_z196 %(echo $((%{__isa_bits}+2)))
Deji Akingunola 8a1f9d
	fi
Deji Akingunola 8a1f9d
%endif
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
%ifarch ppc
Frantisek Kluknavsky 62670b
	sed -i 's#ARCH =.*#ARCH = POWER332#' Make.inc
Frantisek Kluknavsky 62670b
	sed -i 's#-DATL_ARCH_POWER7#-DATL_ARCH_POWER3#g' Make.inc
Frantisek Kluknavsky 62670b
	sed -i 's#power7#power3#g' Make.inc
Frantisek Kluknavsky 62670b
	sed -i 's#-DATL_VSX##g' Make.inc
Frantisek Kluknavsky 62670b
	sed -i 's#-mvsx##g' Make.inc
Frantisek Kluknavsky 62670b
	sed -i 's#-DATL_AltiVec##g' Make.inc
Frantisek Kluknavsky 62670b
	sed -i 's#-m64#-m32#g' Make.inc
Frantisek Kluknavsky 62670b
%endif
Frantisek Kluknavsky 62670b
Jaromir Capik 8ffdb3
%ifarch ppc64le
Jaromir Capik 8ffdb3
	sed -i 's#-mvsx##g' Make.inc
Jaromir Capik 8ffdb3
	sed -i 's#-DATL_VSX##g' Make.inc
Jaromir Capik 8ffdb3
	sed -i 's#-DATL_AltiVec##g' Make.inc
Jaromir Capik 8ffdb3
	sed -i 's#-maltivec##g' Make.inc
Jaromir Capik 8ffdb3
	sed -i 's#ARCH =.*#ARCH = POWER464#' Make.inc
Jaromir Capik 8ffdb3
%endif
Jaromir Capik 8ffdb3
Deji Akingunola 8a1f9d
%endif
Deji Akingunola 9680a0
	make build
Deji Akingunola 9680a0
	cd lib
Deji Akingunola 9680a0
	make shared
Deji Akingunola 9680a0
	make ptshared
Deji Akingunola 9680a0
	popd
Quentin Spencer cdd562
done
Quentin Spencer cdd562
Susi Lehtola 36b857
%install
Deji Akingunola 9680a0
for type in %{types}; do
Deji Akingunola 9680a0
	pushd %{_arch}_${type}
Deji Akingunola 9680a0
	make DESTDIR=%{buildroot} install
Deji Akingunola 3cd5fa
        mv %{buildroot}%{_includedir}/atlas %{buildroot}%{_includedir}/atlas-%{_arch}-${type}
Deji Akingunola 9680a0
	if [ "$type" = "base" ]; then
Deji Akingunola 9680a0
		cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas/
Deji Akingunola d9b7c3
		rm -f %{buildroot}%{_libdir}/atlas/*.a
Frantisek Kluknavsky 62670b
		cp -pr lib/libatlas.a %{buildroot}%{_libdir}/atlas/
Deji Akingunola 9680a0
	else
Deji Akingunola 9680a0
		cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas-${type}/
Deji Akingunola d9b7c3
		rm -f %{buildroot}%{_libdir}/atlas-${type}/*.a
Frantisek Kluknavsky 62670b
		cp -pr lib/libatlas.a %{buildroot}%{_libdir}/atlas-${type}/
Deji Akingunola 9680a0
	fi
Deji Akingunola 9680a0
	popd
Deji Akingunola 9680a0
Deji Akingunola 9680a0
	mkdir -p %{buildroot}/etc/ld.so.conf.d
Deji Akingunola 9680a0
	if [ "$type" = "base" ]; then
Deji Akingunola 9680a0
		echo "%{_libdir}/atlas"		\
Deji Akingunola 9680a0
		> %{buildroot}/etc/ld.so.conf.d/atlas-%{_arch}.conf
Deji Akingunola 9680a0
	else
Deji Akingunola 9680a0
		echo "%{_libdir}/atlas-${type}"	\
Deji Akingunola ef2314
		> %{buildroot}/etc/ld.so.conf.d/atlas-%{_arch}-${type}.conf
Deji Akingunola 9680a0
	fi
Quentin Spencer cdd562
done
Frantisek Kluknavsky 42cf84
Frantisek Kluknavsky 42cf84
#create pkgconfig file
Frantisek Kluknavsky 42cf84
mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
Frantisek Kluknavsky 42cf84
cat > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/atlas.pc << DATA
Frantisek Kluknavsky 42cf84
Name: %{name}
Frantisek Kluknavsky 42cf84
Version: %{version}
Frantisek Kluknavsky 42cf84
Description: %{summary}
Frantisek Kluknavsky 42cf84
Cflags: -I%{_includedir}/atlas/
Frantisek Kluknavsky 42cf84
Libs: -L%{_libdir}/atlas/ -lsatlas
Frantisek Kluknavsky 42cf84
DATA
Frantisek Kluknavsky 42cf84
Deji Akingunola 3cd5fa
mkdir -p %{buildroot}%{_includedir}/atlas
Deji Akingunola 3cd5fa
Quentin Spencer cdd562
Orion Poplawski f8e736
%check
Peter Robinson 93e9bf
# Run make check but don't fail the build on these arches
Peter Robinson 93e9bf
%ifarch s390 aarch64
Peter Robinson 93e9bf
for type in %{types}; do
Peter Robinson 93e9bf
	pushd %{_arch}_${type}
Peter Robinson 93e9bf
	make check ptcheck  || :
Peter Robinson 93e9bf
	popd
Peter Robinson 93e9bf
done
Peter Robinson 93e9bf
%else
Orion Poplawski f8e736
for type in %{types}; do
Orion Poplawski f8e736
	pushd %{_arch}_${type}
Orion Poplawski f8e736
	make check ptcheck
Frantisek Kluknavsky 6dbfdb
	popd
Orion Poplawski f8e736
done
Frantisek Kluknavsky 64a1bf
%endif
Orion Poplawski f8e736
Quentin Spencer cdd562
%post -p /sbin/ldconfig
Quentin Spencer cdd562
Quentin Spencer cdd562
%postun -p /sbin/ldconfig
Quentin Spencer cdd562
Deji Akingunola 3cd5fa
%posttrans devel
Deji Akingunola 3cd5fa
if [ $1 -eq 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Deji Akingunola 3cd5fa
		%{_includedir}/atlas-%{_arch}-base %{pr_base}
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 3cd5fa
%preun devel
Deji Akingunola 3cd5fa
if [ $1 -ge 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-base
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola ef2314
%if "%{?enable_native_atlas}" == "0"
Frantisek Kluknavsky 62670b
#ifarch x86_64
Deji Akingunola 7d1f5e
Frantisek Kluknavsky 62670b
#post -n atlas-sse3 -p /sbin/ldconfig
Deji Akingunola ef2314
Frantisek Kluknavsky 62670b
#postun -n atlas-sse3 -p /sbin/ldconfig
Deji Akingunola ef2314
Frantisek Kluknavsky 62670b
#posttrans sse3-devel
Frantisek Kluknavsky 62670b
#if [ $1 -eq 0 ] ; then
Frantisek Kluknavsky 62670b
#/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Frantisek Kluknavsky 62670b
#		%{_includedir}/atlas-%{_arch}-sse3  %{pr_sse3}
Frantisek Kluknavsky 62670b
#fi
Deji Akingunola ef2314
Frantisek Kluknavsky 62670b
#preun sse3-devel
Frantisek Kluknavsky 62670b
#if [ $1 -ge 0 ] ; then
Frantisek Kluknavsky 62670b
#/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse3
Frantisek Kluknavsky 62670b
#fi
Deji Akingunola ef2314
Frantisek Kluknavsky 62670b
#endif
Deji Akingunola ef2314
Deji Akingunola ef2314
%ifarch %{ix86}
Frantisek Kluknavsky 62670b
#%%post -n atlas-3dnow -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Frantisek Kluknavsky 62670b
#%%postun -n atlas-3dnow -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Frantisek Kluknavsky 62670b
#%%posttrans 3dnow-devel
Frantisek Kluknavsky 62670b
#if [ $1 -eq 0 ] ; then
Frantisek Kluknavsky 62670b
#/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Frantisek Kluknavsky 62670b
#		%{_includedir}/atlas-%{_arch}-3dnow  %{pr_3dnow}
Frantisek Kluknavsky 62670b
#fi
Deji Akingunola 3cd5fa
Frantisek Kluknavsky 62670b
#%%preun 3dnow-devel
Frantisek Kluknavsky 62670b
#if [ $1 -ge 0 ] ; then
Frantisek Kluknavsky 62670b
#/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-3dnow
Frantisek Kluknavsky 62670b
#fi
Deji Akingunola 3cd5fa
Frantisek Kluknavsky 62670b
#%%post -n atlas-sse -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Frantisek Kluknavsky 62670b
#%%postun -n atlas-sse -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Frantisek Kluknavsky 62670b
#%%posttrans sse-devel
Frantisek Kluknavsky 62670b
#if [ $1 -eq 0 ] ; then
Frantisek Kluknavsky 62670b
#/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Frantisek Kluknavsky 62670b
#		%{_includedir}/atlas-%{_arch}-sse  %{pr_sse}
Frantisek Kluknavsky 62670b
#fi
Deji Akingunola 3cd5fa
Frantisek Kluknavsky 62670b
#%%preun sse-devel
Frantisek Kluknavsky 62670b
#if [ $1 -ge 0 ] ; then
Frantisek Kluknavsky 62670b
#/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse
Frantisek Kluknavsky 62670b
#fi
Deji Akingunola 3cd5fa
Deji Akingunola 7d1f5e
%post -n atlas-sse2 -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Deji Akingunola 7d1f5e
%postun -n atlas-sse2 -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Deji Akingunola 3cd5fa
%posttrans sse2-devel
Deji Akingunola 3cd5fa
if [ $1 -eq 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Deji Akingunola 3cd5fa
		%{_includedir}/atlas-%{_arch}-sse2  %{pr_sse2}
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 3cd5fa
%preun sse2-devel
Deji Akingunola 3cd5fa
if [ $1 -ge 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse2
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 7d1f5e
%post -n atlas-sse3 -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Deji Akingunola 7d1f5e
%postun -n atlas-sse3 -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Deji Akingunola 3cd5fa
%posttrans sse3-devel
Deji Akingunola 3cd5fa
if [ $1 -eq 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Deji Akingunola 3cd5fa
		%{_includedir}/atlas-%{_arch}-sse3  %{pr_sse3}
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 3cd5fa
%preun sse3-devel
Deji Akingunola 3cd5fa
if [ $1 -ge 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse3
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 7d1f5e
%endif
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
#%ifarch s390 s390x
Frantisek Kluknavsky 62670b
#%post -n atlas-z10 -p /sbin/ldconfig
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
#%postun -n atlas-z10 -p /sbin/ldconfig
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
#%posttrans z10-devel
Frantisek Kluknavsky 62670b
#if [ $1 -eq 0 ] ; then
Frantisek Kluknavsky 62670b
#/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Frantisek Kluknavsky 62670b
#		%{_includedir}/atlas-%{_arch}-z10  %{pr_z10}
Frantisek Kluknavsky 62670b
#fi
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
#%preun z10-devel
Frantisek Kluknavsky 62670b
#if [ $1 -ge 0 ] ; then
Frantisek Kluknavsky 62670b
#/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-z10
Frantisek Kluknavsky 62670b
#fi
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
#%post -n atlas-z196 -p /sbin/ldconfig
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
#%postun -n atlas-z196 -p /sbin/ldconfig
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
#%posttrans z196-devel
Frantisek Kluknavsky 62670b
#if [ $1 -eq 0 ] ; then
Frantisek Kluknavsky 62670b
#/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Frantisek Kluknavsky 62670b
#		%{_includedir}/atlas-%{_arch}-z196  %{pr_z196}
Frantisek Kluknavsky 62670b
#fi
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
#%preun z196-devel
Frantisek Kluknavsky 62670b
#if [ $1 -ge 0 ] ; then
Frantisek Kluknavsky 62670b
#/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-z196
Frantisek Kluknavsky 62670b
#fi
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
#%endif
Deji Akingunola 8a1f9d
Deji Akingunola ef2314
%endif
Deji Akingunola 7d1f5e
Quentin Spencer cdd562
%files
Quentin Spencer cdd562
%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
%doc doc/README.dist
Quentin Spencer cdd562
%dir %{_libdir}/atlas
Quentin Spencer 2c4ed2
%{_libdir}/atlas/*.so.*
Quentin Spencer cdd562
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}.conf
Quentin Spencer cdd562
Quentin Spencer cdd562
%files devel
Quentin Spencer cdd562
%defattr(-,root,root,-)
Deji Akingunola 9680a0
%doc doc
Quentin Spencer cdd562
%{_libdir}/atlas/*.so
Deji Akingunola 3cd5fa
%{_includedir}/atlas-%{_arch}-base/
Deji Akingunola 7dd552
%{_includedir}/*.h
Deji Akingunola 3cd5fa
%ghost %{_includedir}/atlas
Frantisek Kluknavsky 42cf84
%{_libdir}/pkgconfig/atlas.pc
Quentin Spencer cdd562
Frantisek Kluknavsky 62670b
%files static
Deji Akingunola ef2314
%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
%{_libdir}/atlas/*.a
Deji Akingunola ef2314
Frantisek Kluknavsky 62670b
%if "%{?enable_native_atlas}" == "0"
Deji Akingunola ef2314
Frantisek Kluknavsky 62670b
#ifarch x86_64
Deji Akingunola ef2314
Frantisek Kluknavsky 62670b
#files sse3
Frantisek Kluknavsky 62670b
#defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
#doc doc/README.Fedora
Frantisek Kluknavsky 62670b
#dir %{_libdir}/atlas-sse3
Frantisek Kluknavsky 62670b
#{_libdir}/atlas-sse3/*.so
Frantisek Kluknavsky 62670b
#config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse3.conf
Deji Akingunola 9680a0
Frantisek Kluknavsky 62670b
#files sse3-devel
Frantisek Kluknavsky 62670b
#defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
#doc doc
Frantisek Kluknavsky 62670b
#{_libdir}/atlas-sse3/*.so
Frantisek Kluknavsky 62670b
#{_includedir}/atlas-%{_arch}-sse3/
Frantisek Kluknavsky 62670b
#{_includedir}/*.h
Frantisek Kluknavsky 62670b
#ghost %{_includedir}/atlas
Deji Akingunola 9680a0
Frantisek Kluknavsky 62670b
#endif
Quentin Spencer cdd562
Frantisek Kluknavsky 62670b
%ifarch %{ix86}
Quentin Spencer cdd562
Frantisek Kluknavsky 62670b
#%%files 3dnow
Frantisek Kluknavsky 62670b
#%%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
#%%doc doc/README.Fedora
Frantisek Kluknavsky 62670b
#%%dir %{_libdir}/atlas-3dnow
Frantisek Kluknavsky 62670b
#%%{_libdir}/atlas-3dnow/*.so.*
Frantisek Kluknavsky 62670b
#%%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-3dnow.conf
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#%%files 3dnow-devel
Frantisek Kluknavsky 62670b
#%%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
#%%doc doc
Frantisek Kluknavsky 62670b
#%%{_libdir}/atlas-3dnow/*.so
Frantisek Kluknavsky 62670b
#%%{_includedir}/atlas-%{_arch}-3dnow/
Frantisek Kluknavsky 62670b
#%%{_includedir}/*.h
Frantisek Kluknavsky 62670b
#%%ghost %{_includedir}/atlas
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#%%files sse
Frantisek Kluknavsky 62670b
#%%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
#%%doc doc/README.Fedora
Frantisek Kluknavsky 62670b
#%%dir %{_libdir}/atlas-sse
Frantisek Kluknavsky 62670b
#%%{_libdir}/atlas-sse/*.so.*
Frantisek Kluknavsky 62670b
#%%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse.conf
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#%%files sse-devel
Frantisek Kluknavsky 62670b
#%%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
#%%doc doc
Frantisek Kluknavsky 62670b
#%%{_libdir}/atlas-sse/*.so
Frantisek Kluknavsky 62670b
#%%{_includedir}/atlas-%{_arch}-sse/
Frantisek Kluknavsky 62670b
#%%{_includedir}/*.h
Frantisek Kluknavsky 62670b
#%%ghost %{_includedir}/atlas
Quentin Spencer cdd562
Quentin Spencer 2c4ed2
%files sse2
Quentin Spencer 2c4ed2
%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
%doc doc/README.dist
Deji Akingunola 9680a0
%dir %{_libdir}/atlas-sse2
Deji Akingunola 9680a0
%{_libdir}/atlas-sse2/*.so.*
Deji Akingunola ef2314
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse2.conf
Quentin Spencer cdd562
Quentin Spencer cdd562
%files sse2-devel
Quentin Spencer cdd562
%defattr(-,root,root,-)
Deji Akingunola 9680a0
%doc doc
Deji Akingunola 9680a0
%{_libdir}/atlas-sse2/*.so
Deji Akingunola 3cd5fa
%{_includedir}/atlas-%{_arch}-sse2/
Deji Akingunola 7dd552
%{_includedir}/*.h
Deji Akingunola 3cd5fa
%ghost %{_includedir}/atlas
Quentin Spencer cdd562
Frantisek Kluknavsky 62670b
%files sse2-static
Frantisek Kluknavsky 62670b
%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
%{_libdir}/atlas-sse2/*.a
Frantisek Kluknavsky 62670b
Deji Akingunola 9680a0
%files sse3
Quentin Spencer 2c4ed2
%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
%doc doc/README.dist
Deji Akingunola 9680a0
%dir %{_libdir}/atlas-sse3
Deji Akingunola 9680a0
%{_libdir}/atlas-sse3/*.so.*
Deji Akingunola ef2314
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse3.conf
Quentin Spencer cdd562
Frantisek Kluknavsky 62670b
%files sse3-static
Frantisek Kluknavsky 62670b
%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
%{_libdir}/atlas-sse3/*.a
Frantisek Kluknavsky 62670b
Deji Akingunola 9680a0
%files sse3-devel
Quentin Spencer cdd562
%defattr(-,root,root,-)
Deji Akingunola 9680a0
%doc doc
Deji Akingunola 9680a0
%{_libdir}/atlas-sse3/*.so
Deji Akingunola 3cd5fa
%{_includedir}/atlas-%{_arch}-sse3/
Deji Akingunola 9b1309
%{_includedir}/*.h
Deji Akingunola 3cd5fa
%ghost %{_includedir}/atlas
Deji Akingunola 9b1309
Deji Akingunola 7dd552
%endif
Deji Akingunola 8a1f9d
Frantisek Kluknavsky 62670b
#%ifarch s390 s390x
Frantisek Kluknavsky 62670b
#%files z10
Frantisek Kluknavsky 62670b
#%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
#%doc doc/README.dist
Frantisek Kluknavsky 62670b
#%dir %{_libdir}/atlas-z10
Frantisek Kluknavsky 62670b
#%{_libdir}/atlas-z10/*.so
Frantisek Kluknavsky 62670b
#%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-z10.conf
Frantisek Kluknavsky 62670b
#
Frantisek Kluknavsky 62670b
#%files z10-devel
Frantisek Kluknavsky 62670b
#%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
#%doc doc
Frantisek Kluknavsky 62670b
#%{_libdir}/atlas-z10/*.so
Frantisek Kluknavsky 62670b
#%{_includedir}/atlas-%{_arch}-z10/
Frantisek Kluknavsky 62670b
#%{_includedir}/*.h
Frantisek Kluknavsky 62670b
#%ghost %{_includedir}/atlas
Frantisek Kluknavsky 62670b
#
Frantisek Kluknavsky 62670b
#%files z10-static
Frantisek Kluknavsky 62670b
#%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
#%{_libdir}/atlas-z10/*.a
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#%files z196
Frantisek Kluknavsky 62670b
#%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
#%doc doc/README.dist
Frantisek Kluknavsky 62670b
#%dir %{_libdir}/atlas-z196
Frantisek Kluknavsky 62670b
#%{_libdir}/atlas-z196/*.so
Frantisek Kluknavsky 62670b
#%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-z196.conf
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#%files z196-devel
Frantisek Kluknavsky 62670b
#%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
#%doc doc
Frantisek Kluknavsky 62670b
#%{_libdir}/atlas-z196/*.so
Frantisek Kluknavsky 62670b
#%{_includedir}/atlas-%{_arch}-z196/
Frantisek Kluknavsky 62670b
#%{_includedir}/*.h
Frantisek Kluknavsky 62670b
#%ghost %{_includedir}/atlas
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#%files z196-static
Frantisek Kluknavsky 62670b
#%defattr(-,root,root,-)
Frantisek Kluknavsky 62670b
#%{_libdir}/atlas-z196/*.a
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
#%endif
Deji Akingunola ef2314
%endif
Deji Akingunola 7dd552
Deji Akingunola 9680a0
%changelog
Susi Lehtola 36b857
* Sat Feb 07 2015 Susi Lehtola <jussilehtola@fedoraproject.org> - 3.10.1-18
Susi Lehtola 36b857
- Really do the unbundling of lapack.
Susi Lehtola 36b857
Frantisek Kluknavsky ce75bd
* Mon Feb 02 2015 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-17
Frantisek Kluknavsky ce75bd
- rebuild with new lapack, https://bugzilla.redhat.com/show_bug.cgi?id=1149032
Frantisek Kluknavsky ce75bd
Jaromir Capik 8ffdb3
* Fri Oct 31 2014 Jaromir Capik <jcapik@redhat.com> - 3.10.1-16
Jaromir Capik 8ffdb3
- patching for Power8 to pass performance tunings and tests on P8 builders
Jaromir Capik 8ffdb3
Frantisek Kluknavsky 42cf84
* Fri Oct 24 2014 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-15
Frantisek Kluknavsky 42cf84
- added pkgconfig file
Frantisek Kluknavsky 42cf84
Peter Robinson 932ed4
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.1-14
Peter Robinson 932ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
Peter Robinson 932ed4
Dennis Gilmore 6d51f7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.1-13
Dennis Gilmore 6d51f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Dennis Gilmore 6d51f7
Peter Robinson 93e9bf
* Mon Feb 24 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.10.1-12
Peter Robinson 93e9bf
- Don't fail build on make check on aarch64 due to issues with tests
Peter Robinson 93e9bf
Peter Robinson 93e9bf
* Sun Feb 16 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 3.10.1-11
Peter Robinson 93e9bf
- Unbreak AArch64 build.
Peter Robinson 93e9bf
- ARMv8 is different from ARMv7 so should not be treated as such. Otherwise
Peter Robinson 93e9bf
  atlas tries to do some crazy ARMv764 build and fail.
Peter Robinson 93e9bf
Frantisek Kluknavsky ecd0c2
* Wed Nov 20 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-10
Frantisek Kluknavsky ecd0c2
- updated lapack to 3.5.0
Frantisek Kluknavsky ecd0c2
Frantisek Kluknavsky 100afc
* Wed Nov 13 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-9
Frantisek Kluknavsky 100afc
- updated subpackage description
Frantisek Kluknavsky 100afc
Frantisek Kluknavsky e38172
* Tue Nov 05 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-8
Frantisek Kluknavsky e38172
- patch for aarch64 from https://bugzilla.redhat.com/attachment.cgi?id=755555
Frantisek Kluknavsky e38172
Frantisek Kluknavsky 6c8df6
* Wed Oct 16 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-7
Frantisek Kluknavsky 6c8df6
- Provides: bundled(lapack)
Frantisek Kluknavsky 6c8df6
Frantisek Kluknavsky ce70ab
* Thu Oct 10 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-6
Frantisek Kluknavsky ce70ab
- make check on arm enabled - seems to work
Frantisek Kluknavsky ce70ab
Orion Poplawski 885b47
* Wed Oct 2 2013 Orion Poplawski <orion@cora.nwra.com> - 3.10.1-5
Orion Poplawski 885b47
- Add -DATL_ARM_HARDFP=1 for arm build
Orion Poplawski 885b47
- Rework how arm flags are set
Orion Poplawski 885b47
Frantisek Kluknavsky 64a1bf
* Mon Sep 30 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-4
Frantisek Kluknavsky 64a1bf
- disable tests on arm to allow update for x86
Frantisek Kluknavsky 64a1bf
Frantisek Kluknavsky 7fe7cb
* Tue Sep 24 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-3
Frantisek Kluknavsky 48e390
- disable affinity to prevent crash on systems with fewer cpus
Frantisek Kluknavsky 48e390
Orion Poplawski f8e736
* Mon Sep 23 2013 Orion Poplawski <orion@cora.nwra.com> - 3.10.1-2
Orion Poplawski f8e736
- Add %%check section
Orion Poplawski f8e736
Frantisek Kluknavsky a0b20b
* Fri Sep 20 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-1
Frantisek Kluknavsky 62670b
- Rebase to 3.10.1
Frantisek Kluknavsky 62670b
- Dropped x86_64-SSE2, ix86-SSE1, ix86-3DNow, z10, z196 (uncompilable).
Frantisek Kluknavsky 62670b
- Modified incompatible patches.
Frantisek Kluknavsky 62670b
- Added armv7neon support, modified archdef from softfp abi to hard abi.
Frantisek Kluknavsky 62670b
- Modified Make.lib to include build-id, soname, versioned library name and symlinks.
Frantisek Kluknavsky 62670b
- Now builds monolithic libsatlas (serial) and libtatlas (threaded)
Frantisek Kluknavsky 62670b
  libraries with lapack and blas included.
Frantisek Kluknavsky 62670b
- Lapack source tarball needed instead of static library.
Frantisek Kluknavsky 62670b
- Disabled cpu throttling detection again (sorry, could not work on atlas
Frantisek Kluknavsky 62670b
  otherwise, feel free to enable yet again - atlas-throttling.patch).
Frantisek Kluknavsky 62670b
- Removed mentions of "Fedora" to promote redistribution.
Frantisek Kluknavsky 62670b
- Modified parts of atlas.spec sometimes left in place, work still in progress,
Frantisek Kluknavsky 62670b
  cleanup needed.
Frantisek Kluknavsky 62670b
Frantisek Kluknavsky 62670b
Dennis Gilmore f974d7
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.4-9
Dennis Gilmore f974d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Dennis Gilmore f974d7
Peter Robinson 22e70d
* Sun Jan 27 2013 Peter Robinson <pbrobinson@fedoraproject.org> 3.8.4-8
Peter Robinson 22e70d
- Rebuild for ARM glibc/binutils issues
Peter Robinson 22e70d
Orion Poplawski f16f53
* Fri Sep 07 2012 Orion Poplawski <orion@nwra.com> - 3.8.4-7
Orion Poplawski f16f53
- Rebuild with lapack 3.4.1
Orion Poplawski f16f53
Orion Poplawski c842a3
* Thu Aug 09 2012 Orion Poplawski <orion@nwra.com> - 3.8.4-6
Orion Poplawski cd38f9
- Add patch to properly pass -melf_* to the linker with -Wl (bug 817552)
Orion Poplawski cd38f9
Dennis Gilmore 82bd24
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.4-5
Dennis Gilmore 82bd24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Dennis Gilmore 82bd24
Dennis Gilmore 4ee67f
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.4-4
Dennis Gilmore 4ee67f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Dennis Gilmore 4ee67f
Deji Akingunola 6e9c4c
* Thu Sep 01 2011 Deji Akingunola <dakingun@gmail.com> - 3.8.4-3
Deji Akingunola 1baaf5
- Apply patch to enable arm build (Patch provided by Jitesh Shah <jiteshs@marvell.com>)
Deji Akingunola 6e9c4c
- Stop turning off throttle checking, upstream frown at it (seems O.K. for Koji)
Deji Akingunola 6e9c4c
Dan Horák b46b99
* Mon Jun 20 2011 Dan Horák <dan[at]danny.cz> - 3.8.4-2
Dan Horák b46b99
- Use -march=z10 for z196 optimised build because the builder is a z10
Dan Horák b46b99
  (Christian Bornträger)
Dan Horák b46b99
Deji Akingunola 8a1f9d
* Tue Jun 14 2011 Deji Akingunola <dakingun@gmail.com> - 3.8.4-1
Deji Akingunola 8a1f9d
- Update to 3.8.4
Deji Akingunola 8a1f9d
- Build the default package for SSE2 and add a SSE3 subpackage on x86_64
Deji Akingunola 8a1f9d
- Apply patch (and arch defs.) to build on s390 and s390x (Dan Horák)
Dan Horák b46b99
- Fix-up build on s390 and s390x (Christian Bornträger)
Deji Akingunola 8a1f9d
Dennis Gilmore 4b5555
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
Dennis Gilmore 4b5555
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Dennis Gilmore 4b5555
Deji Akingunola ef2314
* Mon Jul 26 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-18
Deji Akingunola ef2314
- Create a subpackage for SSE2 on x86_64
Deji Akingunola ef2314
Dan Horák 811a0e
* Sat Jul 17 2010 Dan Horák <dan[at]danny.cz> - 3.8.3-17
Dan Horák 811a0e
- rebuild against fixed lapack libraries
Dan Horák 811a0e
Dan Horák 6cb516
* Thu Jul 15 2010 Dan Horák <dan[at]danny.cz> - 3.8.3-16
Dan Horák 6cb516
- fix build on s390 (patch by Karsten Hopp)
Dan Horák 6cb516
Deji Akingunola 532d6c
* Wed Feb 10 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-15
Deji Akingunola 532d6c
- Disable the problematic sparc patch
Deji Akingunola 532d6c
- Change lapack-devel BR to lapack-static, where liblapack_pic.a now resides.
Deji Akingunola 532d6c
Dennis Gilmore 6c07c0
* Wed Feb 03 2010 Dennis Gilmore <dennis@ausil.us> - 3.8.3-14
Dennis Gilmore 6c07c0
- fix sparc build
Dennis Gilmore 6c07c0
Deji Akingunola 97c4c3
* Fri Jan 29 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-13
Deji Akingunola 97c4c3
- Remove static libraries.
Deji Akingunola 97c4c3
- Fix typo in SSE3 subpackage's summary.
Deji Akingunola 97c4c3
Deji Akingunola 3cd5fa
* Sat Oct 24 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-12
Susi Lehtola 36b857
- Use alternatives to workaround multilib conflicts (BZ#508565).
Deji Akingunola 3cd5fa
Deji Akingunola 3cd5fa
* Tue Sep 29 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-11
Susi Lehtola 36b857
- Obsolete the -header subpackage properly.
Deji Akingunola 3cd5fa
Deji Akingunola 7d1f5e
* Sat Sep 26 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-10
Deji Akingunola 7d1f5e
- Use the new arch. default for Pentium PRO (Fedora bug #510498)
Deji Akingunola 7d1f5e
- (Re-)Introduce 3dNow subpackage
Deji Akingunola 7d1f5e
alexlan 23bb62
* Sun Sep  6 2009 Alex Lancaster <alexlan[at]fedoraproject org=""> - 3.8.3-9
alexlan 23bb62
- Rebuild against fixed lapack (see #520518)
alexlan 23bb62
Frantisek Kluknavsky 62670b
* Thu Aug 13 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-8
Susi Lehtola 36b857
- Revert the last change, it doesn't solve the problem.
Deji Akingunola 7dd552
Deji Akingunola 9b1309
* Tue Aug 04 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-7
Susi Lehtola 36b857
- Create a -header subpackage to avoid multilib conflicts (BZ#508565).
Deji Akingunola 9b1309
Deji Akingunola 2119a1
* Tue Aug 04 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-6
Deji Akingunola 2119a1
- Add '-g' to build flag to allow proper genration of debuginfo subpackages (Fedora bug #509813)
Deji Akingunola 2119a1
- Build for F12
Deji Akingunola 2119a1
Jesse Keating 753418
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.3-5
Jesse Keating 753418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating 753418
Deji Akingunola dbe4a7
* Sat May 02 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-4
Deji Akingunola dbe4a7
- Use the right -msse* option for the -sse* subpackages (Fedora bug #498715)
Deji Akingunola dbe4a7
Karsten Hopp 4ad567
* Tue Apr 21 2009 Karsten Hopp <karsten@redhat.com> 3.8.3-3.1
Karsten Hopp 4ad567
- add s390x to 64 bit archs
Karsten Hopp 4ad567
Deji Akingunola 11dc7d
* Fri Feb 27 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-3
Deji Akingunola 11dc7d
- Rebuild
Deji Akingunola 11dc7d
Jesse Keating 1a6e0d
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.3-2
Jesse Keating 1a6e0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating 1a6e0d
Deji Akingunola e96058
* Sun Feb 22 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-1
Deji Akingunola e96058
- Update to version 3.8.3
Deji Akingunola e96058
Deji Akingunola 20c7de
* Sun Dec 21 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-5
Deji Akingunola 20c7de
- Link in appropriate libs when creating shared libs, reported by Orcan 'oget' Ogetbil (BZ#475411)
Deji Akingunola 20c7de
Deji Akingunola ed8898
* Tue Dec 16 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-4
Deji Akingunola ed8898
- Don't symlink the atlas libdir on i386, cause upgrade issue (BZ#476787)
Deji Akingunola ed8898
- Fix options passed to gcc when making shared libs
Deji Akingunola ed8898
Deji Akingunola 10bab2
* Tue Dec 16 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-3
Deji Akingunola 10bab2
- Use 'gcc -shared' to build shared libs instead of stock 'ld'
Deji Akingunola 10bab2
Deji Akingunola 9680a0
* Sat Dec 13 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-2
Deji Akingunola 9680a0
- Properly obsolete/provide older subpackages that are no longer packaged.
Quentin Spencer cdd562
Deji Akingunola 9680a0
* Mon Sep 01 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-1
Deji Akingunola 9680a0
- Upgrade to ver 3.8.2 with refined build procedures.
Quentin Spencer cdd562
Quentin Spencer f21156
* Thu Feb 28 2008 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-15
Quentin Spencer f21156
- Disable altivec package--it is causing illegal instructions during build.
Quentin Spencer f21156
Quentin Spencer 7f70f0
* Thu Feb 28 2008 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-14
Quentin Spencer 7f70f0
- Enable compilation on alpha (bug 426086).
Quentin Spencer 7f70f0
- Patch for compilation on ia64 (bug 432744).
Quentin Spencer 7f70f0
Jesse Keating 9424b6
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.6.0-13
Jesse Keating 9424b6
- Autorebuild for GCC 4.3
Jesse Keating 9424b6
Orion Poplawski b2ee5b
* Mon Jun  4 2007 Orion Poplawski <orion@cora.nwra.com> 3.6.0-12
Orion Poplawski b2ee5b
- Rebuild for ppc64
Orion Poplawski b2ee5b
Quentin Spencer 2cec08
* Fri Sep  8 2006 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-11
Quentin Spencer 2cec08
- Rebuild for FC6.
Quentin Spencer 2cec08
- Remove outdated comments from spec file.
Quentin Spencer 2cec08
Quentin Spencer 9e15ab
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-10
Quentin Spencer 9e15ab
- Rebuild for Fedora Extras 5.
Quentin Spencer 9e15ab
- Add --noexecstack to compilation of assembly kernels. These were
Quentin Spencer 9e15ab
  previously marked executable, which caused problems with selinux.
Quentin Spencer 9e15ab
Quentin Spencer dc9c22
* Mon Dec 19 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-9
Quentin Spencer dc9c22
- Rebuild for gcc 4.1.
Quentin Spencer dc9c22
Quentin Spencer ee675c
* Mon Oct 10 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-8
Quentin Spencer ee675c
- Make all devel subpackages depend on their non-devel counterparts.
Quentin Spencer ee675c
- Add /etc/ld.so.conf.d files for -sse and -3dnow, because they don't
Quentin Spencer ee675c
  seem to get picked up automatically.
Quentin Spencer ee675c
Quentin Spencer e97db9
* Wed Oct 05 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-7
Quentin Spencer e97db9
- Forgot to add the new patch to sources.
Quentin Spencer e97db9
Quentin Spencer cdd562
* Tue Oct 04 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-6
Quentin Spencer 2c4ed2
- Use new Debian patch, and enable shared libs (they previously failed
Quentin Spencer 2c4ed2
  to build on gcc 4).
Quentin Spencer 2c4ed2
- Minor updates to description and README.Fedora file.
Quentin Spencer 2c4ed2
- Fix buildroot name to match FE preferred form.
Quentin Spencer 2c4ed2
- Fixes for custom optimized builds.
Quentin Spencer 2c4ed2
- Add dist tag.
Quentin Spencer cdd562
Quentin Spencer cdd562
* Wed Sep 28 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-5
Quentin Spencer cdd562
- fix files lists.
Quentin Spencer cdd562
Quentin Spencer cdd562
* Mon Sep 26 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-4
Quentin Spencer cdd562
- generate library symlinks earlier for the benefit of later linking steps.
Quentin Spencer cdd562
Quentin Spencer cdd562
* Wed Sep 14 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-3
Quentin Spencer cdd562
- Change lapack dependency to lapack-devel, and use lapack_pic.a for
Quentin Spencer cdd562
  building liblapack.so.
Quentin Spencer cdd562
Quentin Spencer cdd562
* Wed Sep 14 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-2
Quentin Spencer cdd562
- Add "bit" macro to correctly build on x86_64.
Quentin Spencer cdd562
Quentin Spencer cdd562
* Tue Aug 16 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-1
Quentin Spencer cdd562
- Initial version.