summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-05-05Merge commit '90e9723f27a165f9d0f36b790ba4da8a1d1d8b7e' into rules/rules-ccOliver Reiche
2023-05-05Merge branch 'rules/oss' into rules/rules-cc-rulesOliver Reiche
2023-05-05rules: Test symbol and macro separately for auto configOliver Reiche
2023-04-26Merge commit 'b48ea94548702786dc66067546e85de0d71efe27' into rules-ccOliver Reiche
2023-04-26Merge branch 'rules' into rules-cc/rulesOliver Reiche
2023-04-26rules: Support mixing system/toolchain for protoc/grpcOliver Reiche
2023-04-26rules: Fix propagation of PATH for protocOliver Reiche
2023-04-25Regenerate documentationKlaus Aehlig
2023-04-25Merge commit '0ec029037c13ab313c2a692493cb798bfdf9e34e'Klaus Aehlig
2023-04-25Merge commit '09c9aafa8efafc8bcbb0e26d49a2252816d6948b'Klaus Aehlig
2023-04-25Merge commit '538e367d4c976646a5ae58a006e30a227bb3bee9'Klaus Aehlig
2023-04-24["CC/test", "test"]: Support RUNS_PER_TESTKlaus Aehlig
2023-04-24["CC/test", "test"]: factor out test-inputKlaus 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-20Merge commit 'cb266253493b9060ccbfd9e4667cbdc1cbde1473'Klaus Aehlig
2023-04-20Merge commit 'cb266253493b9060ccbfd9e4667cbdc1cbde1473'Klaus Aehlig
2023-04-20["CC/proto", "library"] proto deps are publicKlaus Aehlig
... also for non-service libraries; the generated .ph.h files may well refer, e.g., the well-known protos.
2023-04-19bundled tools: bring own defaultsKlaus Aehlig
... instead of using the strict -Wall defaults that are used for just.
2023-04-19README: update and clarify the source of proto toolsKlaus Aehlig
2023-04-19proto rules: reattach toolchainKlaus Aehlig
Restore the behaviour that, when the rules are imported via just-import-git, the proto tool chain comes as a dependency. In this way the rules can be used in an environment with just a C/C++ compiler present while still having proto available.
2023-04-19["CC", "defaults"] add basic field documentationKlaus Aehlig
2023-04-19["CC", "defaults"] add basic field documentationKlaus Aehlig
2023-04-19Merge commit 'ec15b36a5bca5916ba06dcff83bb8ea46b25446a'Klaus Aehlig
2023-04-19Merge commit 'ec15b36a5bca5916ba06dcff83bb8ea46b25446a'Klaus Aehlig
2023-04-19CC/proto toolchain staging: add missing elseKlaus 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-18Update documentationKlaus Aehlig
2023-04-18Merge commit '6591e8aa71be7950725c0fb10341a73ab3da4c52'Klaus Aehlig
2023-04-18Merge commit '48f4317'Klaus Aehlig
2023-04-18Merge commit '0db46fe'Klaus Aehlig
2023-04-18Merge commit '9e061c2'Klaus Aehlig
2023-04-18Merge commit 'f54fda7'Klaus Aehlig
Ours merge for the backported commits.
2023-04-18Merge commit '67afc29'Klaus Aehlig
2023-04-18rules: Support protoc/grpc_cpp_plugin from defaultsOliver Reiche
2023-04-18rules: Support hdrs-only for install-with-deps ruleOliver Reiche
2023-04-18rules: Move install-with-deps to EXPRESSIONSOliver Reiche
2023-04-18rules: Support install-with-deps ruleOliver Reiche
Backport of commits a382b308b9011606e7d07376808812d51631d558 and 5ae5134804b6edaaffec593868f133dd840ef7df from the rules-cc repository.
2023-04-18rules: Fix missing CXXFLAGS propagation for proto libsOliver Reiche
2023-04-18rules: Update dependency on protobuf and grpc targetsOliver Reiche
2023-04-18rules: Support reading flags from files for existing rulesOliver Reiche
Backport of commit 4a8579a2a4ef252644df0c29893e70ad8438ae82 from the rules-cc repository.
2023-04-18rules: Support creating compile/link flags from pkg-configOliver Reiche
2023-04-18rules: Drop CC/IDE headers ruleOliver Reiche
2023-04-11["shell/test", "script"]: make TEST_RUN_NUMBER availableKlaus Aehlig
If RUNS_PER_TEST is given, inform each individual test action about the run number it is executing. This can be used, e.g., to set random seeds appropriately.
2023-04-11["shell/test", "script"]: make TEST_RUN_NUMBER availableKlaus Aehlig
If RUNS_PER_TEST is given, inform each individual test action about the run number it is executing. This can be used, e.g., to set random seeds appropriately.
2023-04-11README.md: document noticeable configuration variablesKlaus Aehlig
2023-04-11README.md: mention that `protobuf` and `grpc` need to be bound on manual importKlaus Aehlig
2023-03-15Merge commit '2e53ff4d37dbda318f9c33e631bbd9a1d27c9b8e' into HEADAlberto Sartori
2023-03-15Merge commit '2e53ff4d37dbda318f9c33e631bbd9a1d27c9b8e' into HEADAlberto Sartori
2023-03-15grpc: bugfix: add missing dependency to grpc service libraryAlberto Sartori
2023-03-15rules: CC/auto: add "config_file" rule to generate a c/c++ header...Alberto Sartori
...starting from a template (aka configuration file), and using the variables defined via a ["CC/auto", "config"] target. For example, to use a CMake configuration file, the targets could be defined as follows ... , "foo-header-blueprint": { "type": ["@", "rules", "CC/auto", "config_file"] , "input": ["config.hpp.in"] , "output": ["config.hpp"] , "stage": ["foo"] , "magic_string": ["cmakedefine"] , "@only": ["true"] } , "foo-header": { "type": "configure" , "target": "foo-header-blueprint" , "config": { "type": "let*" , "bindings": [ [ "defines" , [ ["var", "\"string value\""] , ["FOO_MAJOR_VERSION", "3"] , ["use_this_feature", true] ] ] ] , "body": {"type": "env", "vars": ["defines"]} } } ... The file config.hpp.in may look as follows #ifndef config_cmake #define config_cmake #cmakedefine var #cmakedefine use_this_feature #cmakedefine01 use_this_feature #cmakedefine unused #define FOO_VERSION @FOO_MAJOR_VERSION@ #define DONT_TOUCH_THIS ${FOO_MAJOR_VERSION} #endif and the generated configuration file foo/config.hpp is #ifndef config_cmake #define config_cmake #define var "string value" #define use_this_feature #define use_this_feature 1 /* #undef unused */ #define FOO_VERSION 3 #define DONT_TOUCH_THIS ${FOO_MAJOR_VERSION} #endif
2023-02-28Merge commit 'c0a0bbf4c3cd92c9d740bb6a965bad8a9b938d20' into rules-ccOliver Reiche
2023-02-28Support non-file targets for prebuilt libsOliver Reiche