Rebase to 3.10.0

- Dropped x86_64-SSE2, ix86-SSE1, ix86-3DNow (uncompilable).
- Unbundled Lapack.
- Added subpackage static.
- Disabled incompatible patches.
- Modified makefile to include build-id.
- Disabled cpu throttling detection again (sorry, could not work on atlas
  otherwise, feel free to enable yet again - atlas-throttling.patch).
- Removed mentions of "Fedora" to promote redistribution.
- Modified parts of atlas.spec left in place, work still in progress,
  cleanup needed.
This commit is contained in:
Frantisek Kluknavsky 2012-11-28 13:45:37 +01:00
parent eb244c6c04
commit 07597f56ed

View File

@ -333,7 +333,7 @@ for type in %{types}; do
sed -i 's#-DATL_AVX##' Make.inc sed -i 's#-DATL_AVX##' Make.inc
# sed -i 's#-msse3#-msse2#' Make.inc # sed -i 's#-msse3#-msse2#' Make.inc
sed -i 's#-mavx#-msse3#' Make.inc sed -i 's#-mavx#-msse3#' Make.inc
echo 'skonfigurovane base' echo 'base makefile edited'
# sed -i 's#PMAKE = $(MAKE) .*#PMAKE = $(MAKE) -j 1#' Make.inc # sed -i 's#PMAKE = $(MAKE) .*#PMAKE = $(MAKE) -j 1#' Make.inc
elif [ "$type" = "sse3" ]; then elif [ "$type" = "sse3" ]; then
# sed -i 's#ARCH =.*#ARCH = Corei264AVX#' Make.inc # sed -i 's#ARCH =.*#ARCH = Corei264AVX#' Make.inc
@ -342,7 +342,7 @@ for type in %{types}; do
sed -i 's#-DATL_SSE2##' Make.inc sed -i 's#-DATL_SSE2##' Make.inc
sed -i 's#-mavx#-msse2#' Make.inc sed -i 's#-mavx#-msse2#' Make.inc
sed -i 's#-msse3#-msse2#' Make.inc sed -i 's#-msse3#-msse2#' Make.inc
echo 'skonfigurovane sse' echo 'sse makefile edited'
%define pr_sse3 %(echo $((%{__isa_bits}+4))) %define pr_sse3 %(echo $((%{__isa_bits}+4)))
fi fi
%endif %endif
@ -432,7 +432,6 @@ for type in %{types}; do
done done
%install %install
rm -rf %{buildroot}
for type in %{types}; do for type in %{types}; do
pushd %{_arch}_${type} pushd %{_arch}_${type}
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
@ -460,9 +459,6 @@ done
mkdir -p %{buildroot}%{_includedir}/atlas mkdir -p %{buildroot}%{_includedir}/atlas
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig