diff options
Diffstat (limited to 'lib/make/known-architectures/irix')
-rw-r--r-- | lib/make/known-architectures/irix | 16 |
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 |