[atlas/f20] fixed intel cpu detection
Frantisek Kluknavsky
fkluknav at fedoraproject.org
Tue Nov 18 14:42:25 UTC 2014
commit d57a2dc8c673f4a416efb8ab69855d1484f2b197
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date: Tue Nov 18 15:42:23 2014 +0100
fixed intel cpu detection
https://bugzilla.redhat.com/show_bug.cgi?id=1164967
atlas-3.8.4-corei1.patch | 14 ++++++++++++++
atlas.spec | 8 +++++++-
2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/atlas-3.8.4-corei1.patch b/atlas-3.8.4-corei1.patch
new file mode 100644
index 0000000..2f9716a
--- /dev/null
+++ b/atlas-3.8.4-corei1.patch
@@ -0,0 +1,14 @@
+diff -up wrk/CONFIG/src/backend/archinfo_x86.c.wrk wrk/CONFIG/src/backend/archinfo_x86.c
+--- wrk/CONFIG/src/backend/archinfo_x86.c.wrk 2014-11-18 15:12:59.419444222 +0100
++++ wrk/CONFIG/src/backend/archinfo_x86.c 2014-11-18 15:16:53.602254317 +0100
+@@ -309,9 +309,9 @@ enum MACHTYPE Chip2Mach(enum CHIP chip,
+ case 0x1A:
+ case 0x1E:
+ case 0x1F:
++ case 0x25:
+ iret = IntCorei1;
+ break;
+- case 0x25:
+ case 0x2A:
+ iret = IntCorei2;
+ break;
diff --git a/atlas.spec b/atlas.spec
index 457a931..4d146db 100644
--- a/atlas.spec
+++ b/atlas.spec
@@ -5,7 +5,7 @@ Version: 3.8.4
%if "%{?enable_native_atlas}" != "0"
%define dist .native
%endif
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Automatically Tuned Linear Algebra Software
Group: System Environment/Libraries
@@ -28,6 +28,7 @@ Patch2: atlas-fedora-arm.patch
# https://sourceforge.net/tracker/?func=detail&atid=379484&aid=3555789&group_id=23725
Patch3: atlas-melf.patch
Patch4: atlas-aarch64.patch
+Patch5: atlas-3.8.4-corei1.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-gfortran lapack-static
@@ -256,6 +257,7 @@ optimizations for the z10 architecture.
%ifarch %{aarch64}
%patch4 -p0 -b .aarch64
%endif
+%patch5 -p1 -b .corei1
cp %{SOURCE1} CONFIG/ARCHS/
cp %{SOURCE2} CONFIG/ARCHS/
cp %{SOURCE3} doc
@@ -684,6 +686,10 @@ fi
%endif
%changelog
+* Tue Nov 18 2014 Frantisek Kluknavsky <fkluknav at redhat.com> - 3.8.4-13
+- fixed intel cpu detection
+ https://bugzilla.redhat.com/show_bug.cgi?id=1164967
+
* Fri Oct 24 2014 Frantisek Kluknavsky <fkluknav at redhat.com> - 3.8.4-12
- added pkgconfig file
- disabled cpu throttling detection to be able to rebuild
More information about the scm-commits
mailing list