summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Instrument cc:link_rule with backwards mtime detection/diagnosticsBoris Kolpackov2018-11-151-0/+20
|
* Fallback to loading outer buildfile if there isn't one in src_baseBoris Kolpackov2018-11-1413-66/+199
| | | | | | This covers the case where the target is defined in the outer buildfile which is common with non-intrusive project conversions where everything is built from a single root buildfile.
* Tweak assert directive diagnosticsBoris Kolpackov2018-11-142-4/+5
|
* Minor terminology tweaks (model -> build state)Boris Kolpackov2018-11-134-11/+11
|
* Fix bug in command line variable override depth calculationBoris Kolpackov2018-11-091-7/+11
|
* Add support for relative to base scope command line variable overridesBoris Kolpackov2018-11-097-52/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, if we say: $ b dir/ ./foo=bar The scope the foo=bar is set on is relative to CWD, not dir/. While this may seem wrong at first, this is the least surprising behavior when we take into account that there can be multiple dir/'s. Sometimes, however, we do want the override directory to be treated relative to (every) target's base scope that we are building. To support this we are extending the '.' and '..' special directory names (which are still resolved relative to CWD) with '...', which means "relative to the base scope of every target in the buildspec". For example: $ b dir/ .../foo=bar Is equivalent to: $ b dir/ dir/foo=bar And: $ b liba/ libb/ .../tests/foo=bar Is equivalent to: $ b liba/ libb/ liba/tests/foo=bar libb/tests/foo=bar
* Make command line variable override scope syntax consistent with buildfileBoris Kolpackov2018-11-082-20/+76
| | | | | | | | | | | | | | | | | | | Before: $ b dir/:foo=bar ... After: $ b dir/foo=bar Alternatively (the buildfile syntax): $ b 'dir/ foo=bar' Note that the (rarely used) scope visibility modifier now leads to a double slash: $ b dir//foo=bar
* Fix bug in override logic for command line variable with project visibilityBoris Kolpackov2018-11-083-5/+29
|
* Remove extraneous spaceBoris Kolpackov2018-11-071-1/+1
|
* Improve parser diagnosticsBoris Kolpackov2018-11-071-0/+11
|
* Ignore non-existent /usr/local/{include/,lib/}Boris Kolpackov2018-11-061-17/+28
| | | | | This should fix some bizarre yo-yo'ing cases where uninstall removes the directories which in turn triggers a rebuild on the next invocation.
* Only search for external tools (compilers, linkers, etc) in PATHBoris Kolpackov2018-11-056-11/+42
| | | | | | | Specifically, omit the current executable's directory on Windows since there is no reason for them to be found there automagically and this can lead to surprising behavior (for example, our MinGW GCC being used instead of the user's even though the user's is in PATH before ours).
* Distinguish between MSVC command line errors and warningsBoris Kolpackov2018-11-052-2/+5
|
* Resolve /WN /Wall /w option overridesBoris Kolpackov2018-11-052-7/+73
| | | | Failed that, MSVC "helpfully" warns that one is overriding the other.
* Handle MSVC command line warningsBoris Kolpackov2018-11-052-36/+66
|
* Fix typoBoris Kolpackov2018-11-023-3/+3
|
* Use rule-specific variables for backlink valueBoris Kolpackov2018-11-023-13/+22
|
* Use rule-specific variables for module name set on bmi*{} targetsBoris Kolpackov2018-11-023-13/+21
|
* Fix atomic count initializationBoris Kolpackov2018-11-011-2/+2
|
* Bump minimum supported Clang version to 3.7Boris Kolpackov2018-11-011-1/+1
|
* Add support for rule-specific variables, use to fix cc.type data raceBoris Kolpackov2018-11-0114-68/+231
|
* Update libpkgconf version constraint to allow 1.5.xBoris Kolpackov2018-10-271-1/+1
|
* Fallback to --version for GCC/Clang-like compilers if -v didn't workBoris Kolpackov2018-10-271-15/+20
|
* Add config.{c,cxx}.{id,version,target} configuration variablesBoris Kolpackov2018-10-2612-500/+714
| | | | | | | These variables allow overriding guessed compiler id/version/target, for example, in case of mis-guesses or when working with compilers that don't report their base (e.g., GCC, Clang) with -v/--version (common in the embedded space).
* Add support for libpkgconf 1.5 APIKaren Arutyunov2018-10-261-2/+41
|
* Redesign cc::compiler_id to make variant customizableBoris Kolpackov2018-10-259-190/+223
|
* Fix execute_direct() to handle "match failed" caseBoris Kolpackov2018-10-251-5/+11
|
* Fix race in rule synthesis logicBoris Kolpackov2018-10-253-11/+50
|
* Fix bug in add_adhoc_member() (set group)Boris Kolpackov2018-10-251-0/+3
|
* Fix GCC 8 -fimplicit-fallthrough warningsKaren Arutyunov2018-10-241-0/+3
|
* Treat invalid names as values if they are quotedBoris Kolpackov2018-10-232-20/+40
|
* Move invalid_argument handler from default_thunk() to call()Boris Kolpackov2018-10-232-17/+19
| | | | This way we let a custom thunk catch derived exception (like invalid_path).
* Suggest override variable (config.x) when tool is not foundBoris Kolpackov2018-10-195-13/+63
|
* Fix bug in binutils pattern derivation logicBoris Kolpackov2018-10-191-7/+15
|
* Improve inconsistent compiler behavior diagnosticsBoris Kolpackov2018-10-191-9/+15
|
* Add note to manual on creating binless libraries with bdep-newBoris Kolpackov2018-10-181-1/+11
|
* Fix bug in binless library linking logicBoris Kolpackov2018-10-183-27/+16
|
* Fix few bugs in manualBoris Kolpackov2018-10-171-9/+10
|
* Raise libcpp version in regex-related check to 7.0.0Karen Arutyunov2018-10-161-1/+1
|
* Add note on C++ module interface unit naming to manualBoris Kolpackov2018-10-041-1/+8
|
* Fix bug in manualBoris Kolpackov2018-09-161-1/+1
|
* Fix uncaught invalid_path exceptionKaren Arutyunov2018-09-141-18/+25
|
* Fix typo in NEWS fileBoris Kolpackov2018-09-121-1/+1
|
* Bump version to 0.9.0-a.0.z, master is open for businessBoris Kolpackov2018-09-123-5/+5
|
* Change build.version.stage to falseBoris Kolpackov2018-09-111-1/+1
|
* Bump version to 0.8.0Boris Kolpackov2018-09-112-3/+3
|
* Documentation fixes and improvementsBoris Kolpackov2018-09-101-158/+167
|
* Replace libu with libue in buildfilesKaren Arutyunov2018-09-1010-13/+13
|
* Update NEWS fileBoris Kolpackov2018-09-101-0/+139
|
* More documentation fixesBoris Kolpackov2018-09-081-1/+1
|