Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-02-12 | Extend class target, prerequisite_target interfaces | Boris Kolpackov | 1 | -2/+34 | |
2023-12-03 | Reimplement search_existing() functions via target_type::search | Boris Kolpackov | 1 | -5/+12 | |
This allows us to automatically get the target type-specific behavior with regards to the out_only semantics (added in the previous commit) instead of passing it explicitly from each call site. | |||||
2023-11-21 | Add target::append_locked() variant | Boris Kolpackov | 1 | -2/+8 | |
2023-11-16 | Fix target::group_state() for unmatched ad hoc group members | Boris Kolpackov | 1 | -1/+1 | |
2023-11-07 | Account for match options re-locking when checking if target is matched | Boris Kolpackov | 1 | -0/+2 | |
2023-11-03 | Fix data race in match options logic | Boris Kolpackov | 1 | -9/+13 | |
2023-11-01 | Add support for adjusting match options of post hoc prerequisites | Boris Kolpackov | 1 | -1/+11 | |
2023-11-01 | Add notion of match options | Boris Kolpackov | 1 | -6/+101 | |
Now, when matching a rule, the caller may request a subset of the full functionality of performing an operation on a target. This is achieved with match options. | |||||
2023-10-06 | Handle 0 mask in update_during_match_prerequisites() | Boris Kolpackov | 1 | -1/+2 | |
2023-08-02 | Diagnose declarations of targets/prerequisites with abstract target types | Boris Kolpackov | 1 | -1/+1 | |
2023-07-20 | Consider unmatched prerequisites in updated_during_match() check | Boris Kolpackov | 1 | -2/+9 | |
2023-06-15 | Fix incorrect memory order in target::matched() call | Boris Kolpackov | 1 | -1/+1 | |
2023-06-02 | Fix data race in library metadata protocol logic | Boris Kolpackov | 1 | -1/+5 | |
2023-06-01 | Diagnose null include, operation-specific variable values | Boris Kolpackov | 1 | -3/+1 | |
While assigning null directly is unlikely, it's fairly easy via a variable expansion. Real-world example: ./: exe{tensor}: include = $config.Eigen.unsupported | |||||
2023-06-01 | Add inner_recipe for expressiveness | Boris Kolpackov | 1 | -1/+1 | |
2023-06-01 | Resolve (but disable for now) target_count issue in resolve_members() | Boris Kolpackov | 1 | -14/+19 | |
2023-05-29 | Avoid group linkup deadlocks for dynamic and pattern-static members | Boris Kolpackov | 1 | -2/+5 | |
2023-05-29 | Explicit group: dynamic members | Boris Kolpackov | 1 | -4/+5 | |
2023-05-29 | Explicit group: static members | Boris Kolpackov | 1 | -4/+32 | |
2023-05-29 | Explicit group: syntax parsing | Boris Kolpackov | 1 | -2/+33 | |
2023-05-21 | Add support for dynamic target extraction in addition to prerequisites | Boris Kolpackov | 1 | -0/+4 | |
This functionality is enabled with the depdb-dyndep --dyn-target option. Only the make format is supported, where the listed targets are added as ad hoc group members (unless already specified as static members). This functionality is not available in the --byproduct mode. | |||||
2023-03-02 | Replace deprecated std::aligned_storage with alignas | Boris Kolpackov | 1 | -4/+4 | |
Based on patch by Matthew Krupcale. | |||||
2022-11-30 | Reserve targets, variables to avoid rehashing | Boris Kolpackov | 1 | -0/+4 | |
2022-11-18 | Complete low verbosity diagnostics rework | Boris Kolpackov | 1 | -4/+4 | |
2022-10-19 | Add support for post hoc prerequisites | Boris Kolpackov | 1 | -2/+11 | |
Unlike normal and ad hoc prerequisites, a post hoc prerequisite is built after the target, not before. It may also form a dependency cycle together with normal/ad hoc prerequisites. In other words, all this form of dependency guarantees is that a post hoc prerequisite will be built if its dependent target is built. See the NEWS file for details and an example. | |||||
2022-10-10 | Preparatory work for public/private variable distinction | Boris Kolpackov | 1 | -15/+15 | |
We still always use the public var_pool from context but where required, all access now goes through scope::var_pool(). | |||||
2022-09-21 | Fix regression in dynamic dependency extraction, byproduct mode | Boris Kolpackov | 1 | -0/+3 | |
2022-09-12 | Do not treat primary ad hoc group member as group for variable lookup | Boris Kolpackov | 1 | -0/+14 | |
Note that we started with this semantics but it was changed in a commit on 2021-09-16 for reasons not entirely unclear but most likely due to target- specific variables specified for the group not being set on all the members. Which we have now addressed (see the previous commit). Note also that this new (old) semantics is not without its own drawbacks. Specifically, there is a bit of waste when the target-specific variable is really only meant for the recipe and thus setting it on all the members is unnecessary. For example: <{hxx ixx cxx}{options}>: cli{options} { options = ... } {{ # Use options. }} But this feels like a quality of implementation rather than conceptual issue. For example, we could likely one day address it by synthesizing a separate group target for ad hoc groups. | |||||
2022-06-29 | Make sure we generate common pkg-config file for only liba{}/libs{} | Boris Kolpackov | 1 | -4/+10 | |
2022-06-24 | Allow ad hoc rules not to list targets that are updated during match | Boris Kolpackov | 1 | -6/+27 | |
For example, this allows a Qt moc rule not to list generated headers from libQtCore since they are pre-generated by the library. | |||||
2022-06-22 | Add missing match_data() destructor | Boris Kolpackov | 1 | -0/+5 | |
2022-04-20 | Replace match_extra::buffer with more general data storage facility | Boris Kolpackov | 1 | -2/+66 | |
2022-04-19 | Use target recipe for auxiliary data storage during match-apply | Boris Kolpackov | 1 | -41/+92 | |
In particular, we now have separate auxiliary data storage for inner and outer operations. | |||||
2022-04-19 | Switch to using std::function for target::data_pad | Boris Kolpackov | 1 | -34/+80 | |
2022-04-19 | Skip find() inside target_set::insert*() if target is unlikely to be there | Boris Kolpackov | 1 | -7/+19 | |
2022-04-19 | Cache "recipe is group_action" information, clear recipes after execution | Boris Kolpackov | 1 | -0/+1 | |
2022-04-18 | Avoid locking target set if in load phase | Boris Kolpackov | 1 | -5/+15 | |
2022-04-15 | Get rid of target::dynamic_type() virtual function | Boris Kolpackov | 1 | -35/+85 | |
Instead of overriding this function, derived targets must now set the dynamic_type variable to their static_type in their constructor body. | |||||
2022-04-13 | Cache target base scope lookups | Boris Kolpackov | 1 | -5/+31 | |
2022-04-07 | Rename {match,execute}() to *_sync(), add *_complete() | Boris Kolpackov | 1 | -2/+2 | |
In particular, the match() rename makes sure it doesn't clash with rule::match() which, after removal of the hint argument in simple_rule, has exactly the same signature, thus making it error-prone to calling recursively. | |||||
2022-04-06 | Add support for rule hints | Boris Kolpackov | 1 | -9/+60 | |
A rule hint is a target attribute, for example: [rule_hint=cxx] exe{hello}: c{hello} Rule hints can be used to resolve ambiguity when multiple rules match the same target as well as to override an unambiguous match. | |||||
2022-03-31 | Use own type information instead of dynamic_cast in target::is_a() | Boris Kolpackov | 1 | -6/+29 | |
2022-03-07 | Add support for update=unmatch|match to ad hoc recipes | Boris Kolpackov | 1 | -1/+2 | |
2022-03-02 | Add update operation-specific variable with unmatch|match additional values | Boris Kolpackov | 1 | -12/+19 | |
Note that the unmatch (match but do not update) and match (update during match) values are only supported by certain rules (and potentially only for certain prerequisite types). Additionally: - All operation-specific variables are now checked for false as an override for the prerequisite-specific include value. In particular, this can now be used to disable a prerequisite for update, for example: ./: exe{test}: update = false - The cc::link_rule now supports the update=match value for headers and ad hoc prerequisites. In particular, this can be used to make sure all the library headers are updated before matching any of its (or dependent's) object files. | |||||
2022-02-15 | Diagnose various misuses of library metadata protocol | Boris Kolpackov | 1 | -1/+1 | |
2022-02-09 | Don't use fallback file_rule to clean real targets | Boris Kolpackov | 1 | -0/+4 | |
2022-02-09 | Don't skip empty see-through target groups | Boris Kolpackov | 1 | -5/+15 | |
2022-01-11 | Work around VC14 bug | Boris Kolpackov | 1 | -9/+0 | |
2022-01-10 | Consider implied targets when resolving dynamic dependencies | Boris Kolpackov | 1 | -0/+9 | |
2021-12-16 | Verify targets that alias same path are read-only | Boris Kolpackov | 1 | -1/+6 | |