summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures/freebsd
blob: 033792974284ce583dad20c17b82ca07ee81a9a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#! /bin/sh
# /*@@
#   @file    freebsd
#   @date    Tue 20 Jan 2004
#   @author  Thomas Radke
#   @desc
#            generic known-architectures file for all versions of FreeBSD
#   @enddesc
#   @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/freebsd,v 1.1 2004-01-20 13:08:10 tradke Exp $
# @@*/

if test "$CCTK_CONFIG_STAGE" = "preferred-compilers" ; then

:

else

  # Fortran code needs g2c library
  : ${LIBS='g2c m'}

  ARFLAGS=-ruc
  USE_RANLIB=yes
  RANLIBFLAGS=

  # Cache stuff
  # there doesn't seem to be any way to find out the cache size under OpenBSD
  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
  #
  # FreeBSD 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