summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/setbuilder.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sb/set-bulder: Fix installing builds when a single buildsetChris Johns2022-10-011-8/+7
| | | | | | | | - Always stage a build - Install if installable and outter most buildset instance Closes #4730
* sb/set-builder: Fix staging and tar file generation with a single config buildChris Johns2022-09-291-16/+6
| | | | Closes #4730
* sb/setbuilder: Install the build when stagging or configured to installChris Johns2022-09-161-3/+6
|
* sb/setbuilder: Do not install if --no-install option is usedChris Johns2022-09-141-1/+2
| | | | - This is a bug introduced in the recent bset tar file changes
* sb/setbuilder: Correctly create build set tar filesChris Johns2022-09-091-22/+36
| | | | | | | | | | - Make a single tarfile for all buildsets built - Use the staging tree as the tarfile source - Use python's tarfile module - Create a config.file object without loading a .cfg file
* sb/setbuilder: Support line continuationChris Johns2022-09-091-1/+13
|
* sb/setbuilder: Control buildsets using the --with-* command line optionChris Johns2022-05-051-7/+15
| | | | | | | | | | - Expand macros in buildset file names - Add support to buildsets for `%defineifnot` - Update 6 and 7 to support command line build overrides Closes #4646
* setbuilder minor list-host optionRobin Mueller2021-07-171-1/+13
| | | | | This adds a way to print the host triplet Can be useful for cross-compiling toolchains
* sb: Merge mailer changes from rtems-toolsAlex White2021-05-261-0/+2
| | | | | | This adds the improved mailer.py script from rtems-tools. Closes #4388
* sb: Fix the imports on Python2Chris Johns2020-08-281-2/+1
| | | | Updates #4037
* sb: Use shebang env pythonChris Johns2020-08-251-11/+11
| | | | Closes #4037
* sb/reports: add sanitize parameter enabled for --mailGedare Bloom2020-04-041-2/+2
| | | | | | | | Adds a --sanitize option to command line for reports.py and also for the reports.report() interface from setbuilder.py to remove the Remotes information from git. Closes #3887.
* sb/setbuilder: Output the mail send failure message on errorChris Johns2019-11-191-1/+5
|
* sb: Align the version processing with rtems-tools.Chris Johns2019-11-181-1/+1
| | | | | | | | | | | - Use the same VERSION file format as rtems-tools so a common release generation can be used. - The version.py is almost the same as rtems-tools. There are some minor differences, one is the RTEMS version is present in this file while rtems-tool uses config/rtems-release.ini. Updates #3822
* 5/llvm: Add LLVM as a package for RTEMS.Chris Johns2019-09-161-24/+30
| | | | | | | | | | | | | - Add '%source download <source>' to only download the source and do not unpack and prep. This can used when a package internally needs another source package. - Install the staging root only if it is present. A package may internally build another package that is not staged as it is not suitable for installing. Updates #3250 Updatew #3797
* sb/setbuilder: Add a trace to help installing.Chris Johns2019-09-161-0/+1
|
* sb/setbuilder: Check is mail is valid.Chris Johns2019-08-291-1/+1
|
* sb: Send only one mail when building a BSPChris Johns2019-08-271-46/+68
| | | | - Add support to email a single report if configured to do so.
* rtems/bsp: Build packages for the beagle BSP.Chris Johns2019-07-221-3/+5
| | | | Closes #3769
* sb/setbuilder: Support staging of build set build before installing.Chris Johns2019-07-211-42/+121
| | | | | | - Staging lets build sets use previously built build sets. - Fix the rtems-bsp builds to support staging.
* 5/packages: Add curl and update all packages with RTEMS 5 and LibBSDChris Johns2019-07-211-1/+1
| | | | | | | | | - Update rtems-bsp support to correctly handle hosts for BSP. - Clean up the options for a BSP. - Check all RTEMS 5 packages and add 5/rtems-packages for all that build. - Update download locations and checksum of all packages. - The work requires the kernel and Libbsd hacve the same prefix.
* Fix 'build_max_size_human' ref. before assignmentSebastian Huber2019-01-111-1/+3
| | | | Close #3568.
* windows: Remove BuildRoot from all configs, add a short tmp path.Chris Johns2018-11-051-0/+1
| | | | Closes #3562.
* sb/setbuilder: Print patches in the size section of the email report.Chris Johns2018-10-211-1/+1
|
* sb: Add build sizes to the email report.Chris Johns2018-09-281-6/+19
| | | | | | - Include build sizes in the email report. Updates #3516
* sb: Monitor the build disk usage. Report the usage, total and various sizesChris Johns2018-09-281-2/+40
| | | | | | | | | | | | | | - Track the size of a build of a package in a build set to determine the maximum amout of disk space used. This can be used as a guide to documenting how much space a user needs to set aside to build a specific set of tools. - The `%clean` stage of a build is now split into a separate script. I do not think this is an issue because I could not find any `%clean` sections in any build configs we have. In time support for the `%clean` section will be removed, the package builder cleans up. Closes #3516
* sb: Raise an error if an option is not registered and unknown.Chris Johns2018-09-151-0/+1
| | | | Close #3519.
* sb: Add platform reporting for better host reviewing in posted email reports.Chris Johns2017-10-311-5/+13
|
* sb: Remove debug print left in by mistake.Chris Johns2017-10-271-1/+0
|
* sb: Set the to email address to build@rtems.org.Chris Johns2017-10-271-1/+2
| | | | | | - Fix a minor bug in the to addr processing. Update #3210
* sb: Provide a more detail email message.Chris Johns2017-10-271-34/+96
| | | | Close #3210.
* sb: fix the if logic to handle directives in if statements.Chris Johns2016-03-191-0/+5
| | | | | | | | | Directives in if statements end at the end of an if. The cannot change or split across directive boundaries. Add more trace detail to config.py. Updates #2661.
* sb: Support --dry-run --with-download for 3rd party RTEMS BSP packages.Chris Johns2016-03-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | The building of 3rd party packages for an RTEMS BSP requires a valid BSP so the standard method to download the source for releasing does not work. This change adds support to allow this. The RTEMS BSP support will not generate an error is no BSP or tools are provided or found. The change addis logic operators to the %if statement so you can '||' to 'or' and '&&' to 'and' logic expressions. A new %log directive has been added to clean up the messages. A new %{!define ...} has been added to aid checking within logic expressions. All command line --with/--without now appear as macros. Add version.version to get just the RTEMS major and minor version. Some pkg-config issues have been resolved. Closes #2655.
* sb: Do not expand the package name in a bset file.Chris Johns2016-03-161-1/+1
| | | | | | | | If the package references macros yet to be defined an error is generated. Let the macro expands happen when the package name is actually used. Closes #2645.
* sb: Fix typo on the urlparse name in download.pyChris Johns2016-03-101-1/+0
| | | | Updates #2619.
* qemu: Add a package name to create a tarball.Chris Johns2016-03-071-1/+1
|
* sb: Update code base to support Python3 and Python2.Chris Johns2016-03-071-12/+15
| | | | | | Fix Windows support to allow MSYS2 Python to be used. Updates #2619.
* Wrap the tar command in double quotes for Windows cmd.exe.Chris Johns2016-02-251-2/+2
| | | | | | | Windows cmd.exe does not support a single quote for options. Change to a double quote. Closes #2615.
* sb. Add VERSION support for releasing the RSB.Chris Johns2015-12-031-1/+1
| | | | | | | | | | | | Add support to release the RSB by adding the VERSION file. The file is a single line with the version. Fix the reports to include the version. Update the INI file support to include the details of the build. Show the GIT or released version when the command starts. Closes #2480.
* Canandian Cross Compiling and RTEMS 3rd party package building Fixes.Chris Johns2015-07-201-23/+33
| | | | | | | | | | | | The change fixes installing for RTEMS 3rd Party packages where the RSB considered them Canadian Cross Compiling (Cxc). Fixing the Cxc issue broke real Cxc builds. The change corrects the issue of macros being changed in the Cxc and the prep data not being udpated. The configuration is loaded again after the updated macros. The macros are also copied and restored to ensure a clean stable base. The change also introduces --rtems-tools and --rtems-bsp to align the command line with the waf configure process or RTEMS application.
* sb: Always generate an XML report.Chris Johns2015-05-221-21/+22
|
* sb: Fix reporting and installing the reports when building.Chris Johns2015-05-211-16/+29
| | | | | Switch the default report to text format. Fix the report to support the set builder.
* Fix the check to see if the path is writable.Chris Johns2015-01-261-1/+1
|
* Detect a Cxc build from the options and automatically disabled installing.Chris Johns2015-01-181-2/+4
| | | | | This is similar to always providing --no-install on the command when building a Cxc package.
* sb: Add a dry run footer to ereports.Chris Johns2014-08-141-1/+0
|
* Add checksum support for downloaded files.Chris Johns2014-07-291-3/+5
| | | | | | | | File download by http, ftp, pw support checksum. The %hash directive provides a means of setting a hash used to checksum the file. Files on disk or just downloaded are checked.
* sb: Improve the error handling for setbuilder errors.Chris Johns2014-06-151-6/+21
| | | | | If an error happens in the setbuilder code report the error. Errors in the build phase are logged in the RSB Error Report.
* sb: Move error report generation to the build phase.Chris Johns2014-05-151-13/+0
| | | | | | Generate a separate report of each package being built in a build set. This creates a better list of faults in the case of nesting build sets such as */rtems-all.
* sb: Implement %source and %patch to manage source and patches.Chris Johns2014-05-131-3/+5
| | | | | | Remove the numbered source and patches and automatically manage sources and patches. This removes the overhead in maintaining large collections of patches.
* sb: Generate an error report on an error.Chris Johns2014-05-081-6/+20
| | | | | Generate an error report users can send to the mailing list with error details.