diff --git a/atlas-throttling.patch b/atlas-throttling.patch new file mode 100644 index 0000000..45c862e --- /dev/null +++ b/atlas-throttling.patch @@ -0,0 +1,12 @@ +diff -up ATLAS/CONFIG/src/config.c.zaloha ATLAS/CONFIG/src/config.c +--- ATLAS/CONFIG/src/config.c.zaloha 2012-10-25 11:29:02.495425989 +0200 ++++ ATLAS/CONFIG/src/config.c 2012-10-25 11:42:10.218216957 +0200 +@@ -711,6 +711,8 @@ int ProbePtrbits(int verb, char *targarg + + int ProbeCPUThrottle(int verb, char *targarg, enum OSTYPE OS, enum ASMDIA asmb) + { ++ return 0; /* impossible to turn off cpu throttling => ignore */ ++ /* this undermines performance of compiled library */ + int i, iret; + char *ln; + i = strlen(targarg) + 22 + 12; diff --git a/atlas.spec b/atlas.spec index 818340f..6ecdb29 100644 --- a/atlas.spec +++ b/atlas.spec @@ -27,6 +27,7 @@ Patch2: atlas-fedora-arm.patch # Properly pass -melf_* to the linker with -Wl, fixes FTBFS bug 817552 # https://sourceforge.net/tracker/?func=detail&atid=379484&aid=3555789&group_id=23725 #Patch3: atlas-melf.patch +Patch4: atlas-throttling.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc-gfortran @@ -253,6 +254,7 @@ optimizations for the z10 architecture. %patch2 -p0 -b .arm %endif #%patch3 -p1 -b .melf +%patch4 -p1 -b .thrott cp %{SOURCE1} CONFIG/ARCHS/ cp %{SOURCE2} CONFIG/ARCHS/ cp %{SOURCE3} doc @@ -668,8 +670,9 @@ fi %endif %changelog -* Tue Oct 23 2012 Frantisek Kluknavsky - 3.10.0-0 +* Thu Oct 25 2012 Frantisek Kluknavsky - 3.10.0-0 - Rebase to 3.10.0 +- disabled cpu throttling detection * Fri Sep 07 2012 Orion Poplawski - 3.8.4-7 - Rebuild with lapack 3.4.1