Changeset 725d7ee in rtems-testing


Ignore:
Timestamp:
Jan 12, 2009, 6:14:26 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
ce3de76
Parents:
13608a9
Message:

2009-01-12 Joel Sherrill <joel.sherrill@…>

  • README: Add information about checking out writeable copies of the tools.
  • VERSIONS: Switch to directory structure most commonly used.
  • test_driver: Add beginnings of having pieces optional so eventually command line arguments can be added.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r13608a9 r725d7ee  
     12009-01-12      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * README: Add information about checking out writeable copies
     4        of the tools.
     5        * VERSIONS: Switch to directory structure most commonly used.
     6        * test_driver: Add beginnings of having pieces optional so eventually
     7        command line arguments can be added.
     8
    192009-01-09      Joel Sherrill <joel.sherrill@oarcorp.com>
    210
  • README

    r13608a9 r725d7ee  
    5656mkdir binutils-cvs
    5757cd binutils-cvs
    58 cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co binutils
     58READ ONLY: cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co binutils
     59WRITE: CVS_RSH=ssh cvs -d :ext:joel@sourceware.org:/cvs/src co -P binutils
    5960cd ..
    6061
     
    6263mkdir newlib-cvs
    6364cd newlib-cvs
    64 cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co newlib
     65READ ONLY: cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co newlib
     66WRITE: CVS_RSH=ssh cvs -d :ext:joel@sourceware.org:/cvs/src co -P newlib
    6567cd ..
    6668
     
    6870mkdir gdb-cvs
    6971cd gdb-cvs
    70 cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co gdb
     72READ ONLY: cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co gdb
     73WRITE: CVS_RSH=ssh cvs -d :ext:joel@sourceware.org:/cvs/src co -P gdb
    7174cd ..
    7275
    7376# gcc
    74 svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc-svn
     77READ ONLY: svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc-svn
     78WRITE      svn co svn+ssh://joel@gcc.gnu.org/svn/gcc/trunk gcc-svn
    7579
    7680# symlink newlib into gcc-svn
  • VERSIONS

    r13608a9 r725d7ee  
    11# USE FULL PATHS!!!
    2 BASEDIR=/home/joel/work-gnat/svn/
     2BASEDIR=${HOME}/test-gcc
    33
    44RTEMS_VERSION=4.10
     
    88GCCDIR=${BASEDIR}/gcc-svn
    99BINUTILSDIR=${BASEDIR}/binutils-cvs/src
    10 NEWLIBDIR=${BASEDIR}/newlib-cvs/
     10NEWLIBDIR=${BASEDIR}/newlib-cvs/src
    1111GDBDIR=${BASEDIR}/gdb-cvs/src
    1212RTEMSDIR=${BASEDIR}/rtems
    1313
    1414# These things vary between the GCC CFARM Debian and OAR Fedora test machines
     15# TODO: It would be good to probe to figure this out.
    1516case `hostname` in
    1617  gcc*)
     
    2829esac
    2930
     31# Specify the desired parallelism based upon the host name.
     32# TODO: It would be good to probe to figure this out.
    3033case `hostname` in
    3134  RTBF32|RTBF64)
  • test_driver

    r13608a9 r725d7ee  
    2323
    2424BASEDIR=`pwd`
     25
     26### TODO: Parse arguments to get these
     27doCleanInstallPoint="yes"
     28doUpdateTools=yes
     29doUpdateRTEMS=yes
     30doNative=yes
    2531
    2632# HELPER - Update RTEMS
     
    133139}
    134140
    135 # Clean the install point
    136 clean_up
     141if [ ${doCleanInstallPoint} = "yes" ] ; then
     142  # Clean the install point
     143  clean_up
     144fi
    137145
    138146# Update gcc and install autotools in parallel
    139 install_auto &
    140 update_gcc &
    141 update_others &
     147  if [ ${doCleanInstallPoint} = "yes" ] ; then
     148    install_auto &
     149  fi
     150  if [ ${doUpdateTools} = "yes" ] ; then
     151    update_gcc &
     152    update_others &
     153  fi
    142154wait
    143155
    144156# Do any remaining prep work in parallel
    145 update_rtems &
     157  if [ ${doUpdateRTEMS} = "yes" ] ; then
     158    update_rtems &
     159  fi
    146160wait
    147161
    148162# Build the native compiler as a baseline to build the others
    149 time sh -x ${SCRIPTDIR}/do_one -n >native.log 2>&1
     163  if [ ${doNative} = "yes" ] ; then
     164    time sh -x ${SCRIPTDIR}/do_one -n >native.log 2>&1
     165  fi
    150166
    151167# Now cycle over all these CPUs
Note: See TracChangeset for help on using the changeset viewer.