aboutsummaryrefslogtreecommitdiff
path: root/math/atlas
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-09-01 14:26:13 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-09-01 14:26:13 +0000
commit8b77f79ccd344fac42d21288c14311fa44785021 (patch)
tree5d331eb847f562e9cc6a6b26d7bbefb11b5896ad /math/atlas
parentb9083362fb2f76063c5a568f0a6e793204c55cc0 (diff)
downloadports-8b77f79ccd344fac42d21288c14311fa44785021.tar.gz
ports-8b77f79ccd344fac42d21288c14311fa44785021.zip
Notes
Diffstat (limited to 'math/atlas')
-rw-r--r--math/atlas/files/patch-config.c8
1 files changed, 8 insertions, 0 deletions
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") ||