509 Commits

Author SHA1 Message Date
Sebastian Huber
f07504d271 Use HTTPS instead of FTP
FTP is an outdated protocol and blocked by some firewalls.
2019-01-23 13:41:30 +01:00
Sebastian Huber
d523d4c9d6 sb: Change default prefix
Use OS prefix + "rtems" + $rtems_version as the default prefix to
automatically separate different RTEMS versions.

Close #3675.
2019-01-22 09:57:30 +01:00
Chris Johns
34a99328b4 sb: Fix the RTEMS options after strict option checking was added. 2019-01-22 07:21:28 +01:00
Sebastian Huber
15e9f6c731 Change Linux default prefix to "/opt"
http://refspecs.linuxbase.org/FHS_3.0/fhs/ch03s13.html#purpose14
2019-01-17 11:29:50 +01:00
Sebastian Huber
5f6ad9d08b Fix 'build_max_size_human' ref. before assignment
Close #3568.
2019-01-11 07:24:47 +01:00
Chris Johns
257c9267cf gdb/python: Use python-config for the configuration if found.
- Do not assume the installed paths for the header and library.
  Ask python-config if found.

Close #3537.
2018-12-25 10:15:55 +11:00
Chris Johns
c2d2338759 sb/execute: Port the rtemstoolkit performance fixes for python3
Close #3664.
2018-12-25 10:15:55 +11:00
Chris Johns
fabe813ec4 bare/devel/qemu: Fix building on FreeBSD. 2018-11-21 16:08:26 +11:00
Chris Johns
a9fb57499b sb: Fix pkg-config arg parsing after being wrapped. 2018-11-17 12:37:20 +11:00
Joel Sherrill
84a94f743e rtems-gdb-8.0.1-1.cfg: Add Cygwin patch for ncurses not termcap
This also updates windows.py to distinguish betweem MSYS2 and Cygwin.

closes #3576.
2018-11-12 14:12:47 -06:00
Hesham Almatary
693e6b518d rsb: Update RISC-V's Spike revision 2018-11-12 10:22:35 +00:00
Sebastian Huber
9955b1a430 5: Use in-tree ISL libraries for GCC
Close #3577.
2018-11-06 10:46:51 +01:00
Sebastian Huber
509dfbdd2e Support in-tree CLooG and ISL libraries for GCC
Update #3577.
2018-11-05 07:56:17 +01:00
Chris Johns
96c414c8ff windows: Remove BuildRoot from all configs, add a short tmp path.
Closes #3562.
2018-11-05 15:46:42 +11:00
Joel Sherrill
0794cc37eb rtems-build-dep: Add support for Cygwin
updates #3537.
2018-10-24 10:34:05 -05:00
Chris Johns
e2209fa153 sb: Fix rtems-build-dep to handle various issues
- Remove CR characters on Windows.
- Force the compiler to output English so the pattern
  matching works.

Updates #3537.
2018-10-24 21:43:18 +11:00
Chris Johns
ceeb3be303 sb: Convert any unicode macro values to a string in __str__. 2018-10-24 21:43:18 +11:00
Chris Johns
a0c1f0f358 windows: Remove debugging code that fails on Cygwin. 2018-10-24 09:16:56 +11:00
Chris Johns
c5d84ce84f sb/setbuilder: Print patches in the size section of the email report. 2018-10-21 13:14:20 +11:00
Chris Johns
13f4c37999 sb: Add support to search for a suitable version of python.
The command python has been removed from upstream python and python2
and python3 is now used. This patch wraps the commands in a shell
script that locates a suitable python to run.

Updates #3537
2018-10-21 09:49:02 +11:00
Chris Johns
d4dd593514 sb: Fix the short options message. 2018-10-12 10:56:25 -07:00
Chris Johns
d2d46786f1 sb: Include optional args in the valid option processing.
Optional arguments were not being included in the valid list of
options being checked so `--mail` resulted in being unknown.
2018-09-28 08:16:49 +10:00
Chris Johns
079f95a91b sb: Add build sizes to the email report.
- Include build sizes in the email report.

Updates #3516
2018-09-28 08:15:55 +10:00
Chris Johns
38fd56c8a8 sb: Monitor the build disk usage. Report the usage, total and various sizes
- 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
2018-09-28 07:36:49 +10:00
Chris Johns
a16bfe19ef sb: Raise an error if an option is not registered and unknown.
Close #3519.
2018-09-15 17:43:29 +10:00
Joel Sherrill
219a4babbc source-builder/config/gcc-4.8-1.cfg: mpc download link changed again 2018-08-29 15:16:37 -05:00
Sebastian Huber
100ddee925 Allow external Newlib sources 2018-07-23 06:59:15 +02:00
Chris Johns
c5715172d9 gdb: Add a gdb-common configuration and have gdb-7-1 include it.
Updates #3460
2018-06-20 09:28:10 +10:00
Sebastian Huber
d8daad23f4 Build only the GDB
The Binutils and GDB share a repository.  In order to build the GDB
from a repository snapshot some components must be disabled.

Update #3453.
2018-06-13 10:43:53 +02:00
Sebastian Huber
9530518b4a Build only the Binutils
The Binutils and GDB share a repository.  In order to build the Binutils
from a repository snapshot some components must be disabled.

Update #3452.
2018-06-13 10:37:46 +02:00
Chris Johns
6ac3ed87d3 bare/devel: Add qemu-couverture support.
Add a build set and configuration to build a QEMU we can use for
coverage testing.
2018-05-01 11:58:43 +10:00
Sebastian Huber
1645debc4f bootstrap: Do not generate acinlude.m4 files
Do not generate files which are part of the Git repository.  These files
should be maintained manually in the future.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 13:36:33 +02:00
Chris Johns
cabaff8206 sb/path: Walk up to root checking if a path is writable.
A dirname of / is / so the path will never have a length of 0.

Close #3392
2018-04-13 13:02:51 +10:00
Chris Johns
162cbda055 sb/config: Terminate building on an error.
This changes the previous functionality where the RSB switch to
dry run mode. This functionality can be enabled by adding
`--keep-going`.

Close #3209.
2018-04-10 17:59:48 +10:00
Chris Johns
4b3e0f8e3d The libexpat project has moved to github. Fetch expat from github.
Close #3315
2018-03-05 08:29:40 +11:00
Chris Johns
d255e812ab sb: Convert any unicode keys to strings
Closes #3312
2018-02-23 13:04:35 +11:00
Maksim E. Kozlov
d30be3129e sb: Add option to set location of the patches directory
Signed-off-by: Maksim E. Kozlov <maksim.e.kozlov@gmail.com>
2018-02-20 09:51:05 +11:00
Chris Johns
d2b25d131d sb: Option --source-only-download does not download the source.
The option expansion is missing `--with-download'.
2018-02-08 09:18:34 +11:00
Chris Johns
858b6488e4 gcc: Use the RSB release for released tools.
Using the RSB release version for the gcc version string means the
tools have a version string that matches the release.

Close #3294
2018-02-07 15:28:35 +11:00
Stephan Gambke
dde330b8f8 sb: Fix path.py
is_abspath() now considers zero-length strings

Also: Remove not needed line in expand()
2018-02-05 09:40:47 +11:00
Sebastian Huber
2a5c9da489 Avoid hard coded GCC binary paths
In order to build a tool chain with Ada support a native GCC with Ada
support of the same version as the cross compiler is required.  The RSB
used hard coded paths for the gcc and g++ programs.  This forced the RSB
user to change the main GCC installation of the machine to build a
particular RTEMS tool chain.  This is undesired/infeasible in most
situations.

Close #3284.
2018-01-31 09:24:47 +01:00
Chris Johns
a293ddc992 sb: Disable a log file for the check command.
Fix a minor issue in the log module.
2018-01-18 13:38:52 +11:00
Chris Johns
3ddbd791b8 sb: Add an orphan check to sb-check.
The orphans check lets you see which configuration and build set
files in the RSB are not referernced. You can audit the list and
remove any configuration files not being used. Top level
build set files are included so you need to becareful not to
remove something that is valid and useful. To run:

 $ ./source-builder/sb-check --check-orphans
2018-01-18 13:16:47 +11:00
Joel Sherrill
ea15753f14 source-builder/sb/bootstrap.py: Do not reference bsp_specs to find BSPs
Updates #3520.
2017-11-22 15:43:06 -06:00
Sebastian Huber
089327b5dc Change RSB version from 4.12 to 5
Update #3220.
2017-11-09 08:08:44 +01:00
Chris Johns
4dc9bf3a37 sb: Add platform reporting for better host reviewing in posted email reports. 2017-10-31 11:57:21 +11:00
Chris Johns
4e7fdaf15d sb: Make a to_addr comma list a Python list for sending. 2017-10-31 11:56:23 +11:00
Hesham Almatary
e274bdfe10 RSB - RISC-V: Add scripts to build RISC-V's simulator
Update #3109
2017-10-28 18:00:42 +11:00
Chris Johns
8cdc8e42e4 sb: Remove debug print left in by mistake. 2017-10-27 17:36:06 +11:00
Chris Johns
70e3e5e115 sb: Set the to email address to build@rtems.org.
- Fix a minor bug in the to addr processing.

Update #3210
2017-10-27 17:34:00 +11:00