summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-10-23pkgconfig rules: fix usage of "join_cmd"Klaus Aehlig
2024-10-21Merge branch 'just-rules' into rulesKlaus Aehlig
2024-10-21Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-10-21shell defaults: properly deduplicate "bin dirs" to the leftKlaus Aehlig
2024-09-27Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-09-27Do not expand variables in PATHKlaus Aehlig
... as otherwise we will use the same string in two ways: literal and as a value to the expanded, making proper quoting impossible. Moreover, it is not necessary to expand TOOLCHAIN: pointers into the toolchain can be passed through the "bin dirs" part of the toolchain.
2024-09-13Rules CC: Deduplicate args returned by expressions collecting args from ↵Sascha Roloff
dependencies
2024-09-13Rules CC: Deduplicate args returned by expressions collecting args from ↵Sascha Roloff
dependencies
2024-09-13Merge subtree 'rules' into rules-ccSascha Roloff
2024-09-13Merge branch 'just-rules' into rulesSascha Roloff
2024-09-12Rules CC: Deduplicate args returned by expressions collecting args from ↵Sascha Roloff
dependencies
2024-09-11Update derived filesKlaus Aehlig
2024-09-11Merge branch 'just-rules' into rulesKlaus Aehlig
2024-09-11Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-09-11["lint", "targets"]: improve documentation stringsKlaus Aehlig
2024-09-10Add test verifying dependency chainsSascha Roloff
Shared libraries require their (direct and indirect) dependencies to be built in a position independent way. This might cause such a dependent library to be built twice. As, however, shared libraries need not forward their static dependencies this does not cause staging conflicts. Verify that this is also the case for distant indirect dependencies. Co-authored-by: Klaus Aehlig <klaus.aehlig@huawei.com>
2024-09-10Merge subtree 'rules' into rules-ccSascha Roloff
2024-09-10Fix CC rules to not add run-libs-args from deps when building a shared librarySascha Roloff
When a shared library is built that depends on other shared libraries, it instructs its consumers via the "run-link-args" to link only against this library and not also against its dependencies.
2024-09-10Fix CC rules to consume static libraries when building a shared librarySascha Roloff
When a shared library has static-library dependencies, it is linked against these static libraries including all their link arguments. Thus, the "link-deps" as well as the "link-args" provider of the shared library should be empty.
2024-08-30Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-08-30Merge branch 'just-rules' into rulesKlaus Aehlig
2024-08-30Drop expressions for first/last element of a list entirelyKlaus Aehlig
... as using the built-in "[]" directly is cleaner and equally readable.
2024-08-29["CC", "library"]: document additional providersKlaus Aehlig
2024-08-29["CC", "library"]: document additional providersKlaus Aehlig
2024-08-23Add newly-added rules to READMEKlaus Aehlig
2024-08-23Add test verifying lint information is propagated properlyKlaus Aehlig
... through all our various rules and forms of libraries.
2024-08-23rules: add and forward lint information in all casesKlaus Aehlig
... provided the configuration variable "LINT" is set.
2024-08-23rules: add and forward lint information in all casesKlaus Aehlig
... provided the configuration variable "LINT" is set.
2024-08-23transitive-component test: really use a main depending on a shared libraryKlaus Aehlig
... by fixing a copy&paste error in the TARGETS file of the example.
2024-08-22Merge branch 'just-rules' into rulesKlaus Aehlig
2024-08-22Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-08-22Add ["lint", "defaults"] to provide paths for lint actionsKlaus Aehlig
... and honor those in ["lint", "targets"].
2024-08-21Merge branch 'just-rules' into rulesKlaus Aehlig
2024-08-21Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-08-21["test", "suite"]: document fieldsKlaus Aehlig
2024-08-20Update derived filesKlaus Aehlig
2024-08-20Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-08-20Merge branch 'just-rules' into rulesKlaus Aehlig
2024-08-20Add ["test", "suite"]Klaus Aehlig
... collecting test results similar to the way "install" rules are typically used; however in such a way that the provider "lint" is forwarded.
2024-08-20["shell/test", "script"] forward lint information of depsKlaus Aehlig
2024-08-20["CC", "test"]: support providing lint informationKlaus Aehlig
While there, also properly transition "srcs" and "private-hdrs" to the host version.
2024-08-20["lint", "targets"]: deduplicate tasksKlaus Aehlig
In case many "targets" are given, the field "lint" will contain all the concatenation of the provider "lint" of the given targets. There is, however, not need to lint the same file in the same context twice, so deduplicate the targets first. While this does not change the amount of lint actions carried out (as equal actions are handled only once anyway), it keeps the summary clean by not having dulicate entries.
2024-08-14Update derived filesKlaus Aehlig
2024-08-14Merge subtree 'rules' into rules-ccKlaus Aehlig
2024-08-14Merge branch 'just-rules' into rulesKlaus Aehlig
2024-08-14new rule ["lint", "targets"]Klaus Aehlig
2024-08-14Make CC binary and library support providing information for lintingKlaus Aehlig
If the configuration variable "LINT" is set, also provide information on compile actions and header files (with preprocessing as described command, in particular also providing the correct flags) in correct dependency context. In this way, lint rules can request the needed information for performing their checks.
2024-08-09Add a test for components having componentsKlaus Aehlig
2024-08-09object artifacts: honor modified transitionKlaus Aehlig
... for certain fields, in particular, the "components".
2024-08-09object artifacts: honor modified transitionKlaus Aehlig
... for certain fields, in particular, the "components".