summaryrefslogtreecommitdiffstats
path: root/source-builder (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-08bare/qemu: Fixes building on FreeBSDChris Johns3-257/+139
- Move the qemu config to a common file shared by qemu and qemu4. - Disable nettle on qemu4, FreeBSd complained. - Add some extra git cleaning steps to the git path. These however do not full clean the qemu submodules and it is not worth the effort to try and fix. - The devel/qemu will not build on machines with python set to python3. This will not be fixed, use qemu4. Closes #3966
2020-05-08sb: Disable any trace dataChris Johns1-2/+2
2020-05-08sb: Add git clean to the supported git commands.Chris Johns2-0/+17
2020-04-28devel/dtc: Change the home page to www.devicetree.orgChris Johns1-1/+1
2020-04-28source-builder/config/gdb-common-1.cfg: Fix building with Python 3.8Anders Montonen1-1/+6
Starting with Python 3.8, python3-config requires the "--embed" flag to print the flags required for embedding Python in an application. Fixes: error: shell macro failed: /home/anders/work/rtems/rsb/source-builder/sb/rtems-build-dep -c gcc -l : 2: error: no library (-l) provided Signed-off-by: Anders Montonen <Anders.Montonen@iki.fi>
2020-04-28sb/linux.py: Workaround for Python >= 3.8Anders Montonen1-7/+11
The platform.dist() interface has been deprecated since Python 3.5, and has been removed in Python 3.8. Fixes: Traceback (most recent call last): File "/home/anders/work/rtems/rsb/source-builder/sb/options.py", line 682, in load overrides = linux.load() File "/home/anders/work/rtems/rsb/source-builder/sb/linux.py", line 60, in load distro = platform.dist()[0] AttributeError: module 'platform' has no attribute 'dist' Signed-off-by: Anders Montonen <Anders.Montonen@iki.fi>
2020-04-28sb: Fix Python literal comparison warningsAnders Montonen2-30/+30
Fixes: SyntaxWarning: "is" with a literal. Did you mean "=="? Signed-off-by: Anders Montonen <Anders.Montonen@iki.fi>
2020-04-10source-builder: Add capstoneVijay Kumar Banerjee1-0/+62
2020-04-09rsb: Fix Spike buildHesham Almatary1-3/+2
* There is no all$ target in Spike * There is no longer --with-fesvr flag since fesvr is source-inlined by default
2020-04-04sb/reports: add sanitize parameter enabled for --mailGedare Bloom2-21/+35
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.
2020-04-02databases/sqlite: Update to 3.31.1Jonathan Brandmeyer1-19/+25
closes #3927.
2020-04-01sb/reports.py: Remove spurious error checkGedare Bloom1-2/+0
The error path is taken when list-bsets or list-cfgs returns true (meaning it listed them). So the error is invalid.
2020-03-30sb/sha512-base64: Add script to generate a base64 checksum.Chris Johns1-0/+2
- Use this command to get a smaller sha512 checksum
2020-03-30sb/execute: Port fixes from rtems-toolsChris Johns1-10/+23
2020-03-20qemu: Update glib to build on newer gccMartin Erik Werner1-1/+2
Update the glib version to 2.48.2 in order to fix build failure on newer gcc[0]. Force internal version of libpcre for glib, since otherwise the build failed, presumably since libpcre is not provided as a module (maybe it should?). Increasing the glib version further to the current latest was not tested. [0] CC libglib_2_0_la-gdate.lo ../../glib-2.39.3/glib/gdate.c: In function 'g_date_strftime': ../../glib-2.39.3/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral] tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm); ^~~~~~
2020-03-05sb: Use multiprocessing.cpu_count()Sebastian Huber1-16/+2
The previous implementation does not work on some Linux distributions, e.g. Debian on sparc64. Use a standard function instead.
2020-03-04sb/options: Let --source-only-download download releasesChris Johns2-3/+2
- The release procedure uses the sb-set-sources command now. Closes #3896
2020-03-04sb/pkgconfig: Fix python2 issue with caching changesChris Johns1-1/+2
Closes #3893
2020-03-04sb/python-wrapper: Add python2.7 to aid testingChris Johns1-1/+1
2020-03-03protobufs: Fix the incorrectly update top level URL for the project.Chris Johns1-1/+1
- Looks like protobuf is now not under Google. I failed to notice that.
2020-03-03sb/pkgconfig: Cache pkgconfig based on a file name not nameChris Johns1-7/+9
- Caching on name falsely assumed checks across different config instances in nested build sets as used in vertical stack building was valid. This stopped a valid check for a prefix seeing if a valid BSP config was present. Updates #3893
2020-03-03sb/config: Add paths checks to %{path ...}Chris Johns1-11/+37
Updates #3893
2020-03-03sb/config: Expanded nested shell commandsChris Johns1-2/+7
Updates #3893
2020-03-03protobufs: Top level project rename. Fix URL path on github.Chris Johns1-1/+1
2020-02-12windows: Use GNU tar to unpack sourceChris Johns1-1/+1
- The bsdtar command does not handle symlinks cleanly, GNU tar does Closes #3868
2020-01-21freebsd: Fix GDB building on some 12 and higher versionsChris Johns2-1/+13
2019-12-05sb/getsources: Fix the repo_mail reference.Chris Johns1-1/+1
2019-12-05sb/getsources: Macro right hand values need to be strings.Chris Johns1-2/+2
2019-12-05sb: VERSION may not contain a release path or hashesChris Johns1-2/+2
2019-12-03Use user ID number instead of nameSebastian Huber1-1/+1
This helps to avoid issues with user names which contain space characters. Close #3830.
2019-12-02Be more resilient against $PATH errorsSebastian Huber1-13/+17
Close #3781.
2019-11-19sb/setbuilder: Output the mail send failure message on errorChris Johns1-1/+5
2019-11-18sb: Align the version processing with rtems-tools.Chris Johns9-79/+207
- 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
2019-11-18sb: Add support for a comma separated release path list.Chris Johns2-19/+22
Updates #3814
2019-11-12rsb: Update RISC-V's Spike revisionHesham Almatary1-20/+2
Latest Spike integrated fesvr in its source directory, so there is no separate fesvr anymore. Also use a revision of Spike that fixes the file permissions when getting installed.
2019-10-28sb/getsource: Load the local host overridesChris Johns1-0/+47
The local host overrides have to be loaded so host specific commands and settings can be found and used.
2019-10-27sb/getsource: Add RTEMS BSP defaults to fetch packages sources.Chris Johns1-2/+13
2019-10-27sb/default: Add _dry_run as a default.Chris Johns1-0/+1
2019-10-27sb/gdb: Add further getting source checks.Chris Johns1-1/+1
2019-10-27sb/getsource: Set the correct macro name for getting source.Chris Johns1-1/+1
2019-10-27sb/defaults: Provide a default for _rsb_getting_source.Chris Johns1-0/+3
2019-10-27sb/get-source: Add a macro to indicate the get-source command is running.Chris Johns2-1/+2
- Fix GDB's library checks to ignore errors when getting the source.
2019-10-27sb/config: Add support for line continuation.Chris Johns2-3/+19
- Add line continuation support so empty macros can be used at the end of configure command lines, ie RTEMS kernel. The config parser removes empty lines and wihout this support a trailing line continuation character joins a configure command line to next command. - Fix freetype's gmake support for non-GNU operating systems.
2019-10-26sb/options: Split options on the first '=' only.Chris Johns1-2/+2
Split only on the first '=' in an option so BSPOPTS can contain an '='.
2019-10-25rtems/llvm: Add support to build llvm on Windows.Chris Johns1-11/+25
2019-10-25sb/windows: Add the optional cmake command.Chris Johns1-0/+1
2019-10-25sb/build: Add -E to '%source setup' to handle tar dependency errors.Chris Johns1-1/+25
Tar on Windows raises an error if a symlink appears before the target. Windows needs the target to exist before a link can be created. This patch adds support via the -E option to catch the error and rerun the tar command a second time. The symlink should work as the target should exist on the second pass.
2019-10-23Update Spike RSB recipe and correct installed permissionsJoel Sherrill1-12/+22
Updates #3802.
2019-09-19sb: Detect duplicate adds of patches.Chris Johns1-1/+7
2019-09-165/llvm: Add LLVM as a package for RTEMS.Chris Johns9-73/+363
- 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