436 Commits

Author SHA1 Message Date
Chris Johns
adf09460a2 Report from the setbuilder's build config.
Refactor the reporter to allow the setbuilder to use its build config
rather than regenerating the configuration from the configuration file.
Using the config file and the build macros exposed an issue if a
macro was undefined that was defined in a build set above the
config file. Using the build set's configuration as used to build
is a better solution.

The reporter was refactored to allow a config class to be used
to report.

The setbuild can now take a configuration file as an input file.
2013-04-29 09:01:14 +10:00
Chris Johns
8837860347 Add a function to return the config file name. 2013-04-29 08:59:53 +10:00
Chris Johns
0ed876c0a9 Do not run any download type functions if performing a dry-run. 2013-04-29 08:58:01 +10:00
Chris Johns
055e4906ef Fix the report command. Only output if an outname is given. 2013-04-28 16:10:02 +10:00
Chris Johns
22afed354e Fix the trace message for _disable. 2013-04-28 15:51:51 +10:00
Chris Johns
bd26be04c7 Fix the arguments to the locking map. All maps are locked out. 2013-04-28 15:30:39 +10:00
Chris Johns
bf23399a8c Add a grep function and timestamp.
Fix the acinclude.m4.
2013-04-27 21:56:33 +10:00
Chris Johns
e879c9fe49 Add a faster bootstrap for RTEMS.
This is a threading dispatcher to bootstrap RTEMS using the
available cores rather than the sequential standard script.
2013-04-27 20:30:15 +10:00
Chris Johns
517f03669c Add '%disable select' to turn off the macros maps. 2013-04-27 20:26:49 +10:00
Chris Johns
dbede7322b Make _sbdir absolute. Add locks to read maps.
Add locks to the read maps to support disabling the select command.

Make the _sbdir etc absolute to let it be referenced from anywhere.
2013-04-27 20:23:35 +10:00
Chris Johns
624954ba0b Add macro include support. Use it for building from head.
This change provides a simple way to build all parts of the tools from
version control.
2013-04-26 12:05:53 +10:00
Chris Johns
8f309979dc Add binutils support for snapshot builds. 2013-04-26 12:05:13 +10:00
Chris Johns
9cce399150 Default to cvs with -z 9. 2013-04-26 12:04:39 +10:00
Chris Johns
a202f3e023 Add SuSE variations. 2013-04-25 17:50:08 +10:00
Chris Johns
9cf846d2a5 Remove all patches. 2013-04-25 16:50:34 +10:00
Chris Johns
40fec60c2a Update for Fedora 17 changes. 2013-04-25 15:30:48 +10:00
Chris Johns
8029c99b40 Undefine all possible patches. 2013-04-25 15:06:44 +10:00
Chris Johns
c65b9eb7ec Change the CVS download path to include the module and tag/date. 2013-04-25 15:06:20 +10:00
Chris Johns
9131a562ee Move the common snapshots to the common config tree. Add gdb. 2013-04-24 17:32:49 +10:00
Chris Johns
97458480d7 Add touch for Redhat hosts. 2013-04-24 16:19:09 +10:00
Chris Johns
86b2b4fe63 Add support to check for a valid autoconf for RTEMS. 2013-04-23 16:03:25 +10:00
Chris Johns
1869040e16 Fix the path for a CVS checkout. 2013-04-23 11:41:49 +10:00
Chris Johns
f077b2b190 Fixes for CVS to work. Add RTEMS build for sparc/sis. 2013-04-22 22:28:27 +10:00
Chris Johns
5f44fcdd1b Fix CVS downloads. 2013-04-21 21:43:17 +10:00
Chris Johns
5142becd8e Refactor the logging support. 2013-04-21 18:37:02 +10:00
Chris Johns
29a300a766 Fix the ZIP label. 2013-04-20 21:51:10 +10:00
Chris Johns
4ce931b413 Add CVS download support.
These changes complete the CVS download support.
2013-04-20 21:47:28 +10:00
Chris Johns
fd5042a1c4 Support multiple read maps.
A build could require more than one map to be active at once. This
change allows more than one map to be set. An example is gcc and
newlib. Having separate maps allows a user to control which part
they test.
2013-04-20 21:42:39 +10:00
Chris Johns
b0c2756190 Clean up the git module. 2013-04-16 17:41:31 +10:00
Chris Johns
200f0a33b6 Add a CVS module to manage CVS. 2013-04-16 17:39:48 +10:00
Chris Johns
f8bdb41bef Minor clean up. 2013-04-16 14:57:27 +10:00
Chris Johns
82e9f91ccf Add the --regression option. 2013-04-16 14:42:05 +10:00
Chris Johns
649a64c0af Add download git support.
Add support to use a git cloned repo as the source. Move the download
code out of the build module and into a separate module. Add to this
module support for git.

Update the GCC common configuration to support using a symlinked
git repo.

Add checks for all languages.
2013-04-16 14:28:34 +10:00
Chris Johns
64f337bdfc No specific static libraries. 2013-04-15 13:47:15 +10:00
Chris Johns
b8ee74d356 Add a %testing section to the configuration files. 2013-04-15 13:26:36 +10:00
Chris Johns
2cc7a974a5 PR 2117 - Only check the prefix is writable if installing and not a dry run. 2013-04-15 12:16:26 +10:00
Chris Johns
ff91af27c3 Add _forced_static to the default.
This is used in the configuration scripts to specify which
libraries you want to be linked as static. For gdb this is
libexpat which is built as part of most build sets.
2013-04-15 11:45:00 +10:00
Chris Johns
255e032bab PR 2115 - Fix checking when the path does not fully exist. 2013-04-15 11:15:01 +10:00
Chris Johns
c95c2456a4 PR 2116 - Fix the option parsing to handle both ' ' and '='. 2013-04-15 10:13:43 +10:00
Chris Johns
9994530920 PR 2115 - Check prefix path write access before starting to build.
Added a check in the options post processing to check is the
prefix path allows writes. No actual write check is made. just
the permissions are checked. If the --no-install options is
used the check is not made.

Moved the --no-install option from the set builder to the options
module.
2013-04-15 10:05:23 +10:00
Chris Johns
8508944647 PR 2115 - Fixed the exception on no 'what'. 2013-04-15 09:48:42 +10:00
Chris Johns
5e02e80d5a Add --no-download to disable the downloader. 2013-04-15 09:48:42 +10:00
Chris Johns
e45a2e4b1d Bug fix the list name. 2013-04-14 07:54:58 +10:00
Chris Johns
0565e1fa4b Add support for snapshot testing.
User macro files passed on the command line allow a user to
override the defaults in configuration files to test new changes
in pending releases.

Fix macros issues with keys with more than one map.
2013-04-13 18:29:30 +10:00
Chris Johns
667255cb77 Fix options bug when the macro file is not found. 2013-04-13 14:30:22 +10:00
Chris Johns
9384fbad86 Add setecting a snapshot package. 2013-04-13 10:42:04 +10:00
Chris Johns
7ed2835f8e Hack in sources and print the macros when tracing. 2013-04-13 10:41:40 +10:00
Chris Johns
51b40617d2 Provide a better error message. 2013-04-13 10:41:00 +10:00
Chris Johns
376aabf5e4 Another defines bug fix. 2013-04-13 10:39:02 +10:00
Chris Johns
5c7b1ef1e7 Package data into macro, sources from macro and a bug fix.
Package descritions and info and now always added to macros.

Hack to get the source in macros into the source this. This needs
to move to the package class and will soon.

Fix a bug where the old defines was still referenced.
2013-04-13 10:34:47 +10:00