Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-17 | ["CC/test", "test"] use stage expression | Klaus Aehlig | |
... instead of inlining the code. In this way, we also have all the checks that the test runner consists of precisely one artifact. | |||
2024-03-05 | test summarizer: in case of FLAKY tests, also report failure rate | Klaus Aehlig | |
2024-02-15 | Remove unnecessarily quadratic expressions | Klaus Aehlig | |
... not that everyone has updated to 1.2 or later we can use the built-in expressions "reverse" and "set". | |||
2023-11-20 | rules: Fix flag inheritance | Oliver Reiche | |
... which should accumulate values from all base targets unless the flag type (CFLAGS, CXXFLAGS, or LDFLAGS) is explicity overwritten by the inheritor. | |||
2023-11-09 | ["CC/auto", "config_file"] runner: let /usr/bin/env find python3 | Klaus T. Aehlig | |
... instead of assuming it to be installed under /usr/bin as we also do in other places. In this way, we do not make any additional assumptions on top of the already existing one on the path of env. | |||
2023-09-29 | rule ["patch", "defaults"]: remove unused config variable "TARGET_ARCH" | Klaus Aehlig | |
2023-09-28 | ["CC/pkgconfig", "system_library"] Add -rpath | Klaus Aehlig | |
When a shared library is picked up from the host system via pkg-config that is located at a non-standard location, binaries linked against this library by a standard linker either need LD_LIBRARY_PATH set appropriately, or -rpath set at link time. However, not all custom installations set -rpath in the link flags in their pkg-config file. Therefore, in order to get working binaries (and not have to set custom paths in tests), add a -rpath for every -L option found in the ldflags provided by pkg-config. | |||
2023-09-26 | pkg-config files: properly terminate last line | Klaus Aehlig | |
2023-09-25 | Fix pkg-config name for libprotobuf | Oliver Reiche | |
2023-09-25 | Use pkgconfig for default proto libs | Oliver Reiche | |
2023-08-29 | python: Add type hints and fix style in rules scripts | Paul Cristian Sarbu | |
2023-08-28 | Fix rule doc string of patch defaults | Oliver Reiche | |
2023-08-21 | rules: Add documentation for the implict dependencies | Klaus Aehlig | |
2023-08-17 | ["CC/test", "test"] rename implict dependency | Klaus Aehlig | |
... and document at the appropriate place | |||
2023-08-17 | ["CC/auto", "config_file"] rename implicit target | Klaus Aehlig | |
... and mention it at the appropriate part of the documentation. While there, also provide a default TARGETS file. | |||
2023-08-17 | ["shell/test", "script"] Rename implicit dependencies | Klaus Aehlig | |
... and document at the appropriate places what can be overwritten by setting those targets. | |||
2023-08-16 | rules: Support BUILD_ARCH for CC defaults | Oliver Reiche | |
2023-08-16 | patch: Support defaults for patch rules | Oliver Reiche | |
... and extend compatibility by not relying on arguments that are only supported by GNU patch implementations. | |||
2023-08-16 | patch: Drop patch-part | Oliver Reiche | |
... because it was using tool that are not part of coreutils. Using patch parts can still be done via patching patches. | |||
2023-08-16 | rules: Propagate PATH list from defaults | Oliver Reiche | |
... instead of creating an ENV from it and propagating this. The idea is to keep PATH entries separate and only join them with ":" when we need it. In this way, we can accumulate PATHs from multiple defaults later, and perform a deduplication ("nub_left") to shorten the final string length. | |||
2023-08-16 | rules: Implement nub_left for PATH | Oliver Reiche | |
2023-08-16 | rules: Extend toolchains via defaults from base | Oliver Reiche | |
2023-08-16 | rules: Expression to get base providers as list | Oliver Reiche | |
2023-08-16 | rules: Remove pointless defaults | Oliver Reiche | |
2023-07-14 | ["shell/test", "script"]: support target architecture | Klaus Aehlig | |
... provided it is specified on how to obtain a remote-execution endpoint for the given architecture; in this case, the test (script and) dependencies will be cross compiled for and run on that architecture. The actual building (as well as summarizing multiple test runs) happens on the default execution end point. | |||
2023-07-12 | ["CC/test", "test]: support target architecture | Klaus Aehlig | |
... provided it is specified on how to obtain a remote-execution endpoint for the given architecture; in this case, the test binary will be cross compiled for and run on that architecture. The actual building (as well as summarizing multiple test runs) happens on the default execution end point. | |||
2023-07-12 | Add new transtion "maybe for host" | Klaus Aehlig | |
... that transitions to host, unless the ARCH_DISPATCH map indicates that there is an execution-property transition allowing to run actions on the TARGET_ARCH. Also make the "target properties" available as expression as they will be needed when executing the action on the foreign architecture. | |||
2023-06-16 | rules: Install pkgconfig files to $PREFIX/lib/pkgconfig | Oliver Reiche | |
2023-05-31 | ["test/shell", "script"] Support long-running tests | Klaus Aehlig | |
2023-05-30 | rules: Support for external toolchains | Oliver Reiche | |
2023-05-30 | rules: Move binary test_run to expression | Oliver Reiche | |
2023-05-30 | rules: Use field_map_provider for default-ENV | Oliver Reiche | |
2023-05-30 | rules: Drop needless conditional | Oliver Reiche | |
2023-05-05 | rules: Test symbol and macro separately for auto config | Oliver Reiche | |
2023-04-26 | rules: Support mixing system/toolchain for protoc/grpc | Oliver Reiche | |
2023-04-26 | rules: Fix propagation of PATH for protoc | Oliver Reiche | |
2023-04-24 | ["CC/test", "test"]: Support RUNS_PER_TEST | Klaus Aehlig | |
2023-04-24 | ["CC/test", "test"]: factor out test-input | Klaus Aehlig | |
In this way, the test action gets canonical, so adding RUNS_PER_TEST support to this rule should be easily mergable into downstream rules. | |||
2023-04-20 | ["CC/proto", "library"] proto deps are public | Klaus Aehlig | |
... also for non-service libraries; the generated .ph.h files may well refer, e.g., the well-known protos. | |||
2023-04-19 | CC/proto toolchain staging: add missing else | Klaus Aehlig | |
If we have a provided toolchain, we stage it to the corresponding subdirectory. Otherwise, we still have to provide a value of the correct type (a map) rather than the default else (which is the empty list). | |||
2023-04-18 | rules: Support protoc/grpc_cpp_plugin from defaults | Oliver Reiche | |
2023-04-18 | rules: Update dependency on protobuf and grpc targets | Oliver Reiche | |
2023-04-18 | rules: Support creating compile/link flags from pkg-config | Oliver Reiche | |
2023-04-18 | rules: Drop CC/IDE headers rule | Oliver Reiche | |
2023-04-18 | rules: Support hdrs-only for install-with-deps rule | Oliver Reiche | |
2023-04-18 | rules: Move install-with-deps to EXPRESSIONS | Oliver Reiche | |
2023-04-18 | rules: Support install-with-deps rule | Oliver Reiche | |
Backport of commits a382b308b9011606e7d07376808812d51631d558 and 5ae5134804b6edaaffec593868f133dd840ef7df from the rules-cc repository. | |||
2023-04-18 | rules: Support reading flags from files for existing rules | Oliver Reiche | |
Backport of commit 4a8579a2a4ef252644df0c29893e70ad8438ae82 from the rules-cc repository. | |||
2023-04-18 | rules: Fix missing CXXFLAGS propagation for proto libs | Oliver Reiche | |
2023-03-15 | grpc: bugfix: add missing dependency to grpc service library | Alberto Sartori | |