40 Commits

Author SHA1 Message Date
Nicholas Nethercote
b05a2a18d7 This commit merges the BUILD_TWEAKS branch onto the trunk. It has the
following improvements:

- Arch/OS/platform-specific files are now included/excluded via the
  preprocessor, rather than via the build system.  This is more consistent
  (we use the pre-processor for small arch/OS/platform-specific chunks
  within files) and makes the build system much simpler, as the sources for
  all programs are the same on all platforms.

- Vast amounts of cut+paste Makefile.am code has been factored out.  If a
  new platform is implemented, you need to add 11 extra Makefile.am lines.
  Previously it was over 100 lines.

- Vex has been autotoolised.  Dependency checking now works in Vex (no more
  incomplete builds).  Parallel builds now also work.  --with-vex no longer
  works;  it's little use and a pain to support.  VEX/Makefile is still in
  the Vex repository and gets overwritten at configure-time;  it should
  probably be renamed Makefile-gcc to avoid possible problems, such as
  accidentally committing a generated Makefile.  There's a bunch of hacky
  copying to deal with the fact that autotools don't handle same-named files
  in different directories.  Julian plans to rename the files to avoid this
  problem.

- Various small Makefile.am things have been made more standard automake
  style, eg. the use of pkginclude/pkglib prefixes instead of rolling our
  own.

- The existing five top-level Makefile.am include files have been
  consolidated into three.

- Most Makefile.am files now are structured more clearly, with comment
  headers separating sections, declarations relating to the same things next
  to each other, better spacing and layout, etc.

- Removed the unused exp-ptrcheck/tests/x86 directory.

- Renamed some XML files.

- Factored out some duplicated dSYM handling code.

- Split auxprogs/ into auxprogs/ and mpi/, which allowed the resulting
  Makefile.am files to be much more standard.

- Cleaned up m_coredump by merging a bunch of files that had been
  overzealously separated.

The net result is 630 fewer lines of Makefile.am code, or 897 if you exclude
the added Makefile.vex.am, or 997 once the hacky file copying for Vex is
removed.  And the build system is much simpler.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10364
2009-06-24 00:37:09 +00:00
Nicholas Nethercote
cd689f75c5 Nightly test changes:
- Put the old tree in valgrind-old/ and the new one in valgrind-new/,
  instead of using valgrind/ for both.  That way, the old tree is still
  present after running the tests, so it can be inspected for problems.

  This required changing how ABT_RUN_REGTEST worked -- it no longer should
  change directories itself -- but I think Bart's machine is the only one
  using that and I updated the .conf file accordingly.

- Change some variable names -- only use the "ABT_" prefix for variables
  defined in the .conf files, and use $DIR and $TAG to match the README.txt.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10248
2009-06-04 23:17:12 +00:00
Nicholas Nethercote
32e4f096ab Print the end time as well as the start time so it's easy to see how long it
took.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10240
2009-06-04 02:25:39 +00:00
Nicholas Nethercote
fff69610e4 Add a couple of notes based on an email from Bart.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10239
2009-06-04 01:52:14 +00:00
Nicholas Nethercote
7caba62683 Fixes for Darwin: it uses a different method for getting the time-and-date
for 24 hours ago.  Also, the default 'sh' doesn't support "echo -n" so use
"printf" instead.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10238
2009-06-04 01:43:49 +00:00
Nicholas Nethercote
6109470123 Greatly improve the instructions for the nightly tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10237
2009-06-04 01:30:14 +00:00
Nicholas Nethercote
f8c50a8c4e Two tweaks:
- Install in $DIR/valgrind/Inst/ rather than $DIR/Inst.  Just a bit neater.
- Run "make regtest" instead of "perl tests/vg_regtest --all", because we
  might not want to run all tests (eg. we don't on Darwin at the moment).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10236
2009-06-04 01:01:47 +00:00
Bart Van Assche
affb63017a Updated cross-compilation nightly build config files (not in use at this time).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9708
2009-05-01 06:54:43 +00:00
Bart Van Assche
be5957ae68 Only run the nightly build if there was a commit during the last 24 hours.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9646
2009-04-27 08:04:57 +00:00
Bart Van Assche
45e9cf6f75 Fixed typo in usage instructions: replaced bin/night by bin/nightly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9519
2009-04-05 11:02:29 +00:00
Nicholas Nethercote
6804f95a33 Tweaks to the 'nightly' script and docs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9349
2009-03-10 22:33:29 +00:00
Nicholas Nethercote
e928f54451 Change 'nightly' to print "(unchanged)" at the start of the email subject
line if the results are unchanged from 24 hours ago.  Makes it easier to see
(or filter) if results are unchanged.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9334
2009-03-10 03:38:05 +00:00
Bart Van Assche
04b3adc403 Updated cellbuzz configuration according to the changes made during the big upgrade of the Cellbuzz cluster in February 2009.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9203
2009-02-19 14:59:48 +00:00
Bart Van Assche
cb24e80c3d Compress the file passed as the third argument before attaching it to the outgoing e-mail.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8948
2009-01-13 09:22:19 +00:00
Bart Van Assche
f57314246f Changed single recipient into a list of recipients and fixed mutt subject and attachment arguments.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8941
2009-01-12 13:06:47 +00:00
Bart Van Assche
f2742101fa Added to repository.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8940
2009-01-12 12:52:36 +00:00
Bart Van Assche
baa4b0ca89 Made sure that all diff files are processed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8939
2009-01-12 11:06:05 +00:00
Bart Van Assche
eb426293ac Updated machine details.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8938
2009-01-12 11:04:42 +00:00
Bart Van Assche
8b5dc4248f Added new nightly build configuration variable: ABT_EVAL.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8937
2009-01-12 08:23:15 +00:00
Bart Van Assche
f58db8bb3a Renamed georgia-tech-cellbuzz.* to georgia-tech-cellbuzz-cross.*.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8934
2009-01-11 19:01:12 +00:00
Bart Van Assche
7ed5c0529e Sort file names alphabetically before processing the diff files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8924
2009-01-08 13:29:51 +00:00
Nicholas Nethercote
9019865c4a trunk/nightly/bin/nightly
Use '.' instead of 'source', because that's how /bin/sh does it.  This
    should make the script more reliable on systems that don't have bash as
    the /bin/sh, eg. Ubuntu and Debian.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8920
2009-01-08 06:24:13 +00:00
Nicholas Nethercote
601bead1f6 trunk/nightly/bin/nightly
Be POSIXy.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8916
2009-01-07 08:08:41 +00:00
Nicholas Nethercote
72e5540cd0 Index: nightly/bin/nightly
- Check that it is passed two arguments, abort if not (avoids some
      possibly confusing behaviour).
    - Remove various uses of $ABT_TOP in paths; it's not necessary because
      the first thing the script does is 'cd' to $ABT_TOP.  Furthemore, some
      paths lacked the $ABT_TOP which was confusing.
    - Gather up all the diffs from the tests, grab the first 100 lines (or
      less, if shorter) of each, and concatenate into a file, the name of
      which is passed to the <tag>.sendmail script so it can be attached.

Index: nightly/README.txt
    Explain the new 3rd argument.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8915
2009-01-07 06:19:03 +00:00
Nicholas Nethercote
9ad4964c5b trunk/nightly/bin/nightly
Use '=' instead of '==', which is a bash-ism that doesn't work on
    Debian/Ubuntu systems that have dash installed as /bin/sh.  It only
    mildly affected the script's running -- it made it say that certain
    stages failed when really they didn't.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8914
2009-01-07 04:47:20 +00:00
Nicholas Nethercote
af6908d764 Comment-only changes.
trunk/nightly/bin/nightly
trunk/nightly/README.txt
    Greatly improved the description of how to use this script;  a user now
    has a fighting chance of using the script without actually reading it.

trunk/nightly/conf/nemesis.sendmail
trunk/nightly/conf/georgia-tech-cellbuzz.sendmail
    Clarified the usage comments.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8913
2009-01-07 04:14:42 +00:00
Julian Seward
cf3bb82242 Don't apply cross-compilation patch during the nightly build any more,
as it's no longer necessary.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8840
2008-12-18 08:33:24 +00:00
Bart Van Assche
8669f1c7fb Added a note explaining that the code in this file is interpreted by more than one shell.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8600
2008-09-11 15:03:59 +00:00
Bart Van Assche
8ca34a90ec Make sure that stderr redirection works both with bash and tcsh.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8597
2008-09-10 09:07:52 +00:00
Bart Van Assche
fdececd185 - Added support for the variable ABT_JOBS, number of jobs to run in parallel.
- Added support for the variable ABT_RUN_REGTEST, the command to run the regression tests.
- Added support for the variable ABT_CONFIGURE_OPTIONS, such that extra command line options
  can be passed to the configure script.
- Cross-compilation patch is applied after source code checkout and before the source code is
  compiled.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8588
2008-09-08 18:43:53 +00:00
Bart Van Assche
40439935c0 Added configuration files for Georgia Tech's Cellbuzz cluster.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8587
2008-09-08 18:39:38 +00:00
Julian Seward
6ff3f3bc8f Track top level Makefile.am changes in r7390.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7394
2008-02-11 10:56:12 +00:00
Julian Seward
1e888cfd02 Make a new regtest target, "all-regtest", being the union of "make
regtest" and "make exp-regtest".  Then change the nightly build system
to run all-regtest instead of exp-regtest.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7332
2008-01-09 21:03:43 +00:00
Nicholas Nethercote
09445ab9b2 Make the nightly script say early on if the results have changed in
the last 24 hours.  This saves you from having to scroll down to
determine this when the number of failures is large (eg on PPC).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4431
2005-08-16 03:28:47 +00:00
Tom Hughes
f8a787d602 There is no need to checkout and build VEX separately now.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4278
2005-07-27 07:37:41 +00:00
Nicholas Nethercote
67201c21b9 Improve script to compare the current code with that from 24 hours ago,
and print the diff if they aren't the same.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4224
2005-07-21 21:26:07 +00:00
Tom Hughes
aef0e2326c Run "make all" before "make install" as older versions of automake
don't put a dependency between the install target and $(BUILT_SOURCES)
so doing a straight install doesn't work.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3494
2005-04-01 08:07:54 +00:00
Tom Hughes
88222c8e7c Rework the nightly build script to stop as soon as one of the build
steps fails instead of carrying on with the other steps - this should
help ensure that the log fragment sent out contains useful information.

A second change is to ensure that if the regression tests complete
then the full results are included in the email - if they don't
complete then just the last 20 lines of output are sent as before.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3491
2005-03-31 10:19:59 +00:00
Tom Hughes
c34ba5aa3b Fix overnight build script to use subversion to get the source and
to handle needing to checkout and build vex before valgrind.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3471
2005-03-29 07:54:30 +00:00
Julian Seward
d1d5001b9c Add the nightly build scripts.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2270
2004-02-25 13:14:39 +00:00