summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/make/known-architectures/openbsd41
-rw-r--r--lib/make/known-architectures/openbsd3.012
2 files changed, 53 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
diff --git a/lib/make/known-architectures/openbsd3.0 b/lib/make/known-architectures/openbsd3.0
new file mode 100644
index 00000000..cd9b6f59
--- /dev/null
+++ b/lib/make/known-architectures/openbsd3.0
@@ -0,0 +1,12 @@
+#! /bin/sh
+# /*@@
+# @file openbsd3.0
+# @date Wed May 15 18:45:49 CEST 2002
+# @author Jonathan Thornburg
+# @desc
+# known-architectures file for OpenBSD 3.0
+# @enddesc
+# @version $Header$
+# @@*/
+
+. $srcdir/known-architectures/openbsd