Package: atlas / 3.10.3-1~bpo8+1

generic.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Description: Add a GENERIC machine type
 In practice this type will have the same effect than the UNKNOWN machine type,
 except that it does not try to autodetect the machine CPU.
 This is useful when trying to build a generic package on an arch for which
 ATLAS does not define a generic machine type. For example, on a armel buildd
 with ARMv7 CPU, ATLAS would detect ARMv7 if provided the UNKNOWN type.
Author: S├ębastien Villemot <sebastien@debian.org>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719355
Last-Update: 2014-07-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/CONFIG/include/atlconf.h
+++ b/CONFIG/include/atlconf.h
@@ -25,7 +25,7 @@ enum ARCHFAM {AFOther=0, AFPPC, AFSPARC,
  * Corei3EP: v3 Haswell, E5-26XX
  * Corei4: skylake
  */
-#define NMACH 62
+#define NMACH 63
 static char *machnam[NMACH] =
    {"UNKNOWN", "PPCG4", "PPCG5", "POWER3", "POWER4", "POWER5",
     "POWER6", "POWER7", "POWER8", "POWERe6500",
@@ -39,7 +39,7 @@ static char *machnam[NMACH] =
     "USI", "USII", "USIII", "USIV", "UST1", "UST2", "UnknownUS",
     "MIPSR1xK", "MIPSICE9",
     "ARMa7", "ARMa9", "ARMa15", "ARMa17",
-    "ARM64xgene1", "ARM64a53", "ARM64a57"};
+    "ARM64xgene1", "ARM64a53", "ARM64a57", "GENERIC"};
 enum MACHTYPE {MACHOther, PPCG4, PPCG5, IbmPwr3, IbmPwr4, IbmPwr5,
                IbmPwr6, IbmPwr7, IbmPwr8, Pwre6500,
                IbmZ9, IbmZ10, IbmZ196, IbmZ12, IbmZ13, /* s390(x) in Linux */
@@ -58,7 +58,8 @@ enum MACHTYPE {MACHOther, PPCG4, PPCG5,
                ARM17,     /* lots of tablets */
                ARM64xg,     /* includes ARMv8 */
                ARM64a53,
-               ARM64a57
+               ARM64a57,
+               GENERIC
                };
 #define MachIsX86(mach_) \
    ( (mach_) >= x86x87 && (mach_) <= x86X )