Commit Graph

65 Commits

Author SHA1 Message Date
Ralph Lange
3db08b5977 cue: make cxx work when base is cached 2021-02-15 19:28:49 +01:00
Michael Davidsaver
c734d558c2 print c++ compiler version
also ensures that the separate g++... binary is present.
2021-02-10 09:51:02 -08:00
Michael Davidsaver
b047a6c641 Revert "Add compiler-class and compiler-suffix as config"
This reverts commit 2016cb2ae7.
2021-02-10 09:51:02 -08:00
Ralph Lange
2016cb2ae7 Add compiler-class and compiler-suffix as config 2021-02-08 14:11:52 +01:00
Michael Davidsaver
fa2a1e1d39 log modified config files 2021-02-07 11:35:41 -08:00
Michael Davidsaver
aa25701c58 fix qualified compiler name selection 2021-02-07 11:00:07 -08:00
Michael Davidsaver
5d7e82256c PARALLEL_MAKE is numeric 2020-12-31 20:55:59 -08:00
Michael Davidsaver
fe8a9f5953 clear empty environment variables 2020-11-08 09:37:48 -08:00
Michael Davidsaver
7d9d426629 avoid empty EXTRA*
Helpful when the value of EXTRA can be conditionally
computed, but unset is not an easy option.
eg. with github actions
2020-11-07 08:13:47 -08:00
Michael Davidsaver
bfb9f77db8 fix help formatting 2020-10-17 11:32:00 -07:00
Ralph Lange
705f50449e cue: cachedir -> ci[]; move cache inside project on GitLab 2020-09-07 13:44:19 +02:00
Ralph Lange
33cac7c965 cue: make 'sudo' use for apt-get configurable 2020-09-07 13:42:57 +02:00
Ralph Lange
682f92941d cue: add GitLab to service detection 2020-09-07 13:40:12 +02:00
Ralph Lange
032ef83502 cue: run apt-get 'update' before 'install' 2020-09-07 11:45:30 +02:00
Ralph Lange
884d017650 cue: fix warning (default argument mutable) 2020-09-06 19:08:34 +02:00
Ralph Lange
fd71e94dd4 Revert "Use patch to add RTEMS-pc386-qemu target to older base"
Patching is not flexible enough
to cover the full range of Base 3.15 source versions.

(This reverts commit 59304f83.)
2020-09-06 16:12:49 +02:00
Ralph Lange
eb5edd3055 cue: fix regex matching for patch and archive HOOKs 2020-07-30 14:14:20 +02:00
Ralph Lange
1b066feacc Special treatment for .patch and .zip/.7z HOOK files
(closes #44)
2020-06-29 15:43:11 +02:00
Ralph Lange
a439d7aa64 cue: add fold control for gh-actions 2020-06-29 10:44:15 +02:00
Ralph Lange
c7a134e1fb cue: use sudo when unpacking rtems cross compiler (WA)
- not needed on Travis (where target directory is under HOME)
2020-06-29 10:44:14 +02:00
Ralph Lange
b568ca982b cue: set PERL to Strawberry on gh-actions/windows 2020-06-29 10:44:14 +02:00
Ralph Lange
074a7ab617 gh-actions: add windows-2016, ubuntu-20.04 jobs 2020-06-29 10:44:14 +02:00
Ralph Lange
5a0acc2228 cue: quiet down chocolatey installation 2020-06-29 10:44:14 +02:00
Ralph Lange
4b76e0623d cue: install Homebrew packages from BREW on macOS 2020-06-29 10:44:14 +02:00
Ralph Lange
5beeada73f cue: improve logging in setup_for_build() 2020-06-29 10:44:14 +02:00
Ralph Lange
3a99f3c9d6 cue: add vcvarsall.bat location for vs2019/Enterprise
as used by GitHub Actions windows-2019 runner
2020-06-29 10:44:14 +02:00
Ralph Lange
576b5a4caf cue: fix adding Strawberry Perl to PATH 2020-06-29 10:44:13 +02:00
Ralph Lange
f324cd3bdd Add proper detection for github-actions service 2020-06-29 10:44:13 +02:00
Ralph Lange
59304f83c2 Use patch to add RTEMS-pc386-qemu target to older base 2020-06-29 10:44:13 +02:00
Ralph Lange
b3091e6d6f cue: fix EXTRA settings for build action 2020-06-23 17:35:13 +02:00
Ralph Lange
1a996e5407 cue: fix erroneous entries in /etc/hosts on Travis 2020-06-23 15:46:46 +02:00
Ralph Lange
f927e475ff cue: install apt packages from APT on linux 2020-06-22 15:04:22 +02:00
Ralph Lange
fbd6bac81a cue: clean dependencies after build (reduces cache size)
- support CLEAN_DEPS=NO to leave dependencies uncleaned
  (fixes #48)
2020-06-19 17:10:02 +02:00
Ralph Lange
12d769835e cue: fix issue introduced in 35f5befa
- was leading to jobs failing if setup file was
  not found in the first directory of search path
2020-06-15 14:16:16 +02:00
Ralph Lange
9c89437dac cue: support PARALLEL_MAKE to configure number of make jobs
fixes #46
2020-06-15 11:07:55 +02:00
Ralph Lange
7585b573d3 cue: warnings for STATIC and misspelled configuration
fixes #47
2020-06-15 10:42:55 +02:00
Ralph Lange
22652da198 cue: support setting TEST=NO to skip tests 2020-06-15 09:30:47 +02:00
Ralph Lange
769a8ad08d cue: properly decode() subprocess.check_output()
(breaks on Python 3)
2020-06-12 18:00:18 +02:00
Ralph Lange
35f5befa9d cue: fix misleading error message (setup file not found) 2020-06-12 18:00:18 +02:00
Ralph Lange
590e0e4d26 cue: implement EXTRA..EXTRA5 to set additional make args; add test 2020-06-12 18:00:18 +02:00
Ralph Lange
c53bfa090e cue: recompile all dependency modules after a cache-miss 2020-06-07 14:24:36 +02:00
Ralph Lange
6ce24870e5 travis: add test and test-results actions 2020-06-07 14:24:36 +02:00
Ralph Lange
158bacd256 cue: add separate action for 'test-results'
fixes #31
2020-06-06 15:27:21 +02:00
Ralph Lange
0a4a845ff1 cue: only rebuild out-of-date dependencies 2020-06-06 15:27:21 +02:00
Ralph Lange
4ca9efe4cf cue: add RTEMS cross compilation 2020-06-06 15:27:21 +02:00
Ralph Lange
64908b18ba cue: add additional USR_* flags to CONFIG_SITE 2020-06-06 15:27:21 +02:00
Ralph Lange
f57b063f68 cue: compiler setup for clang, gcc, wine32 and wine64
fixes #30
2020-06-06 15:27:21 +02:00
Ralph Lange
58cebdd7dd Check make version for "-O" support
fixes #33
2020-06-06 15:27:21 +02:00
Ralph Lange
9ea849eed3 cue: make detect_context() a function and ci a dict
for better testability
2020-06-06 14:55:06 +02:00
Ralph Lange
d3b36cac74 cue: run check for Visual Studio versions only on Windows 2020-06-06 14:55:06 +02:00