summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures/irix
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-04-30 14:20:24 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-04-30 14:20:24 +0000
commit4b185e7f372afed4c33fca2293b15f87c2f62de5 (patch)
treeec32f51500c9c55d30d19324e11d8773d33787bb /lib/make/known-architectures/irix
parent6da68b54316dba9a67ea88f7d61d2db5d74de3b2 (diff)
Rename CCTK_L2_CACHE_SIZE to CCTK_CACHE_SIZE and
CCTK_L2_CACHELINE_BYTES to CCTK_CACHELINE_BYTES to reflect the fact that for now we set these up to be the most appropriate cache size to track (usually either L2 or L3) This is hopefully added such that people don't need to reconfigure right away, but the old macros will be removed in Beta 14. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3204 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/irix')
-rw-r--r--lib/make/known-architectures/irix16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/make/known-architectures/irix b/lib/make/known-architectures/irix
index 30f824ca..06fcdf72 100644
--- a/lib/make/known-architectures/irix
+++ b/lib/make/known-architectures/irix
@@ -6,7 +6,7 @@
# @desc
# Known architectures file for SGI Irix systems
# @enddesc
-# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/irix,v 1.37 2003-02-12 15:33:47 tradke Exp $
+# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/irix,v 1.38 2003-04-30 14:20:24 allen Exp $
# @@*/
if test "$CCTK_CONFIG_STAGE" = 'preferred-compilers' ; then
@@ -146,18 +146,18 @@ else
: ${F77_WARN_FLAGS='-fullwarn'}
# Cache stuff
- if test -z "$L2_CACHELINE_BYTES" ; then
- L2_CACHELINE_BYTES=128
- echo "Setting L2_CACHELINE_BYTES to $L2_CACHELINE_BYTES"
+ if test -z "$CACHELINE_BYTES" ; then
+ CACHELINE_BYTES=128
+ echo "Setting CACHELINE_BYTES to $CACHELINE_BYTES"
fi
- if test -z "$L2_CACHE_SIZE" ; then
+ if test -z "$CACHE_SIZE" ; then
TEMP_CACHE_SIZE="`hinv | perl -ne 'if (m/Secondary.*cache/) { s/^.*: (.*)( on P.*)?$/$1/ ; s/ Mbyte.*/\*1024/ ; s/ Kbyte.*//; print}' | sort | head -n1`"
if test -n "$TEMP_CACHE_SIZE" ; then
- L2_CACHE_SIZE="$TEMP_CACHE_SIZE*1024"
- echo "Setting L2_CACHE_SIZE to $L2_CACHE_SIZE bytes"
+ CACHE_SIZE="$TEMP_CACHE_SIZE*1024"
+ echo "Setting CACHE_SIZE to $CACHE_SIZE bytes"
else
- echo 'Unable to determine L2 Cache size on this machine.'
+ echo 'Unable to determine Cache size on this machine.'
fi
fi