From b7c7e3b466e1407dc98e3e6f29fb29485ceb4328 Mon Sep 17 00:00:00 2001 From: goodale Date: Thu, 25 Feb 1999 18:42:12 +0000 Subject: Prototype irix configuration files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@348 17b73243-c579-4c4c-a9d2-2d5706c11dac --- lib/make/known-architectures/irix | 54 ++++++++++++++++++++++++++++++++++++ lib/make/known-architectures/irix6.2 | 12 ++++++++ lib/make/known-architectures/irix6.4 | 12 ++++++++ lib/make/known-architectures/irix6.5 | 12 ++++++++ 4 files changed, 90 insertions(+) create mode 100644 lib/make/known-architectures/irix create mode 100644 lib/make/known-architectures/irix6.2 create mode 100644 lib/make/known-architectures/irix6.4 create mode 100644 lib/make/known-architectures/irix6.5 (limited to 'lib') diff --git a/lib/make/known-architectures/irix b/lib/make/known-architectures/irix new file mode 100644 index 00000000..f69c71a2 --- /dev/null +++ b/lib/make/known-architectures/irix @@ -0,0 +1,54 @@ +#! /bin/sh +# /*@@ +# @file irix +# @date Thu Feb 25 12:20:53 1999 +# @author Tom Goodale +# @desc +# +# @enddesc +# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/irix,v 1.1 1999-02-25 18:42:12 goodale Exp $ +# @@*/ + +IRIX_CPU="hinv | grep CPU | sed 's/^[^R]*R\([01-9]*\).*$/\1/'" + +case "$IRIX_CPU:$CC" in + 10000:gcc) + CFLAGS="$CFLAGS -mips4" + ;; + 10000:cc) + CFLAGS="$CFLAGS -O3 -64 -mips4 -r10000" + CXXFLAGS="$CFLAGS -O2 -64 -mips4 -r10000" + ;; + *) + ;; +esac + +case "$IRIX_CPU:$CC" in + 10000:c++) + CXXFLAGS="$CXXFLAGS -mips4" + ;; + *) + ;; +esac + +case "$IRIX_CPU" in + 10000) + F90FLAGS="$F90FLAGS -O3 \ + -OPT:roundoff=3:IEEE_arithmetic=3:const_copy_limit=100000 \ + -r10000 -TARG:proc=r10000 \ + -64 -mips4" + F77FLAGS="$F90FLAGS" + ;; + *) + ;; +esac + +case "$IRIX_CPU:$LD" in + 10000:c++) + LDFLAGS="$LDFLAGS -mips4" + 10000:CC) + LDFLAGS="$LDFLAGS -64 -Wl,\"-woff 84\",\"-woff 85\"" + ;; + *) + ;; +esac diff --git a/lib/make/known-architectures/irix6.2 b/lib/make/known-architectures/irix6.2 new file mode 100644 index 00000000..622e60ea --- /dev/null +++ b/lib/make/known-architectures/irix6.2 @@ -0,0 +1,12 @@ +#! /bin/sh +# /*@@ +# @file irix6.2 +# @date Thu Feb 25 12:38:45 1999 +# @author Tom Goodale +# @desc +# +# @enddesc +# @version $Header$ +# @@*/ + +. $scrdir/known-architectures/irix diff --git a/lib/make/known-architectures/irix6.4 b/lib/make/known-architectures/irix6.4 new file mode 100644 index 00000000..66e49d0c --- /dev/null +++ b/lib/make/known-architectures/irix6.4 @@ -0,0 +1,12 @@ +#! /bin/sh +# /*@@ +# @file irix6.4 +# @date Thu Feb 25 12:38:45 1999 +# @author Tom Goodale +# @desc +# +# @enddesc +# @version $Header$ +# @@*/ + +. $scrdir/known-architectures/irix diff --git a/lib/make/known-architectures/irix6.5 b/lib/make/known-architectures/irix6.5 new file mode 100644 index 00000000..7efd3fe6 --- /dev/null +++ b/lib/make/known-architectures/irix6.5 @@ -0,0 +1,12 @@ +#! /bin/sh +# /*@@ +# @file irix6.5 +# @date Thu Feb 25 12:38:45 1999 +# @author Tom Goodale +# @desc +# +# @enddesc +# @version $Header$ +# @@*/ + +. $scrdir/known-architectures/irix -- cgit v1.2.3