From 4b185e7f372afed4c33fca2293b15f87c2f62de5 Mon Sep 17 00:00:00 2001 From: allen Date: Wed, 30 Apr 2003 14:20:24 +0000 Subject: 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 --- lib/make/known-architectures/irix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/make/known-architectures/irix') 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 -- cgit v1.2.3