Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-06-19 | Merge commit '85f97ddf0e18548d95d50aa1f7599a1aad833d97' into HEAD | Paul Cristian Sarbu | |
2024-06-19 | rules-cc: Binaries should keep the compile dependency headers for debugging | Paul Cristian Sarbu | |
2024-06-03 | debug rule: Fix staging of headers | Paul Cristian Sarbu | |
For libraries the headers of private dependencies were wrongly skipped from staging. For binaries, no headers were passed at all in the provides map. To fix these issues, an additional field is added in the provides map to ensure we collect, and then properly stage, all needed headers for both libraries and binaries. | |||
2024-06-03 | debug rule: Add flag field to skip installing extra debug artifacts | Paul Cristian Sarbu | |
This is useful when we want to install targets built in debug mode, but do not want to stage all the additional source and header files if no debugging is being performed, e.g., in tests. | |||
2024-06-03 | debug rule: Fix staging of headers | Paul Cristian Sarbu | |
For libraries the headers of private dependencies were wrongly skipped from staging. For binaries, no headers were passed at all in the provides map. To fix these issues, an additional field is added in the provides map to ensure we collect, and then properly stage, all needed headers for both libraries and binaries. | |||
2024-06-03 | debug rule: Add flag field to skip installing extra debug artifacts | Paul Cristian Sarbu | |
This is useful when we want to install targets built in debug mode, but do not want to stage all the additional source and header files if no debugging is being performed, e.g., in tests. | |||
2024-05-27 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-05-27 | CC: if no CC/CXX/AR is provided via the toolchain, default to cc/c++/ar | Klaus Aehlig | |
... instead of defaulting to "". In this way, an empty default target can be used as toolchain defaults for systems with default names. | |||
2024-05-21 | Support creating shared lib from object lib | Oliver Reiche | |
2024-05-13 | Merge commit '07924d28e81fe36ddb8e020552a7392fcf1227a0' into HEAD | Paul Cristian Sarbu | |
2024-05-13 | rules: Support staging debug artifacts in install-with-deps rule | Paul Cristian Sarbu | |
The existing rule is extended to also stage source files if in debug mode, in order for a debugger to be able to find all needed symbols. Conflicting paths are allowed; in case of conflicts, the file from the closest target in the dependency chain wins. | |||
2024-05-13 | install-with-deps result: Remove unneeded imports | Paul Cristian Sarbu | |
2024-05-03 | Implement object_only library | Oliver Reiche | |
2024-02-15 | Merge branch 'just-rules' into rules | 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-20 | defaults: 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-09-26 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2023-09-26 | pkg-config files: properly terminate last line | Klaus Aehlig | |
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 | Merge branch 'rules/oss' into rules/rules-cc-rules | Oliver Reiche | |
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: Expression to get base providers as list | Oliver Reiche | |
2023-08-16 | rules: Remove pointless defaults | Oliver Reiche | |
2023-05-31 | Update cmake rules to honor dependencies | Sascha Roloff | |
2023-05-30 | Merge branch 'just-rules' into rules | Oliver Reiche | |
2023-05-30 | rules-cc: Support for external toolchains | Oliver Reiche | |
2023-05-30 | rules-cc: Use field_map_provider for default-ENV | Oliver Reiche | |
2023-05-30 | rules-cc: Put global LDFLAGS last | Oliver Reiche | |
2023-05-30 | rules: Support for external toolchains | Oliver Reiche | |
2023-05-30 | rules: Use field_map_provider for default-ENV | Oliver Reiche | |
2023-04-18 | Merge commit '48f4317' | Klaus Aehlig | |
2023-04-18 | Merge commit '0db46fe' | Klaus Aehlig | |
2023-04-18 | Merge commit '9e061c2' | Klaus Aehlig | |
2023-04-18 | rules: Support protoc/grpc_cpp_plugin from defaults | 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-01-20 | Support flag-files for existing rules and expressions | Oliver Reiche | |
2023-01-20 | Add expression for reading artifacts from provider "package" | Oliver Reiche | |
2023-01-20 | Refactor flag substitution for "pkg-config" | Oliver Reiche | |
2023-01-20 | Fix shared lib pkg-version | Oliver Reiche | |
... which should be only set if SOVERSION is set. | |||
2023-01-10 | rules: Add support for pkg-config | Oliver Reiche | |
2023-01-10 | rules: Add rule "install-with-deps" | Oliver Reiche | |
2022-12-16 | rules: Implement ldflags for (shared) libraries | 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-09 | rules: ldflags have precedence over transitive link args | Oliver Reiche | |
2022-12-09 | rules: Create library in stage directory | Oliver Reiche | |