diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-05-15 17:17:48 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-05-15 17:17:48 +0000 |
commit | 7c9b4b92dfd87d12175e61c7d80661b29ddbda3f (patch) | |
tree | d854f530205a3fdaa0ee7d6e2db14f8f601968fa /lib/make/known-architectures/openbsd | |
parent | c012cdbda0037f71b3f215fdc304f24308f37e0b (diff) |
The known-arch stuff for OpenBSD. Thanks to Jonathan Thornberg.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2816 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/openbsd')
-rw-r--r-- | lib/make/known-architectures/openbsd | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/lib/make/known-architectures/openbsd b/lib/make/known-architectures/openbsd new file mode 100644 index 00000000..71fad03e --- /dev/null +++ b/lib/make/known-architectures/openbsd @@ -0,0 +1,41 @@ +#! /bin/sh +# /*@@ +# @file openbsd +# @date Wed May 15 18:45:49 CEST 2002 +# @author Jonathan Thornburg +# @desc +# generic known-architectures file for all versions of OpenBSD +# @enddesc +# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/openbsd,v 1.1 2002-05-15 17:17:47 tradke Exp $ +# @@*/ + +if test "$CCTK_CONFIG_STAGE" = "preferred-compilers" ; then + +: + +else + + ARFLAGS=-ruc + USE_RANLIB=yes + RANLIBFLAGS= + + # Cache stuff + # ... there doesn't seem to be any way to find out the cache size + # under OpenBSD -- JT will ask about this on the OpenBSD mailing lists + if test -z "$L2_CACHELINE_BYTES" ; then + L2_CACHELINE_BYTES=0 + echo "Setting L2_CACHELINE_BYTES to $L2_CACHELINE_BYTES" + fi + + if test -z "$L2_CACHE_SIZE" ; then + L2_CACHE_SIZE="0*1024" + echo "Setting L2_CACHE_SIZE to $L2_CACHE_SIZE bytes" + fi + + + # MPI stuff + # + # OpenBSD has no native MPI, so we don't set any NATIVE_MPI_XXX variables. + # This is caught by lib/make/extras/MPI/NATIVE then. + +fi |