Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-16 | tests: Add support for shared libraries | Oliver Reiche | |
2022-12-16 | Merge commit '95284ec611a53ca9c7925aad4bbe3f6561de018a' into shared-rules | Oliver Reiche | |
2022-12-16 | rules: Add support for shared libraries | Oliver Reiche | |
2022-12-16 | rules: Add support for "LDFLAGS" and "ADD_LDFLAGS" | Oliver Reiche | |
2022-12-16 | Merge commit '0712694ea67f84a30058109d41f37ff96c37558d' into rules-cc | Oliver Reiche | |
2022-12-16 | rules: Parallelize ["CC/auto", "config"] check actions | Oliver Reiche | |
2022-12-16 | rules: Use common expressions for ["CC/auto", "config"] | Oliver Reiche | |
2022-12-14 | Merge commit 'b1859c1ba4229812497da501e2843ab20d27682b' into rules | Oliver Reiche | |
2022-12-14 | rules: Collect artifacts from "srcs" targets for ["data", "staged"] | Oliver Reiche | |
2022-12-14 | rules: Collect artifacts from "data" targets for test binaries | Oliver Reiche | |
2022-12-14 | rules: Report fieldname of overlapping artifacts/runfiles | Oliver Reiche | |
2022-12-14 | rules: Add type size check to ["CC/auto", "config"] | Oliver Reiche | |
2022-12-12 | Add tests and readme | Oliver Reiche | |
2022-12-12 | Add 'rules/' from commit 'd44be66f2a916168e0f5a7055e49f12c252b2cd2' | Oliver Reiche | |
git-subtree-dir: rules git-subtree-mainline: 247e09b1ba01deb5649c6a73a7f272e1f72178fe git-subtree-split: d44be66f2a916168e0f5a7055e49f12c252b2cd2 | |||
2022-12-12 | rules: Fix missing arch vars for shell tests | Oliver Reiche | |
2022-12-09 | Initial commit | Oliver Reiche | |
2022-12-09 | rules: cflags have precedence over defines | Oliver Reiche | |
2022-12-09 | rules: ldflags have precedence over transitive link args | Oliver Reiche | |
2022-12-09 | rules: Create library in stage directory | Oliver Reiche | |
2022-12-09 | rules: Add cross-compile support for tests | Oliver Reiche | |
2022-12-09 | rules: Add argument support for test binaries | Oliver Reiche | |
2022-12-09 | rules: Refactoring and minor improvements | Oliver Reiche | |
Compared to the previous commit, the action graphs for just and its unit tests are unchanged. - Git hash of action graph for ["",""]: c6e75f17abd7ffaab6ff9bb725ad67ec0bf6c973 - Git hash of action graph for ["test/buildtool","TESTS"]: 8063dfb3dd7daa9ae01d95c177e14946f785c57e Refactor: - "local cflags" to "private-cflags" - "local defines" to "private-defines" - "link externals" to "private-ldflags" - "deps" to "private-deps" for (test) binaries - "proto" to "private-proto" for binaries Improvements: - consistent variable declaration order: OS, ARCH, HOST_ARCH, TARGET_ARCH, CC, CXX, CFLAGS, CXXFLAGS, ADD_CFLAGS, ADD_CXXFLAGS, AR, ENV, PATH - use fields close to their definition (in RULES) - use common expression for binaries and test binaries - split expression "flags" and "compiler" ... to separate ones for CC and CXX. - rename "transition" to "deps-transition" ... to avoid conflicts with other transitions. - support "defaults-transition" for CC expressions Implement: - "cflags" for libraries - "private-cflags" for (test) binaries - "private-defines" for test binaries - "private-ldflags" for test binaries - (public) "defines" for libraries | |||
2022-12-09 | rules: Drop the ["CC", "header directory"] | Oliver Reiche | |
... in favor of the "tree" built-in rule. | |||
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. |