summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-17Release 1.2.2v1.2.2Klaus Aehlig
2023-10-17curl_easy_handle: Ensure we report a fail on HTTP codes >=400Paul Cristian Sarbu
...which signal either cient- or server-side failures. This ensures we exit with a failed network fetch early in cases where it is clear we won't receive useful data. (cherry-picked from 4ef74caa5d96471d058bd1c9542d79ad58538da7)
2023-10-17just-mr fetch: Fix exception on fetched data hash mismatchPaul Cristian Sarbu
After successfully fetching data over the network for an archive, if the optional checksums are not provided, the code will throw if there is a mismatch between the hash of the fetched data stream and the provided content hash. This commit fixes the issue by adding an additional check which properly handles the possible mismatch. (cherry-picked from 9acaa7f60c88c97f58b757ffb6ce206f3f2953a2)
2023-10-17Avoid conflicts on case-insensitive file systemsKlaus Aehlig
... by renaming test/end-to-end/targets. (cherry-picked from d95d8121199e2519aa441cb1a471cf5aec69574d)
2023-10-17bootstrap: for package builds use -Wno-pedanticKlaus Aehlig
... as well as the already present -Wno-error. In this way, packagebuilding should work out of the box on more systems. (cherry-picked from 5abcd4140a91236c7bda1c21ce69e76a28da7c8a)
2023-10-17utils: No hash for upcoming libstdc++ 11 releasesOliver Reiche
(cherry-picked from 82e0bd818aee1ca8751e0abf20455af88cc513bf)
2023-10-17Start 1.2.2 development cycleKlaus Aehlig
2023-08-29Release 1.2.1v1.2.1Klaus Aehlig
2023-08-29fmt: Specialize formatter only for version >= 10Oliver Reiche
(cherry picked from 53ba5581070bc8914a35a5e16af901c562923e61)
2023-08-29man: Fix missing quoting of literalsPaul Cristian Sarbu
(cherry picked from 3e4e2b6fcbffe5de62d7c3eab47fdf3987dc778d)
2023-08-28Fix path hash for libstdc++ bug-fix release 11.4Oliver Reiche
... std::hash<fs::path> was first implemented in libstdc++ version 12. However, that change was also backported to bug-fix release 11.4, so we may not include our reimplementation if that version is used. (cherry picked from 8fb4a41a63e5d195c2463ce0bc75e9d41cc0c5be)
2023-08-28Add explicit fmt::formatter for nlohmann::basic_jsonMichael Thies
The formatter is based on fmt's ostream_formatter, using the provided operator<<(std::ostream&) of nlohmann::basic_json. This is required to allow compilation against fmt 10.x (cherry picked from 601d546b8452159c38d65231d52f0dbd05e793d2) Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com>
2023-08-28absl: avoid off64_tKlaus T. Aehlig
... to improve portability (cherry picked from 2b2719c7507437d722ad673d8c563f1c54974770)
2023-08-28Start 1.2.1 development cycleOliver Reiche
2023-08-25Release 1.2.0v1.2.0Klaus Aehlig
2023-08-24tests: Improve error reporting in scriptsOliver Reiche
2023-08-24tests: Fix equal operator type mismatchOliver Reiche
... causing an error with gcc 13.2.0.
2023-08-24imports: Silence warnings of external codeOliver Reiche
2023-08-24lzma: Add missing definesOliver Reiche
2023-08-24LinkedMap: Simplify ::Find() methodsOliver Reiche
... to silence false-positive 'possible dangling reference' warning produced by gcc 13.2.0.
2023-08-24test: verify that actions with incompelete outputs are requestedKlaus Aehlig
... on next invocation, instead of being taken from cache.
2023-08-24Execution: only take complete actions from cacheKlaus Aehlig
... which are only actions that, besides giving exit code 0 also created all the outputs they promised to.
2023-08-23utils path: Add missing inline specifierOliver Reiche
... to suppress 'unused function' warnings.
2023-08-23target_map: Use iterators instead of pointer arithmeticOliver Reiche
2023-08-23just: split main codeKlaus Aehlig
... by moving the diagnose and cli related code into to separate libraries. In this way, we hopefully improve maintainability of the code base.
2023-08-23just-mr: Split main codePaul Cristian Sarbu
...by moving subcommands code into separate libraries. This maintains a cleaner code structure and lowers the build time by improving target caching.
2023-08-22Update tutorial to use latest version of rules-ccKlaus Aehlig
2023-08-22tutorial: Use new TOOLCHAIN_CONFIG variableOliver Reiche
2023-08-22Release 1.2.0~beta3v1.2.0-beta3Oliver Reiche
2023-08-21external: Update zlib to v1.3Paul Cristian Sarbu
Old K&R function definitions got cleaned upstream, which removes many warnings when building zlib with more recent compilers.
2023-08-21bundled absl: configure in a portable wayKlaus Aehlig
... by disabling auto-configuration. The problem that the result of this auto-configuration depends on the language standard used and may (and in case of libproto does) leak into public interfaces of consuming libraries; this would require every user of a library with a public dependency of absl to use the same language standard that library was built with. Such a requirement makes the rules hard to use in a portable way.
2023-08-21rules: Add documentation for the implict dependenciesKlaus Aehlig
2023-08-18absl: Do not require OS and ARCHOliver Reiche
... and use "linux" as default for OS. If TARGET_ARCH is "arm" or not set, link against -latomic (for required targets).
2023-08-18Release 1.2.0~beta2v1.2.0-beta2Klaus Aehlig
2023-08-18tutorial, third party: also mention pkg-config as optionKlaus Aehlig
While there, - remove the outdated claim that in package build of just the prebuilt library aproach of a header-only library with link dependencies is chosen, and - remove a wrong footnote separator.
2023-08-18documentation: third-party code may also be built using foreign toolsKlaus Aehlig
... while providing a native descirption still is the cleaner approach. Nevertheless, hinting on this fact early avoids scaring off novice users having a lot of dependencies.
2023-08-17["CC/test", "test"] rename implict dependencyKlaus Aehlig
... and document at the appropriate place
2023-08-17["CC/auto", "config_file"] rename implicit targetKlaus 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 dependenciesKlaus Aehlig
... and document at the appropriate places what can be overwritten by setting those targets.
2023-08-17tutorial: mention the describe subcommandKlaus Aehlig
... as a way to find out more about the defining rule of a target. While there, also be a bit more explicit about target naming and the fact that the default target is a target of the rules repository.
2023-08-17documentation: add some clarifying commentsKlaus Aehlig
... emphasizing that source files are just targets and that we could as well use a defined target there.
2023-08-17absl: Drop unused variablesOliver Reiche
2023-08-16Release 1.2.0~beta1v1.2.0-beta1Klaus Aehlig
2023-08-16Introduce configuration variable TOOLCHAIN_CONFIGOliver Reiche
... to pass along toolchain settings for current and future toolchain definitions. Configuration variable COMPILER_FAMILY is replaced by TOOLCHAIN_CONFIG["FAMILY"].
2023-08-16rules: Support BUILD_ARCH for CC defaultsOliver Reiche
2023-08-16just: Add defaults for patchOliver Reiche
2023-08-16patch: Support defaults for patch rulesOliver Reiche
... and extend compatibility by not relying on arguments that are only supported by GNU patch implementations.
2023-08-16patch: Drop patch-partOliver Reiche
... because it was using tool that are not part of coreutils. Using patch parts can still be done via patching patches.
2023-08-16rules: Propagate PATH list from defaultsOliver 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-16rules: Implement nub_left for PATHOliver Reiche