|
|
6e89d6 |
%define enable_native_atlas 0
|
|
|
6e89d6 |
|
|
|
6e89d6 |
Name: atlas
|
|
|
6e89d6 |
Version: 3.10.1
|
|
|
6e89d6 |
%if "%{?enable_native_atlas}" != "0"
|
|
|
6e89d6 |
%define dist .native
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
Release: 3%{?dist}
|
|
|
6e89d6 |
Summary: Automatically Tuned Linear Algebra Software
|
|
|
6e89d6 |
|
|
|
6e89d6 |
Group: System Environment/Libraries
|
|
|
6e89d6 |
License: BSD
|
|
|
6e89d6 |
URL: http://math-atlas.sourceforge.net/
|
|
|
6e89d6 |
Source0: http://downloads.sourceforge.net/math-atlas/%{name}%{version}.tar.bz2
|
|
|
6e89d6 |
Source1: PPRO32.tgz
|
|
|
6e89d6 |
#Source2: K7323DNow.tgz
|
|
|
6e89d6 |
Source3: README.dist
|
|
|
6e89d6 |
#Source4: USII64.tgz
|
|
|
6e89d6 |
#Source5: USII32.tgz
|
|
|
6e89d6 |
#Source6: IBMz1032.tgz
|
|
|
6e89d6 |
#Source7: IBMz1064.tgz
|
|
|
6e89d6 |
#Source8: IBMz19632.tgz
|
|
|
6e89d6 |
#Source9: IBMz19664.tgz
|
|
|
6e89d6 |
Source10: lapack-3.4.2-clean.tgz
|
|
|
6e89d6 |
#archdefs taken from debian:
|
|
|
6e89d6 |
Source11: POWER332.tar.bz2
|
|
|
6e89d6 |
Source12: IBMz932.tar.bz2
|
|
|
6e89d6 |
Source13: IBMz964.tar.bz2
|
|
|
6e89d6 |
#upstream arm uses softfp abi, fedora arm uses hard
|
|
|
6e89d6 |
Source14: ARMv732NEON.tar.bz2
|
|
|
6e89d6 |
|
|
|
6e89d6 |
Patch1: atlas-s390port.patch
|
|
|
6e89d6 |
Patch2: atlas-fedora-arm.patch
|
|
|
6e89d6 |
# Properly pass -melf_* to the linker with -Wl, fixes FTBFS bug 817552
|
|
|
6e89d6 |
# https://sourceforge.net/tracker/?func=detail&atid=379484&aid=3555789&group_id=23725
|
|
|
6e89d6 |
Patch3: atlas-melf.patch
|
|
|
6e89d6 |
Patch4: atlas-throttling.patch
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#credits Lukas Slebodnik
|
|
|
6e89d6 |
Patch5: atlas-shared_libraries.patch
|
|
|
6e89d6 |
|
|
|
6e89d6 |
Patch6: atlas-affinity.patch
|
|
|
6e89d6 |
|
|
|
6e89d6 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
6e89d6 |
|
|
|
6e89d6 |
BuildRequires: gcc-gfortran
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%ifarch x86_64
|
|
|
6e89d6 |
Obsoletes: atlas-sse3 < 3.10
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%ifarch %{ix86}
|
|
|
6e89d6 |
Obsoletes: atlas-3dnow < 3.10
|
|
|
6e89d6 |
Obsoletes: atlas-sse < 3.10
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%ifarch s390 s390x
|
|
|
6e89d6 |
Obsoletes: atlas-z10 < 3.10
|
|
|
6e89d6 |
Obsoletes: atlas-z196 < 3.10
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%description
|
|
|
6e89d6 |
The ATLAS (Automatically Tuned Linear Algebra Software) project is an
|
|
|
6e89d6 |
ongoing research effort focusing on applying empirical techniques in
|
|
|
6e89d6 |
order to provide portable performance. At present, it provides C and
|
|
|
6e89d6 |
Fortran77 interfaces to a portably efficient BLAS implementation, as
|
|
|
6e89d6 |
well as a few routines from LAPACK.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
The performance improvements in ATLAS are obtained largely via
|
|
|
6e89d6 |
compile-time optimizations and tend to be specific to a given hardware
|
|
|
6e89d6 |
configuration. In order to package ATLAS some compromises
|
|
|
6e89d6 |
are necessary so that good performance can be obtained on a variety
|
|
|
6e89d6 |
of hardware. This set of ATLAS binary packages is therefore not
|
|
|
6e89d6 |
necessarily optimal for any specific hardware configuration. However,
|
|
|
6e89d6 |
the source package can be used to compile customized ATLAS packages;
|
|
|
6e89d6 |
see the documentation for information.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%package devel
|
|
|
6e89d6 |
Summary: Development libraries for ATLAS
|
|
|
6e89d6 |
Group: Development/Libraries
|
|
|
6e89d6 |
Requires: %{name} = %{version}-%{release}
|
|
|
6e89d6 |
Obsoletes: %name-header <= %version-%release
|
|
|
6e89d6 |
Requires(posttrans): chkconfig
|
|
|
6e89d6 |
Requires(preun): chkconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%description devel
|
|
|
6e89d6 |
This package contains the libraries and headers for development
|
|
|
6e89d6 |
with ATLAS (Automatically Tuned Linear Algebra Software).
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%package static
|
|
|
6e89d6 |
Summary: Static libraries for ATLAS
|
|
|
6e89d6 |
Group: Development/Libraries
|
|
|
6e89d6 |
Requires: %{name}-devel = %{version}-%{release}
|
|
|
6e89d6 |
Requires(posttrans): chkconfig
|
|
|
6e89d6 |
Requires(preun): chkconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%description static
|
|
|
6e89d6 |
This package contains static version of ATLAS (Automatically Tuned
|
|
|
6e89d6 |
Linear Algebra Software).
|
|
|
6e89d6 |
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%define types base
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%if "%{?enable_native_atlas}" == "0"
|
|
|
6e89d6 |
############## Subpackages for architecture extensions #################
|
|
|
6e89d6 |
#
|
|
|
6e89d6 |
%ifarch x86_64
|
|
|
6e89d6 |
%define types base
|
|
|
6e89d6 |
# sse3
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#package sse3
|
|
|
6e89d6 |
#Summary: ATLAS libraries for SSE3 extensions
|
|
|
6e89d6 |
#Group: System Environment/Libraries
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#description sse3
|
|
|
6e89d6 |
#This package contains the ATLAS (Automatically Tuned Linear Algebra
|
|
|
6e89d6 |
#Software) libraries compiled with optimizations for the SSE3
|
|
|
6e89d6 |
#extensions to the x86_64 architecture. The base ATLAS builds for the
|
|
|
6e89d6 |
#x86_64 architecture are made for the SSE2 extensions.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#package sse3-devel
|
|
|
6e89d6 |
#Summary: Development libraries for ATLAS with SSE3 extensions
|
|
|
6e89d6 |
#Group: Development/Libraries
|
|
|
6e89d6 |
#Requires: %{name}-sse3 = %{version}-%{release}
|
|
|
6e89d6 |
#Obsoletes: %name-header <= %version-%release
|
|
|
6e89d6 |
#Requires(posttrans): chkconfig
|
|
|
6e89d6 |
#Requires(preun): chkconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#description sse3-devel
|
|
|
6e89d6 |
#This package contains shared and static versions of the ATLAS
|
|
|
6e89d6 |
#(Automatically Tuned Linear Algebra Software) libraries compiled with
|
|
|
6e89d6 |
#optimizations for the SSE3 extensions to the x86_64 architecture.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%ifarch %{ix86}
|
|
|
6e89d6 |
%define types base sse2 sse3
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%package sse2
|
|
|
6e89d6 |
Summary: ATLAS libraries for SSE2 extensions
|
|
|
6e89d6 |
Group: System Environment/Libraries
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%description sse2
|
|
|
6e89d6 |
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
|
|
|
6e89d6 |
shared libraries compiled with optimizations for the SSE2
|
|
|
6e89d6 |
extensions to the ix86 architecture. ATLAS builds with
|
|
|
6e89d6 |
SSE(1) and SSE3 extensions also exist.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%package sse2-devel
|
|
|
6e89d6 |
Summary: Development libraries for ATLAS with SSE2 extensions
|
|
|
6e89d6 |
Group: Development/Libraries
|
|
|
6e89d6 |
Requires: %{name}-sse2 = %{version}-%{release}
|
|
|
6e89d6 |
Obsoletes: %name-header <= %version-%release
|
|
|
6e89d6 |
Requires(posttrans): chkconfig
|
|
|
6e89d6 |
Requires(preun): chkconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%description sse2-devel
|
|
|
6e89d6 |
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
|
|
|
6e89d6 |
shared libraries compiled with optimizations for the SSE2 extensions to the
|
|
|
6e89d6 |
ix86 architecture.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%package sse2-static
|
|
|
6e89d6 |
Summary: Static libraries for ATLAS with SSE2 extensions
|
|
|
6e89d6 |
Group: Development/Libraries
|
|
|
6e89d6 |
Requires: %{name}-sse2-devel = %{version}-%{release}
|
|
|
6e89d6 |
Requires(posttrans): chkconfig
|
|
|
6e89d6 |
Requires(preun): chkconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%description sse2-static
|
|
|
6e89d6 |
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
|
|
|
6e89d6 |
static libraries compiled with optimizations for the SSE2 extensions to the
|
|
|
6e89d6 |
ix86 architecture.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%package sse3
|
|
|
6e89d6 |
Summary: ATLAS libraries for SSE3 extensions
|
|
|
6e89d6 |
Group: System Environment/Libraries
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%description sse3
|
|
|
6e89d6 |
This package contains the ATLAS (Automatically Tuned Linear Algebra
|
|
|
6e89d6 |
Software) libraries compiled with optimizations for the SSE3.
|
|
|
6e89d6 |
ATLAS builds with SSE(1) and SSE2 extensions also exist.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%package sse3-devel
|
|
|
6e89d6 |
Summary: Development libraries for ATLAS with SSE3 extensions
|
|
|
6e89d6 |
Group: Development/Libraries
|
|
|
6e89d6 |
Requires: %{name}-sse3 = %{version}-%{release}
|
|
|
6e89d6 |
Obsoletes: %name-header <= %version-%release
|
|
|
6e89d6 |
Requires(posttrans): chkconfig
|
|
|
6e89d6 |
Requires(preun): chkconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%description sse3-devel
|
|
|
6e89d6 |
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
|
|
|
6e89d6 |
shared libraries compiled with optimizations for the SSE3 extensions to the ix86 architecture.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%package sse3-static
|
|
|
6e89d6 |
Summary: Static libraries for ATLAS with SSE2 extensions
|
|
|
6e89d6 |
Group: Development/Libraries
|
|
|
6e89d6 |
Requires: %{name}-sse2-devel = %{version}-%{release}
|
|
|
6e89d6 |
Requires(posttrans): chkconfig
|
|
|
6e89d6 |
Requires(preun): chkconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%description sse3-static
|
|
|
6e89d6 |
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
|
|
|
6e89d6 |
static libraries compiled with optimizations for the SSE3 extensions to the
|
|
|
6e89d6 |
ix86 architecture.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%ifarch s390 s390x
|
|
|
6e89d6 |
%define types base
|
|
|
6e89d6 |
#z196
|
|
|
6e89d6 |
#z10
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%package z196
|
|
|
6e89d6 |
#Summary: ATLAS libraries for z196
|
|
|
6e89d6 |
#Group: System Environment/Libraries
|
|
|
6e89d6 |
#
|
|
|
6e89d6 |
#%description z196
|
|
|
6e89d6 |
#This package contains the ATLAS (Automatically Tuned Linear Algebra
|
|
|
6e89d6 |
#Software) libraries compiled with optimizations for the z196.
|
|
|
6e89d6 |
#
|
|
|
6e89d6 |
#%package z196-devel
|
|
|
6e89d6 |
#Summary: Development libraries for ATLAS for z196
|
|
|
6e89d6 |
#Group: Development/Libraries
|
|
|
6e89d6 |
#Requires: %{name}-z196 = %{version}-%{release}
|
|
|
6e89d6 |
#Obsoletes: %name-header <= %version-%release
|
|
|
6e89d6 |
#Requires(posttrans): chkconfig
|
|
|
6e89d6 |
#Requires(preun): chkconfig
|
|
|
6e89d6 |
#
|
|
|
6e89d6 |
#%description z196-devel
|
|
|
6e89d6 |
#This package contains headers and shared versions of the ATLAS
|
|
|
6e89d6 |
#(Automatically Tuned Linear Algebra Software) libraries compiled with
|
|
|
6e89d6 |
#optimizations for the z196 architecture.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%package z196-static
|
|
|
6e89d6 |
#Summary: Static libraries for ATLAS
|
|
|
6e89d6 |
#Group: Development/Libraries
|
|
|
6e89d6 |
#Requires: %{name}-devel = %{version}-%{release}
|
|
|
6e89d6 |
#Requires(posttrans): chkconfig
|
|
|
6e89d6 |
#Requires(preun): chkconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%description z196-static
|
|
|
6e89d6 |
#This package contains static version of ATLAS (Automatically Tuned
|
|
|
6e89d6 |
#Linear Algebra Software) for the z196 architecture.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%package z10
|
|
|
6e89d6 |
#Summary: ATLAS libraries for z10
|
|
|
6e89d6 |
#Group: System Environment/Libraries
|
|
|
6e89d6 |
#
|
|
|
6e89d6 |
#%description z10
|
|
|
6e89d6 |
#This package contains the ATLAS (Automatically Tuned Linear Algebra
|
|
|
6e89d6 |
#Software) libraries compiled with optimizations for the z10.
|
|
|
6e89d6 |
#
|
|
|
6e89d6 |
#%package z10-devel
|
|
|
6e89d6 |
#Summary: Development libraries for ATLAS for z10
|
|
|
6e89d6 |
#Group: Development/Libraries
|
|
|
6e89d6 |
#Requires: %{name}-z10 = %{version}-%{release}
|
|
|
6e89d6 |
#Obsoletes: %name-header <= %version-%release
|
|
|
6e89d6 |
#Requires(posttrans): chkconfig
|
|
|
6e89d6 |
#Requires(preun): chkconfig
|
|
|
6e89d6 |
#
|
|
|
6e89d6 |
#%description z10-devel
|
|
|
6e89d6 |
#This package contains headers and shared versions of the ATLAS
|
|
|
6e89d6 |
#(Automatically Tuned Linear Algebra Software) libraries compiled with
|
|
|
6e89d6 |
#optimizations for the z10 architecture.
|
|
|
6e89d6 |
#
|
|
|
6e89d6 |
#%package z10-static
|
|
|
6e89d6 |
#Summary: Static libraries for ATLAS
|
|
|
6e89d6 |
#Group: Development/Libraries
|
|
|
6e89d6 |
#Requires: %{name}-devel = %{version}-%{release}
|
|
|
6e89d6 |
#Requires(posttrans): chkconfig
|
|
|
6e89d6 |
#Requires(preun): chkconfig
|
|
|
6e89d6 |
#
|
|
|
6e89d6 |
#%description z10-static
|
|
|
6e89d6 |
#This package contains static version of ATLAS (Automatically Tuned
|
|
|
6e89d6 |
#Linear Algebra Software) for the z10 architecture.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%ifarch %{arm}
|
|
|
6e89d6 |
#beware - arch constant can change between releases
|
|
|
6e89d6 |
%define arch_option -A 46
|
|
|
6e89d6 |
%define threads_option -t 2
|
|
|
6e89d6 |
%global armflags -mfpu=neon -mfloat-abi=hard
|
|
|
6e89d6 |
%global mode %{nil}
|
|
|
6e89d6 |
%else
|
|
|
6e89d6 |
%global mode -b %{__isa_bits}
|
|
|
6e89d6 |
%global armflags %{nil}
|
|
|
6e89d6 |
%if "%{?enable_native_atlas}" == "0"
|
|
|
6e89d6 |
%define threads_option -t 4
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%prep
|
|
|
6e89d6 |
#uname -a
|
|
|
6e89d6 |
#cat /proc/cpuinfo
|
|
|
6e89d6 |
%setup -q -n ATLAS
|
|
|
6e89d6 |
#patch0 -p0 -b .shared
|
|
|
6e89d6 |
%ifarch s390 s390x
|
|
|
6e89d6 |
%patch1 -p1 -b .s390
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
#arm patch not applicable, probably not needed
|
|
|
6e89d6 |
#%ifarch %{arm}
|
|
|
6e89d6 |
#%patch2 -p0 -b .arm
|
|
|
6e89d6 |
#%endif
|
|
|
6e89d6 |
%patch3 -p1 -b .melf
|
|
|
6e89d6 |
%patch4 -p1 -b .thrott
|
|
|
6e89d6 |
%patch5 -p2 -b .sharedlib
|
|
|
6e89d6 |
#affinity crashes with fewer processors than the builder but increases performance of locally builded library
|
|
|
6e89d6 |
%if "%{?enable_native_atlas}" == "0"
|
|
|
6e89d6 |
%patch6 -p1 -b .affinity
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
#%patch6 -p1 -b .m32
|
|
|
6e89d6 |
cp %{SOURCE1} CONFIG/ARCHS/
|
|
|
6e89d6 |
#cp %{SOURCE2} CONFIG/ARCHS/
|
|
|
6e89d6 |
cp %{SOURCE3} doc
|
|
|
6e89d6 |
cp %{SOURCE11} CONFIG/ARCHS/
|
|
|
6e89d6 |
cp %{SOURCE12} CONFIG/ARCHS/
|
|
|
6e89d6 |
cp %{SOURCE13} CONFIG/ARCHS/
|
|
|
6e89d6 |
cp %{SOURCE14} CONFIG/ARCHS/
|
|
|
6e89d6 |
#cp %{SOURCE8} CONFIG/ARCHS/
|
|
|
6e89d6 |
#cp %{SOURCE9} CONFIG/ARCHS/
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%build
|
|
|
6e89d6 |
|
|
|
6e89d6 |
for type in %{types}; do
|
|
|
6e89d6 |
if [ "$type" = "base" ]; then
|
|
|
6e89d6 |
libname=atlas
|
|
|
6e89d6 |
%define pr_base %(echo $((%{__isa_bits}+0)))
|
|
|
6e89d6 |
else
|
|
|
6e89d6 |
libname=atlas-${type}
|
|
|
6e89d6 |
fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
mkdir -p %{_arch}_${type}
|
|
|
6e89d6 |
pushd %{_arch}_${type}
|
|
|
6e89d6 |
../configure %{mode} %{?threads_option} %{?arch_option} -D c -DWALL -Fa alg '%{armflags} -g -Wa,--noexecstack -fPIC'\
|
|
|
6e89d6 |
--prefix=%{buildroot}%{_prefix} \
|
|
|
6e89d6 |
--incdir=%{buildroot}%{_includedir} \
|
|
|
6e89d6 |
--libdir=%{buildroot}%{_libdir}/${libname} \
|
|
|
6e89d6 |
--with-netlib-lapack-tarfile=%{SOURCE10}
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%if "%{?enable_native_atlas}" == "0"
|
|
|
6e89d6 |
%ifarch x86_64
|
|
|
6e89d6 |
if [ "$type" = "base" ]; then
|
|
|
6e89d6 |
# sed -i 's#ARCH =.*#ARCH = HAMMER64SSE2#' Make.inc
|
|
|
6e89d6 |
sed -i 's#ARCH =.*#ARCH = HAMMER64SSE3#' Make.inc
|
|
|
6e89d6 |
# sed -i 's#-DATL_SSE3##' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_AVX##' Make.inc
|
|
|
6e89d6 |
# sed -i 's#-msse3#-msse2#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-mavx#-msse3#' Make.inc
|
|
|
6e89d6 |
echo 'base makefile edited'
|
|
|
6e89d6 |
# sed -i 's#PMAKE = $(MAKE) .*#PMAKE = $(MAKE) -j 1#' Make.inc
|
|
|
6e89d6 |
elif [ "$type" = "sse3" ]; then
|
|
|
6e89d6 |
# sed -i 's#ARCH =.*#ARCH = Corei264AVX#' Make.inc
|
|
|
6e89d6 |
# sed -i 's#PMAKE = $(MAKE) .*#PMAKE = $(MAKE) -j 1#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_AVX##' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_SSE2##' Make.inc
|
|
|
6e89d6 |
sed -i 's#-mavx#-msse2#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-msse3#-msse2#' Make.inc
|
|
|
6e89d6 |
echo 'sse makefile edited'
|
|
|
6e89d6 |
%define pr_sse3 %(echo $((%{__isa_bits}+4)))
|
|
|
6e89d6 |
fi
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%ifarch %{ix86}
|
|
|
6e89d6 |
if [ "$type" = "base" ]; then
|
|
|
6e89d6 |
sed -i 's#ARCH =.*#ARCH = PPRO32#' Make.inc
|
|
|
6e89d6 |
#sed -i 's#-DATL_SSE3 -DATL_SSE2 -DATL_SSE1##' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_SSE3##' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_SSE2##' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_SSE1##' Make.inc
|
|
|
6e89d6 |
sed -i 's#-mfpmath=sse -msse3#-mfpmath=387#' Make.inc
|
|
|
6e89d6 |
elif [ "$type" = "sse" ]; then
|
|
|
6e89d6 |
sed -i 's#ARCH =.*#ARCH = PIII32SSE1#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_SSE3#-DATL_SSE1#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-msse3#-msse#' Make.inc
|
|
|
6e89d6 |
%define pr_sse %(echo $((%{__isa_bits}+2)))
|
|
|
6e89d6 |
elif [ "$type" = "sse2" ]; then
|
|
|
6e89d6 |
# sed -i 's#ARCH =.*#ARCH = P432SSE2#' Make.inc
|
|
|
6e89d6 |
sed -i 's#ARCH =.*#ARCH = x86SSE232SSE2#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_SSE3#-DATL_SSE2#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-msse3#-msse2#' Make.inc
|
|
|
6e89d6 |
%define pr_sse2 %(echo $((%{__isa_bits}+3)))
|
|
|
6e89d6 |
elif [ "$type" = "sse3" ]; then
|
|
|
6e89d6 |
sed -i 's#ARCH =.*#ARCH = P4E32SSE3#' Make.inc
|
|
|
6e89d6 |
%define pr_sse3 %(echo $((%{__isa_bits}+4)))
|
|
|
6e89d6 |
fi
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%ifarch s390 s390x
|
|
|
6e89d6 |
# we require a z9/z10/z196 but base,z10 and z196
|
|
|
6e89d6 |
# we also need a compiler with -march=z196 support
|
|
|
6e89d6 |
# the base support will use z196 tuning
|
|
|
6e89d6 |
if [ "$type" = "base" ]; then
|
|
|
6e89d6 |
%ifarch s390x
|
|
|
6e89d6 |
sed -i 's#ARCH =.*#ARCH = IBMz964#' Make.inc
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
%ifarch s390
|
|
|
6e89d6 |
sed -i 's#ARCH =.*#ARCH = IBMz932#' Make.inc
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
sed -i 's#-march=z196#-march=z9-109 -mtune=z196#' Make.inc
|
|
|
6e89d6 |
# sed -i 's#-march=z10 -mtune=z196#-march=z9-109 -mtune=z196#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-march=z10#-march=z9-109 -mtune=z10#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_ARCH_IBMz196#-DATL_ARCH_IBMz9#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_ARCH_IBMz10#-DATL_ARCH_IBMz9#' Make.inc
|
|
|
6e89d6 |
# sed -i 's#-DATL_ARCH_IBMz9#-DATL_ARCH_IBMz9#' Make.inc
|
|
|
6e89d6 |
elif [ "$type" = "z10" ]; then
|
|
|
6e89d6 |
%ifarch s390x
|
|
|
6e89d6 |
|
|
|
6e89d6 |
# cat Make.inc | grep "ARCH ="
|
|
|
6e89d6 |
sed -i 's#ARCH =.*#ARCH = IBMz1064#' Make.inc
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
%ifarch s390
|
|
|
6e89d6 |
sed -i 's#ARCH =.*#ARCH = IBMz1032#' Make.inc
|
|
|
6e89d6 |
# cat Make.inc | grep "ARCH ="
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
sed -i 's#-march=z196#-march=z10#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-mtune=z196##' Make.inc
|
|
|
6e89d6 |
sed -i 's#-march=z9-109#-march=z10#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_ARCH_IBMz196#-DATL_ARCH_IBMz10#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_ARCH_IBMz9#-DATL_ARCH_IBMz10#' Make.inc
|
|
|
6e89d6 |
%define pr_z10 %(echo $((%{__isa_bits}+1)))
|
|
|
6e89d6 |
elif [ "$type" = "z196" ]; then
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%ifarch s390x
|
|
|
6e89d6 |
sed -i 's#ARCH =.*#ARCH = IBMz19664#' Make.inc
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
%ifarch s390
|
|
|
6e89d6 |
sed -i 's#ARCH =.*#ARCH = IBMz19632#' Make.inc
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
sed -i 's#-march=z196#-march=z10 -mtune=z196#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-march=z10#-march=z10 -mtune=z196#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-march=z9-109#-march=z10 -mtune=z196#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_ARCH_IBMz10#-DATL_ARCH_IBMz196#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_ARCH_IBMz9#-DATL_ARCH_IBMz196#' Make.inc
|
|
|
6e89d6 |
%define pr_z196 %(echo $((%{__isa_bits}+2)))
|
|
|
6e89d6 |
fi
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%ifarch ppc
|
|
|
6e89d6 |
sed -i 's#ARCH =.*#ARCH = POWER332#' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_ARCH_POWER7#-DATL_ARCH_POWER3#g' Make.inc
|
|
|
6e89d6 |
sed -i 's#power7#power3#g' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_VSX##g' Make.inc
|
|
|
6e89d6 |
sed -i 's#-mvsx##g' Make.inc
|
|
|
6e89d6 |
sed -i 's#-DATL_AltiVec##g' Make.inc
|
|
|
6e89d6 |
sed -i 's#-m64#-m32#g' Make.inc
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
make build
|
|
|
6e89d6 |
cd lib
|
|
|
6e89d6 |
make shared
|
|
|
6e89d6 |
make ptshared
|
|
|
6e89d6 |
popd
|
|
|
6e89d6 |
done
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%install
|
|
|
6e89d6 |
for type in %{types}; do
|
|
|
6e89d6 |
pushd %{_arch}_${type}
|
|
|
6e89d6 |
make DESTDIR=%{buildroot} install
|
|
|
6e89d6 |
mv %{buildroot}%{_includedir}/atlas %{buildroot}%{_includedir}/atlas-%{_arch}-${type}
|
|
|
6e89d6 |
if [ "$type" = "base" ]; then
|
|
|
6e89d6 |
cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas/
|
|
|
6e89d6 |
rm -f %{buildroot}%{_libdir}/atlas/*.a
|
|
|
6e89d6 |
cp -pr lib/libatlas.a %{buildroot}%{_libdir}/atlas/
|
|
|
6e89d6 |
else
|
|
|
6e89d6 |
cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas-${type}/
|
|
|
6e89d6 |
rm -f %{buildroot}%{_libdir}/atlas-${type}/*.a
|
|
|
6e89d6 |
cp -pr lib/libatlas.a %{buildroot}%{_libdir}/atlas-${type}/
|
|
|
6e89d6 |
fi
|
|
|
6e89d6 |
popd
|
|
|
6e89d6 |
|
|
|
6e89d6 |
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
|
|
6e89d6 |
if [ "$type" = "base" ]; then
|
|
|
6e89d6 |
echo "%{_libdir}/atlas" \
|
|
|
6e89d6 |
> %{buildroot}/etc/ld.so.conf.d/atlas-%{_arch}.conf
|
|
|
6e89d6 |
else
|
|
|
6e89d6 |
echo "%{_libdir}/atlas-${type}" \
|
|
|
6e89d6 |
> %{buildroot}/etc/ld.so.conf.d/atlas-%{_arch}-${type}.conf
|
|
|
6e89d6 |
fi
|
|
|
6e89d6 |
done
|
|
|
6e89d6 |
mkdir -p %{buildroot}%{_includedir}/atlas
|
|
|
6e89d6 |
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%check
|
|
|
6e89d6 |
%ifnarch s390
|
|
|
6e89d6 |
for type in %{types}; do
|
|
|
6e89d6 |
pushd %{_arch}_${type}
|
|
|
6e89d6 |
make check ptcheck
|
|
|
6e89d6 |
popd
|
|
|
6e89d6 |
done
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%post -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%postun -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%posttrans devel
|
|
|
6e89d6 |
if [ $1 -eq 0 ] ; then
|
|
|
6e89d6 |
/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
|
|
|
6e89d6 |
%{_includedir}/atlas-%{_arch}-base %{pr_base}
|
|
|
6e89d6 |
fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%preun devel
|
|
|
6e89d6 |
if [ $1 -ge 0 ] ; then
|
|
|
6e89d6 |
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-base
|
|
|
6e89d6 |
fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%if "%{?enable_native_atlas}" == "0"
|
|
|
6e89d6 |
#ifarch x86_64
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#post -n atlas-sse3 -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#postun -n atlas-sse3 -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#posttrans sse3-devel
|
|
|
6e89d6 |
#if [ $1 -eq 0 ] ; then
|
|
|
6e89d6 |
#/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
|
|
|
6e89d6 |
# %{_includedir}/atlas-%{_arch}-sse3 %{pr_sse3}
|
|
|
6e89d6 |
#fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#preun sse3-devel
|
|
|
6e89d6 |
#if [ $1 -ge 0 ] ; then
|
|
|
6e89d6 |
#/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse3
|
|
|
6e89d6 |
#fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%ifarch %{ix86}
|
|
|
6e89d6 |
#%%post -n atlas-3dnow -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%%postun -n atlas-3dnow -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%%posttrans 3dnow-devel
|
|
|
6e89d6 |
#if [ $1 -eq 0 ] ; then
|
|
|
6e89d6 |
#/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
|
|
|
6e89d6 |
# %{_includedir}/atlas-%{_arch}-3dnow %{pr_3dnow}
|
|
|
6e89d6 |
#fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%%preun 3dnow-devel
|
|
|
6e89d6 |
#if [ $1 -ge 0 ] ; then
|
|
|
6e89d6 |
#/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-3dnow
|
|
|
6e89d6 |
#fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%%post -n atlas-sse -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%%postun -n atlas-sse -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%%posttrans sse-devel
|
|
|
6e89d6 |
#if [ $1 -eq 0 ] ; then
|
|
|
6e89d6 |
#/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
|
|
|
6e89d6 |
# %{_includedir}/atlas-%{_arch}-sse %{pr_sse}
|
|
|
6e89d6 |
#fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%%preun sse-devel
|
|
|
6e89d6 |
#if [ $1 -ge 0 ] ; then
|
|
|
6e89d6 |
#/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse
|
|
|
6e89d6 |
#fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%post -n atlas-sse2 -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%postun -n atlas-sse2 -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%posttrans sse2-devel
|
|
|
6e89d6 |
if [ $1 -eq 0 ] ; then
|
|
|
6e89d6 |
/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
|
|
|
6e89d6 |
%{_includedir}/atlas-%{_arch}-sse2 %{pr_sse2}
|
|
|
6e89d6 |
fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%preun sse2-devel
|
|
|
6e89d6 |
if [ $1 -ge 0 ] ; then
|
|
|
6e89d6 |
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse2
|
|
|
6e89d6 |
fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%post -n atlas-sse3 -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%postun -n atlas-sse3 -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%posttrans sse3-devel
|
|
|
6e89d6 |
if [ $1 -eq 0 ] ; then
|
|
|
6e89d6 |
/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
|
|
|
6e89d6 |
%{_includedir}/atlas-%{_arch}-sse3 %{pr_sse3}
|
|
|
6e89d6 |
fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%preun sse3-devel
|
|
|
6e89d6 |
if [ $1 -ge 0 ] ; then
|
|
|
6e89d6 |
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse3
|
|
|
6e89d6 |
fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%ifarch s390 s390x
|
|
|
6e89d6 |
#%post -n atlas-z10 -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%postun -n atlas-z10 -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%posttrans z10-devel
|
|
|
6e89d6 |
#if [ $1 -eq 0 ] ; then
|
|
|
6e89d6 |
#/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
|
|
|
6e89d6 |
# %{_includedir}/atlas-%{_arch}-z10 %{pr_z10}
|
|
|
6e89d6 |
#fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%preun z10-devel
|
|
|
6e89d6 |
#if [ $1 -ge 0 ] ; then
|
|
|
6e89d6 |
#/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-z10
|
|
|
6e89d6 |
#fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%post -n atlas-z196 -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%postun -n atlas-z196 -p /sbin/ldconfig
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%posttrans z196-devel
|
|
|
6e89d6 |
#if [ $1 -eq 0 ] ; then
|
|
|
6e89d6 |
#/usr/sbin/alternatives --install %{_includedir}/atlas atlas-inc \
|
|
|
6e89d6 |
# %{_includedir}/atlas-%{_arch}-z196 %{pr_z196}
|
|
|
6e89d6 |
#fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%preun z196-devel
|
|
|
6e89d6 |
#if [ $1 -ge 0 ] ; then
|
|
|
6e89d6 |
#/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-z196
|
|
|
6e89d6 |
#fi
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%files
|
|
|
6e89d6 |
%defattr(-,root,root,-)
|
|
|
6e89d6 |
%doc doc/README.dist
|
|
|
6e89d6 |
%dir %{_libdir}/atlas
|
|
|
6e89d6 |
%{_libdir}/atlas/*.so.*
|
|
|
6e89d6 |
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}.conf
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%files devel
|
|
|
6e89d6 |
%defattr(-,root,root,-)
|
|
|
6e89d6 |
%doc doc
|
|
|
6e89d6 |
%{_libdir}/atlas/*.so
|
|
|
6e89d6 |
%{_includedir}/atlas-%{_arch}-base/
|
|
|
6e89d6 |
%{_includedir}/*.h
|
|
|
6e89d6 |
%ghost %{_includedir}/atlas
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%files static
|
|
|
6e89d6 |
%defattr(-,root,root,-)
|
|
|
6e89d6 |
%{_libdir}/atlas/*.a
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%if "%{?enable_native_atlas}" == "0"
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#ifarch x86_64
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#files sse3
|
|
|
6e89d6 |
#defattr(-,root,root,-)
|
|
|
6e89d6 |
#doc doc/README.Fedora
|
|
|
6e89d6 |
#dir %{_libdir}/atlas-sse3
|
|
|
6e89d6 |
#{_libdir}/atlas-sse3/*.so
|
|
|
6e89d6 |
#config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse3.conf
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#files sse3-devel
|
|
|
6e89d6 |
#defattr(-,root,root,-)
|
|
|
6e89d6 |
#doc doc
|
|
|
6e89d6 |
#{_libdir}/atlas-sse3/*.so
|
|
|
6e89d6 |
#{_includedir}/atlas-%{_arch}-sse3/
|
|
|
6e89d6 |
#{_includedir}/*.h
|
|
|
6e89d6 |
#ghost %{_includedir}/atlas
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%ifarch %{ix86}
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%%files 3dnow
|
|
|
6e89d6 |
#%%defattr(-,root,root,-)
|
|
|
6e89d6 |
#%%doc doc/README.Fedora
|
|
|
6e89d6 |
#%%dir %{_libdir}/atlas-3dnow
|
|
|
6e89d6 |
#%%{_libdir}/atlas-3dnow/*.so.*
|
|
|
6e89d6 |
#%%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-3dnow.conf
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%%files 3dnow-devel
|
|
|
6e89d6 |
#%%defattr(-,root,root,-)
|
|
|
6e89d6 |
#%%doc doc
|
|
|
6e89d6 |
#%%{_libdir}/atlas-3dnow/*.so
|
|
|
6e89d6 |
#%%{_includedir}/atlas-%{_arch}-3dnow/
|
|
|
6e89d6 |
#%%{_includedir}/*.h
|
|
|
6e89d6 |
#%%ghost %{_includedir}/atlas
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%%files sse
|
|
|
6e89d6 |
#%%defattr(-,root,root,-)
|
|
|
6e89d6 |
#%%doc doc/README.Fedora
|
|
|
6e89d6 |
#%%dir %{_libdir}/atlas-sse
|
|
|
6e89d6 |
#%%{_libdir}/atlas-sse/*.so.*
|
|
|
6e89d6 |
#%%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse.conf
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%%files sse-devel
|
|
|
6e89d6 |
#%%defattr(-,root,root,-)
|
|
|
6e89d6 |
#%%doc doc
|
|
|
6e89d6 |
#%%{_libdir}/atlas-sse/*.so
|
|
|
6e89d6 |
#%%{_includedir}/atlas-%{_arch}-sse/
|
|
|
6e89d6 |
#%%{_includedir}/*.h
|
|
|
6e89d6 |
#%%ghost %{_includedir}/atlas
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%files sse2
|
|
|
6e89d6 |
%defattr(-,root,root,-)
|
|
|
6e89d6 |
%doc doc/README.dist
|
|
|
6e89d6 |
%dir %{_libdir}/atlas-sse2
|
|
|
6e89d6 |
%{_libdir}/atlas-sse2/*.so.*
|
|
|
6e89d6 |
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse2.conf
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%files sse2-devel
|
|
|
6e89d6 |
%defattr(-,root,root,-)
|
|
|
6e89d6 |
%doc doc
|
|
|
6e89d6 |
%{_libdir}/atlas-sse2/*.so
|
|
|
6e89d6 |
%{_includedir}/atlas-%{_arch}-sse2/
|
|
|
6e89d6 |
%{_includedir}/*.h
|
|
|
6e89d6 |
%ghost %{_includedir}/atlas
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%files sse2-static
|
|
|
6e89d6 |
%defattr(-,root,root,-)
|
|
|
6e89d6 |
%{_libdir}/atlas-sse2/*.a
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%files sse3
|
|
|
6e89d6 |
%defattr(-,root,root,-)
|
|
|
6e89d6 |
%doc doc/README.dist
|
|
|
6e89d6 |
%dir %{_libdir}/atlas-sse3
|
|
|
6e89d6 |
%{_libdir}/atlas-sse3/*.so.*
|
|
|
6e89d6 |
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse3.conf
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%files sse3-static
|
|
|
6e89d6 |
%defattr(-,root,root,-)
|
|
|
6e89d6 |
%{_libdir}/atlas-sse3/*.a
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%files sse3-devel
|
|
|
6e89d6 |
%defattr(-,root,root,-)
|
|
|
6e89d6 |
%doc doc
|
|
|
6e89d6 |
%{_libdir}/atlas-sse3/*.so
|
|
|
6e89d6 |
%{_includedir}/atlas-%{_arch}-sse3/
|
|
|
6e89d6 |
%{_includedir}/*.h
|
|
|
6e89d6 |
%ghost %{_includedir}/atlas
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%ifarch s390 s390x
|
|
|
6e89d6 |
#%files z10
|
|
|
6e89d6 |
#%defattr(-,root,root,-)
|
|
|
6e89d6 |
#%doc doc/README.dist
|
|
|
6e89d6 |
#%dir %{_libdir}/atlas-z10
|
|
|
6e89d6 |
#%{_libdir}/atlas-z10/*.so
|
|
|
6e89d6 |
#%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-z10.conf
|
|
|
6e89d6 |
#
|
|
|
6e89d6 |
#%files z10-devel
|
|
|
6e89d6 |
#%defattr(-,root,root,-)
|
|
|
6e89d6 |
#%doc doc
|
|
|
6e89d6 |
#%{_libdir}/atlas-z10/*.so
|
|
|
6e89d6 |
#%{_includedir}/atlas-%{_arch}-z10/
|
|
|
6e89d6 |
#%{_includedir}/*.h
|
|
|
6e89d6 |
#%ghost %{_includedir}/atlas
|
|
|
6e89d6 |
#
|
|
|
6e89d6 |
#%files z10-static
|
|
|
6e89d6 |
#%defattr(-,root,root,-)
|
|
|
6e89d6 |
#%{_libdir}/atlas-z10/*.a
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%files z196
|
|
|
6e89d6 |
#%defattr(-,root,root,-)
|
|
|
6e89d6 |
#%doc doc/README.dist
|
|
|
6e89d6 |
#%dir %{_libdir}/atlas-z196
|
|
|
6e89d6 |
#%{_libdir}/atlas-z196/*.so
|
|
|
6e89d6 |
#%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-z196.conf
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%files z196-devel
|
|
|
6e89d6 |
#%defattr(-,root,root,-)
|
|
|
6e89d6 |
#%doc doc
|
|
|
6e89d6 |
#%{_libdir}/atlas-z196/*.so
|
|
|
6e89d6 |
#%{_includedir}/atlas-%{_arch}-z196/
|
|
|
6e89d6 |
#%{_includedir}/*.h
|
|
|
6e89d6 |
#%ghost %{_includedir}/atlas
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%files z196-static
|
|
|
6e89d6 |
#%defattr(-,root,root,-)
|
|
|
6e89d6 |
#%{_libdir}/atlas-z196/*.a
|
|
|
6e89d6 |
|
|
|
6e89d6 |
#%endif
|
|
|
6e89d6 |
%endif
|
|
|
6e89d6 |
|
|
|
6e89d6 |
%changelog
|
|
|
6e89d6 |
* Tue Sep 24 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-3
|
|
|
6e89d6 |
- disable affinity to prevent crash on systems with fewer cpus
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Mon Sep 23 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-2
|
|
|
6e89d6 |
- fix atlas-devel dependency
|
|
|
6e89d6 |
- archdefs for z10 and z196 not yet in use
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Mon Sep 23 2013 Orion Poplawski <orion@cora.nwra.com> - 3.10.1-2
|
|
|
6e89d6 |
- Add %%check section
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Fri Sep 20 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.1-1
|
|
|
6e89d6 |
- Rebase to 3.10.1
|
|
|
6e89d6 |
- Dropped x86_64-SSE2, ix86-SSE1, ix86-3DNow, z10, z196 (uncompilable).
|
|
|
6e89d6 |
- Modified incompatible patches.
|
|
|
6e89d6 |
- Added armv7neon support, modified archdef from softfp abi to hard abi.
|
|
|
6e89d6 |
- Modified Make.lib to include build-id, soname, versioned library name and symlinks.
|
|
|
6e89d6 |
- Now builds monolithic libsatlas (serial) and libtatlas (threaded)
|
|
|
6e89d6 |
libraries with lapack and blas included.
|
|
|
6e89d6 |
- Lapack source tarball needed instead of static library.
|
|
|
6e89d6 |
- Disabled cpu throttling detection again (sorry, could not work on atlas
|
|
|
6e89d6 |
otherwise, feel free to enable yet again - atlas-throttling.patch).
|
|
|
6e89d6 |
- Removed mentions of "Fedora" to promote redistribution.
|
|
|
6e89d6 |
- Modified parts of atlas.spec sometimes left in place, work still in progress,
|
|
|
6e89d6 |
cleanup needed.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.4-9
|
|
|
6e89d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Sun Jan 27 2013 Peter Robinson <pbrobinson@fedoraproject.org> 3.8.4-8
|
|
|
6e89d6 |
- Rebuild for ARM glibc/binutils issues
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Fri Sep 07 2012 Orion Poplawski <orion@nwra.com> - 3.8.4-7
|
|
|
6e89d6 |
- Rebuild with lapack 3.4.1
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Thu Aug 09 2012 Orion Poplawski <orion@nwra.com> - 3.8.4-6
|
|
|
6e89d6 |
- Add patch to properly pass -melf_* to the linker with -Wl (bug 817552)
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.4-5
|
|
|
6e89d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.4-4
|
|
|
6e89d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Thu Sep 01 2011 Deji Akingunola <dakingun@gmail.com> - 3.8.4-3
|
|
|
6e89d6 |
- Apply patch to enable arm build (Patch provided by Jitesh Shah <jiteshs@marvell.com>)
|
|
|
6e89d6 |
- Stop turning off throttle checking, upstream frown at it (seems O.K. for Koji)
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Mon Jun 20 2011 Dan Horák <dan[at]danny.cz> - 3.8.4-2
|
|
|
6e89d6 |
- Use -march=z10 for z196 optimised build because the builder is a z10
|
|
|
6e89d6 |
(Christian Bornträger)
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Tue Jun 14 2011 Deji Akingunola <dakingun@gmail.com> - 3.8.4-1
|
|
|
6e89d6 |
- Update to 3.8.4
|
|
|
6e89d6 |
- Build the default package for SSE2 and add a SSE3 subpackage on x86_64
|
|
|
6e89d6 |
- Apply patch (and arch defs.) to build on s390 and s390x (Dan Horák)
|
|
|
6e89d6 |
- Fix-up build on s390 and s390x (Christian Bornträger)
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
6e89d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Mon Jul 26 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-18
|
|
|
6e89d6 |
- Create a subpackage for SSE2 on x86_64
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Sat Jul 17 2010 Dan Horák <dan[at]danny.cz> - 3.8.3-17
|
|
|
6e89d6 |
- rebuild against fixed lapack libraries
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Thu Jul 15 2010 Dan Horák <dan[at]danny.cz> - 3.8.3-16
|
|
|
6e89d6 |
- fix build on s390 (patch by Karsten Hopp)
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Wed Feb 10 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-15
|
|
|
6e89d6 |
- Disable the problematic sparc patch
|
|
|
6e89d6 |
- Change lapack-devel BR to lapack-static, where liblapack_pic.a now resides.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Wed Feb 03 2010 Dennis Gilmore <dennis@ausil.us> - 3.8.3-14
|
|
|
6e89d6 |
- fix sparc build
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Fri Jan 29 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-13
|
|
|
6e89d6 |
- Remove static libraries.
|
|
|
6e89d6 |
- Fix typo in SSE3 subpackage's summary.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Sat Oct 24 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-12
|
|
|
6e89d6 |
- Use alternatives to workaround multilib conflicts (BZ#508565).
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Tue Sep 29 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-11
|
|
|
6e89d6 |
- Obsolete the -header subpackage properly.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Sat Sep 26 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-10
|
|
|
6e89d6 |
- Use the new arch. default for Pentium PRO (Fedora bug #510498)
|
|
|
6e89d6 |
- (Re-)Introduce 3dNow subpackage
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Sun Sep 6 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 3.8.3-9
|
|
|
6e89d6 |
- Rebuild against fixed lapack (see #520518)
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Thu Aug 13 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-8
|
|
|
6e89d6 |
- Revert the last change, it doesn't solve the problem.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Tue Aug 04 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-7
|
|
|
6e89d6 |
- Create a -header subpackage to avoid multilib conflicts (BZ#508565).
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Tue Aug 04 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-6
|
|
|
6e89d6 |
- Add '-g' to build flag to allow proper genration of debuginfo subpackages (Fedora bug #509813)
|
|
|
6e89d6 |
- Build for F12
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.3-5
|
|
|
6e89d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Sat May 02 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-4
|
|
|
6e89d6 |
- Use the right -msse* option for the -sse* subpackages (Fedora bug #498715)
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Tue Apr 21 2009 Karsten Hopp <karsten@redhat.com> 3.8.3-3.1
|
|
|
6e89d6 |
- add s390x to 64 bit archs
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Fri Feb 27 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-3
|
|
|
6e89d6 |
- Rebuild
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.3-2
|
|
|
6e89d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Sun Feb 22 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-1
|
|
|
6e89d6 |
- Update to version 3.8.3
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Sun Dec 21 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-5
|
|
|
6e89d6 |
- Link in appropriate libs when creating shared libs, reported by Orcan 'oget' Ogetbil (BZ#475411)
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Tue Dec 16 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-4
|
|
|
6e89d6 |
- Don't symlink the atlas libdir on i386, cause upgrade issue (BZ#476787)
|
|
|
6e89d6 |
- Fix options passed to gcc when making shared libs
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Tue Dec 16 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-3
|
|
|
6e89d6 |
- Use 'gcc -shared' to build shared libs instead of stock 'ld'
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Sat Dec 13 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-2
|
|
|
6e89d6 |
- Properly obsolete/provide older subpackages that are no longer packaged.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Mon Sep 01 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-1
|
|
|
6e89d6 |
- Upgrade to ver 3.8.2 with refined build procedures.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Thu Feb 28 2008 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-15
|
|
|
6e89d6 |
- Disable altivec package--it is causing illegal instructions during build.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Thu Feb 28 2008 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-14
|
|
|
6e89d6 |
- Enable compilation on alpha (bug 426086).
|
|
|
6e89d6 |
- Patch for compilation on ia64 (bug 432744).
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.6.0-13
|
|
|
6e89d6 |
- Autorebuild for GCC 4.3
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Mon Jun 4 2007 Orion Poplawski <orion@cora.nwra.com> 3.6.0-12
|
|
|
6e89d6 |
- Rebuild for ppc64
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Fri Sep 8 2006 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-11
|
|
|
6e89d6 |
- Rebuild for FC6.
|
|
|
6e89d6 |
- Remove outdated comments from spec file.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-10
|
|
|
6e89d6 |
- Rebuild for Fedora Extras 5.
|
|
|
6e89d6 |
- Add --noexecstack to compilation of assembly kernels. These were
|
|
|
6e89d6 |
previously marked executable, which caused problems with selinux.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Mon Dec 19 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-9
|
|
|
6e89d6 |
- Rebuild for gcc 4.1.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Mon Oct 10 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-8
|
|
|
6e89d6 |
- Make all devel subpackages depend on their non-devel counterparts.
|
|
|
6e89d6 |
- Add /etc/ld.so.conf.d files for -sse and -3dnow, because they don't
|
|
|
6e89d6 |
seem to get picked up automatically.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Wed Oct 05 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-7
|
|
|
6e89d6 |
- Forgot to add the new patch to sources.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Tue Oct 04 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-6
|
|
|
6e89d6 |
- Use new Debian patch, and enable shared libs (they previously failed
|
|
|
6e89d6 |
to build on gcc 4).
|
|
|
6e89d6 |
- Minor updates to description and README.Fedora file.
|
|
|
6e89d6 |
- Fix buildroot name to match FE preferred form.
|
|
|
6e89d6 |
- Fixes for custom optimized builds.
|
|
|
6e89d6 |
- Add dist tag.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Wed Sep 28 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-5
|
|
|
6e89d6 |
- fix files lists.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Mon Sep 26 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-4
|
|
|
6e89d6 |
- generate library symlinks earlier for the benefit of later linking steps.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Wed Sep 14 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-3
|
|
|
6e89d6 |
- Change lapack dependency to lapack-devel, and use lapack_pic.a for
|
|
|
6e89d6 |
building liblapack.so.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Wed Sep 14 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-2
|
|
|
6e89d6 |
- Add "bit" macro to correctly build on x86_64.
|
|
|
6e89d6 |
|
|
|
6e89d6 |
* Tue Aug 16 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-1
|
|
|
6e89d6 |
- Initial version.
|