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
Orion Poplawski f8e736
Release:        2%{?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
Frantisek Kluknavsky 62670b
#Source4:        USII64.tgz                                              
Frantisek Kluknavsky 62670b
#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
Source10: 	lapack-3.4.2-clean.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
Quentin Spencer cdd562
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Quentin Spencer cdd562
Frantisek Kluknavsky 62670b
BuildRequires:  gcc-gfortran
Frantisek Kluknavsky 62670b
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
Deji Akingunola 532d6c
This package contains the libraries and headers for development
Quentin Spencer cdd562
with ATLAS (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)
Deji Akingunola 532d6c
shared libraries compiled with optimizations for the SSE2 extensions to the 
Deji Akingunola 532d6c
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)
Frantisek Kluknavsky 62670b
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.
Frantisek Kluknavsky 62670b
ATLAS builds with SSE(1) and SSE2 extensions also exist.
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)
Deji Akingunola 532d6c
shared libraries compiled with optimizations for the SSE3 extensions 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)
Frantisek Kluknavsky 62670b
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
Frantisek Kluknavsky 62670b
%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
Deji Akingunola 6e9c4c
%ifarch %{arm}
Frantisek Kluknavsky 62670b
#beware - arch constant can change between releases
Frantisek Kluknavsky 62670b
%define arch_option -A 46 
Deji Akingunola 6e9c4c
%define threads_option -t 2
Frantisek Kluknavsky 62670b
%global armflags -mfpu=neon -mfloat-abi=hard
Frantisek Kluknavsky 62670b
%global mode %{nil}
Frantisek Kluknavsky 62670b
%else
Frantisek Kluknavsky 62670b
%global mode -b %{__isa_bits}
Frantisek Kluknavsky 62670b
%global armflags %{nil}
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 62670b
#%patch6 -p1 -b .m32
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/
Quentin Spencer cdd562
Quentin Spencer cdd562
%build
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}		\
Deji Akingunola 9680a0
	--libdir=%{buildroot}%{_libdir}/${libname}	\
Frantisek Kluknavsky 62670b
	--with-netlib-lapack-tarfile=%{SOURCE10}
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
Frantisek Kluknavsky 62670b
		sed -i 's#-DATL_AVX##' Make.inc 
Frantisek Kluknavsky 62670b
#		sed -i 's#-msse3#-msse2#' Make.inc 
Frantisek Kluknavsky 62670b
		sed -i 's#-mavx#-msse3#' Make.inc
Frantisek Kluknavsky 62670b
		echo 'base makefile edited' 
Frantisek Kluknavsky 62670b
#		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
Frantisek Kluknavsky 62670b
		sed -i 's#-mavx#-msse2#' Make.inc 
Frantisek Kluknavsky 62670b
		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
Frantisek Kluknavsky 62670b
		sed -i 's#-DATL_SSE1##' Make.inc  
Deji Akingunola 7d1f5e
		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
Frantisek Kluknavsky 62670b
		sed -i 's#-DATL_SSE3#-DATL_SSE1#' Make.inc 
Deji Akingunola dbe4a7
		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
Frantisek Kluknavsky 62670b
		sed -i 's#-DATL_SSE3#-DATL_SSE2#' Make.inc 
Deji Akingunola dbe4a7
		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
Deji Akingunola 8a1f9d
		%ifarch s390x 
Frantisek Kluknavsky 62670b
			sed -i 's#ARCH =.*#ARCH = IBMz964#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Deji Akingunola 8a1f9d
		%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
Deji Akingunola 8a1f9d
		%ifarch s390x 
Frantisek Kluknavsky 62670b
		
Frantisek Kluknavsky 62670b
#			cat Make.inc | grep "ARCH ="
Deji Akingunola 8a1f9d
			sed -i 's#ARCH =.*#ARCH = IBMz1064#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Deji Akingunola 8a1f9d
		%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
Deji Akingunola 8a1f9d
		%ifarch s390x 
Deji Akingunola 8a1f9d
			sed -i 's#ARCH =.*#ARCH = IBMz19664#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Deji Akingunola 8a1f9d
		%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
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
Frantisek Kluknavsky 62670b
%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
Deji Akingunola 3cd5fa
mkdir -p %{buildroot}%{_includedir}/atlas
Deji Akingunola 3cd5fa
Quentin Spencer cdd562
Orion Poplawski f8e736
%check
Orion Poplawski f8e736
for type in %{types}; do
Orion Poplawski f8e736
	pushd %{_arch}_${type}
Orion Poplawski f8e736
	make check ptcheck
Orion Poplawski f8e736
done
Orion Poplawski f8e736
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
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
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
Deji Akingunola 3cd5fa
- 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
Deji Akingunola 3cd5fa
- 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
Deji Akingunola 7dd552
- 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
Deji Akingunola 9b1309
- 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.