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