summaryrefslogtreecommitdiffstats
path: root/VERSIONS
blob: 23427572c74ac670cdd79f6c1c72cc4590d43359 (plain) (blame)
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
58
59
# USE FULL PATHS!!!
BASEDIR=${HOME}/test-gcc

RTEMS_VERSION=4.11

#GCC_VERSION=4.5-branch
GCC_VERSION=svn
#GCC_VERSION=4.4.5
#GCC_VERSION=4.3.4
#GCC_VERSION=4.5.1
#GCC_VERSION=go

# NOTE: 2.63 for 4.4 and lower?
case ${GCC_VERSION} in
  *4.[32]*)  AUTOCONF=${BASEDIR}/autoconf-2.63 ;;
  *4.[45]*)  AUTOCONF=${BASEDIR}/autoconf-2.67 ;;
  *)         AUTOCONF=${BASEDIR}/autoconf-2.68 ;;
esac
AUTOMAKE=${BASEDIR}/automake-1.11.1
GCCDIR=${BASEDIR}/gcc-${GCC_VERSION}
BINUTILSDIR=${BASEDIR}/binutils-cvs/src
#BINUTILSDIR=${BASEDIR}/binutils-2.20.1
NEWLIBDIR=${BASEDIR}/newlib-cvs/src
#NEWLIBDIR=${BASEDIR}/newlib-1.18.0
GDBDIR=${BASEDIR}/gdb-cvs/src
#GDBDIR=${BASEDIR}/gdb-7.1
RTEMSDIR=${BASEDIR}/rtems
PPL=${BASEDIR}/ppl-0.11

# These are inferred from above but double check
INSTALL=${BASEDIR}/install-${GCC_VERSION}
BSP_INSTALL=${INSTALL}
#BSP_INSTALL=${BASEDIR}/bsp-install
SCRIPTDIR=${BASEDIR}/rtems-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*)
    if [ x${PPL} != x ] ; then
      NATIVE_GCC_EXTRA_ARGS="--with-ppl=${INSTALL}"
      GCC_EXTRA_ARGS="--with-ppl=${INSTALL}"
      export LD_LIBRARY_PATH=${INSTALL}/lib
    fi
    ;;
  *)
    echo "UNKNOWN HOST!!!"
    exit 1
    ;;
esac

# Specify the desired parallelism
MAKEJOBS="-j`/usr/bin/getconf _NPROCESSORS_ONLN`"