summaryrefslogtreecommitdiff
path: root/VERSIONS
blob: 95a1865c145a481dcd9708cd3ba87f734ebc5b03 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# USE FULL PATHS!!!
BASEDIR=${HOME}/test-gcc

RTEMS_VERSION=4.10

GCC_VERSION=svn
#GCC_VERSION=4.4.1
#GCC_VERSION=4.3.4

# NOTE: 2.63 for 4.4 and lower?
case ${GCC_VERSION} in
  4.[432]*)   AUTOCONF=${BASEDIR}/autoconf-2.63 ;;
  *)          AUTOCONF=${BASEDIR}/autoconf-2.64 ;;
esac
AUTOMAKE=${BASEDIR}/automake-1.10.2
GCCDIR=${BASEDIR}/gcc-${GCC_VERSION}
BINUTILSDIR=${BASEDIR}/binutils-cvs/src
#NEWLIBDIR=${BASEDIR}/newlib-cvs/src
NEWLIBDIR=${BASEDIR}/newlib-1.17.0
GDBDIR=${BASEDIR}/gdb-cvs/src
RTEMSDIR=${BASEDIR}/rtems

# These are inferred from above but double check
INSTALL=${BASEDIR}/install-${GCC_VERSION}
BSP_INSTALL=${INSTALL}
#BSP_INSTALL=${BASEDIR}/bsp-install
SCRIPTDIR=${BASEDIR}/gcc-testing
LOGDIR=${BASEDIR}/log
RESULTSDIR=${BASEDIR}/results-trunk

# These things vary between the GCC CFARM Debian and OAR Fedora test machines
# TODO: It would be good to probe to figure this out.
case `hostname` in
  gcc*)
    NATIVE_GCC_EXTRA_ARGS="--with-mpfr=/opt/cfarm/mpfr-2.3.1/"
    GCC_EXTRA_ARGS="--with-mpfr=/opt/cfarm/mpfr-2.3.1/"
    ;;
  rtbf32a|rtbf64*|iceland*|*oarcorp*)
    NATIVE_GCC_EXTRA_ARGS=""
    GCC_EXTRA_ARGS=""
    ;;
  *)
    echo "UNKNOWN HOST!!!"
    exit 1
    ;;
esac

# Specify the desired parallelism based upon the host name.
# TODO: It would be good to probe to figure this out.
case `hostname` in
  rtbf32|rtbf64)
    MAKEJOBS="-j3"
    ;;
  *)
    MAKEJOBS="-j3"
    ;;
esac