diff options
author | Maho Nakata <maho@FreeBSD.org> | 2004-09-01 14:26:13 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2004-09-01 14:26:13 +0000 |
commit | 8b77f79ccd344fac42d21288c14311fa44785021 (patch) | |
tree | 5d331eb847f562e9cc6a6b26d7bbefb11b5896ad /math | |
parent | Fix build with ident support. (diff) |
ad hoc fix for 5-STABLE, having CPU
other than Pentium4 (Opteron, Pentium III,
Athlon... etc) this was due to recent change
in make(1)
Diffstat (limited to 'math')
-rw-r--r-- | math/atlas-devel/files/patch-config.c | 8 | ||||
-rw-r--r-- | math/atlas/files/patch-config.c | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/math/atlas-devel/files/patch-config.c b/math/atlas-devel/files/patch-config.c index 57ccb7f1e1e7..455f38f38d0a 100644 --- a/math/atlas-devel/files/patch-config.c +++ b/math/atlas-devel/files/patch-config.c @@ -54,6 +54,14 @@ s1 = 0; s2 = 0; break; +@@ -2687,6 +2687,7 @@ + l1 = l2 = s1 = s2 = 0; + lf2 = 4096; + } ++ s1 = 0; // XXX always calculate L1 cache size + if (lvl == 1) + { + if (AmSure) *AmSure = s1; @@ -2799,7 +2803,7 @@ else if (strstr(ln, "ia64")) la = LAIA64; else if ( strstr(ln, "i686") || strstr(ln, "i586") || diff --git a/math/atlas/files/patch-config.c b/math/atlas/files/patch-config.c index 57ccb7f1e1e7..455f38f38d0a 100644 --- a/math/atlas/files/patch-config.c +++ b/math/atlas/files/patch-config.c @@ -54,6 +54,14 @@ s1 = 0; s2 = 0; break; +@@ -2687,6 +2687,7 @@ + l1 = l2 = s1 = s2 = 0; + lf2 = 4096; + } ++ s1 = 0; // XXX always calculate L1 cache size + if (lvl == 1) + { + if (AmSure) *AmSure = s1; @@ -2799,7 +2803,7 @@ else if (strstr(ln, "ia64")) la = LAIA64; else if ( strstr(ln, "i686") || strstr(ln, "i586") || |