Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-09 | rules: Fix missing cflags for linking test binary | Oliver Reiche | |
... which is required for cross-compilation, e.g., clang's `-target` option. | |||
2022-11-21 | support the concept of private deps | Klaus Aehlig | |
i.e., libraries that are used only in the implementation without use in the public header files. In this way, the set of headers exposed to dependencies can be reduced leading potentially to better incrementality. | |||
2022-11-21 | rules/CC/EXPRESSIONS: drop unused local define | Klaus Aehlig | |
2022-11-02 | proto: honor configured archiver | Alberto Sartori | |
2022-11-02 | rules: don't always use the default archiver | Alberto Sartori | |
2022-10-31 | CC/test test_runner.sh: correctly report the reuslt | Klaus Aehlig | |
The test runner is supposed to report the reult in a file called 'result' in the top-level action directory. However, before starting the actual test, it changes the working directory to the subdir 'work' where the input of the test action is located. Therefore, when reporting the result, the correct file name is '../result'. Fix this. | |||
2022-10-27 | rules: Honor ENV for finding cat | Christian Lütke Stetzkamp | |
2022-10-27 | rules: Honor ENV for patch separation | Christian Lütke Stetzkamp | |
2022-10-26 | rules: Honor ENV variable for protobuf compilation | Oliver Reiche | |
2022-10-12 | Add copyright and license notice to all source and header files | Klaus Aehlig | |
Signed-off-by: Goetz Brasche <goetz.brasche@huawei.com> | |||
2022-10-10 | rules: New rule for config header generation | Oliver Reiche | |
2022-10-10 | rules: Use new 'env' expression | Oliver Reiche | |
2022-10-10 | rules: Remove CC/configure rule | Oliver Reiche | |
2022-09-14 | rules: Fix ar binary not taken from defaults | Oliver Reiche | |
2022-09-13 | Rules: Implement setting ADD_{C,CXX}FLAGS via variables | Oliver Reiche | |
2022-09-13 | Rules: Implement hierarchical defaults | Oliver Reiche | |
2022-09-13 | Rules: Extend configure rule by 'compiler_family' | Oliver Reiche | |
2022-08-23 | Add a rule to overlay artifact maps | Klaus Aehlig | |
... in a latest-wins fashion. The intended use case is overlaying globs with individual patched files. | |||
2022-08-16 | rules/CC: fix duplicated staging for library | Alberto Sartori | |
2022-08-04 | rules: Extend patch rule to split parts from patch | Oliver Reiche | |
2022-07-25 | CC rules: keep dependencies last in linking | Klaus Aehlig | |
... as the external link dependency is still associated with this library. In this way, importing preinstalled libraries can happen in a sound way, even though the actual library is just an external link dependency; still dependencies among external libraries are honored. | |||
2022-07-25 | Rules: Enforce non-empty library and binary names | Oliver Reiche | |
2022-06-30 | Rules: Split library result and library artifact expression | Oliver Reiche | |
2022-06-23 | Upd rules doc on writable directories available to test runners | Paul Cristian Sarbu | |
2022-06-07 | rules: Support TEST_ENV for shell/test script | Oliver Reiche | |
2022-06-02 | Add rule defaults | Oliver Reiche | |
2022-05-12 | ["data", "staged"] Allow direct dependencies | Klaus Aehlig | |
Add a "deps" field to ["data", "staged"] from which the runfiles also added, without being staged, e.g., another ["data", "staged"] target, possibly with a different stage. This allows convenient collection of files, logically put to different directories. | |||
2022-05-04 | rules/CC: for compiler invocation, pass on ENV | Klaus Aehlig | |
... as some compiler need access to the environemnt in order to find their utility programs (like cc1). | |||
2022-05-02 | Expression ['', 'field_runfiles']: ensure disjointness | Klaus Aehlig | |
... by using "disjoint_map_union" instead of "map_union" which has a latest-wins semantics and does not have a "msg" arguement. | |||
2022-04-29 | rules: Perform disjoint map union in field_* expressions | Oliver Reiche | |
... and replace all instances where the field_*_list variant of those expressions is used solely for the purpose of performing the disjoint union manually. | |||
2022-04-28 | rules: Consistently use new provider expressions | Oliver Reiche | |
2022-04-28 | rules: Add "link-args-deps" expression | Oliver Reiche | |
... for collecting link-args from dependencies. By consistently using this expression, we fix an issue with C++ binary and test, which both did not collect the linker arguments from their proto-deps. | |||
2022-04-28 | rules: Honor transition variable in *-deps expressions | Oliver Reiche | |
2022-04-28 | rules: Add "field_map_provider" and "field_list_provider" | Oliver Reiche | |
... to query and merge map/list entries from the provides map of the given target_fields' targets. | |||
2022-04-28 | rules: Fix field_artifacts/field_runfiles expressions' docs | Oliver Reiche | |
2022-04-26 | rules: Add field_artifacts_list and field_runfiles_list | Oliver Reiche | |
... which are more efficient if the caller wants to perform the union manually (because disjointness should be enforced or additional maps should be added to the union, etc.). As a positive side effect, code reuse is slightly increased by consistently calling these newly introduced expressions for obtaining the artifacts/runfiles from all targets of a target field. | |||
2022-04-26 | rules: More flexible compile-deps and link-deps | Oliver Reiche | |
... which can now be parameterized which target_fields to query the dependencies from. | |||
2022-04-26 | Improve documenatation of our internal rules | Klaus Aehlig | |
In particular, document the result for the most important rules. | |||
2022-04-22 | rules: move compiler/flags computation into expressions | Klaus Aehlig | |
On the one hand, this keeps the rules files more readable. On the other hand, we can even deduplicate code, as those expressions are used twice. | |||
2022-04-22 | rule ["CC", "header directory"]: drop ill-advised "public stage" | Klaus Aehlig | |
The idea, as documented, of a header directory is to have a directory, closed as a tree, owned by the respective library and internally handled in an efficient way (as a single tree). If we open up that directory, we just have staged data, and therefore should treat it as such. | |||
2022-04-22 | rule ["data", "staged"]: behave more file like | Klaus Aehlig | |
... by presenting the data both, as artifacts and as runfiles in the same way as inputs do. | |||
2022-04-07 | fix a typo | Alberto Sartori | |
2022-03-31 | rules ["CC", "libray"]: fix doc strings | Klaus Aehlig | |
... to have consistent punctuation. Also make clear, that the configuration does not have to specify "CC", etc, as usually they are taken from the default target. | |||
2022-03-23 | Create IDE rule for CC targets | Oliver Reiche | |
2022-03-18 | Add documentation for the "proto" fields in the CC rules | Klaus Aehlig | |
2022-03-16 | Format: Apply compact JSON formatting | Oliver Reiche | |
2022-03-14 | rule CC/test: Introduce TEST_ENV for test runners | Oliver Reiche | |
2022-03-04 | Add rule ["patch", "file"] | Klaus Aehlig | |
... to patch a single file, logically in place. | |||
2022-03-03 | CC rules: Disable warnings for protobuf | Oliver Reiche | |
2022-03-03 | CC rules: Add support for local cflags | Oliver Reiche | |