summaryrefslogtreecommitdiff
path: root/etc/defaults
AgeCommit message (Collapse)Author
2025-06-13Add a lint target for clang-tidyKlaus Aehlig
... using the already-committed configuration file and the version of clang-tidy that was imported from the toolchain.
2025-03-04Update grpc to v1.70.1Paul Cristian Sarbu
...together with its dependencies: - boringssl dec0d8f681348af8bb675e07bd89989665fca8bc - protobuf v29.0 - abseil 20240722.0 Also update the bootstrap command for ssl to account for the fact that now also the crypto library has fully moved to C++ and the location of its sources has changed.
2024-12-19just: Re-enable local project warning flagsOliver Reiche
2024-10-30Update to grpc v1.67.1Paul Cristian Sarbu
Update also direct dependencies: - boringssl b8b3e6e - google_apis fe8ba05 - protobuf v27.2 Also update the bootstrap build description for crypto library. Remove ssl patch for gcc-14 build as fix is now in upstream. Remove bytestream.proto patch as fix is now in upstream. Target utf8_range now taken only from protobuf, where it is first defined. For now, upb dependencies in grpc still taken from its own third_party subdirectory, as it is still kept synchronized with the corresponding tree in the corresponding protobuf version.
2024-08-22Use lint defaults as in rulesKlaus Aehlig
... inheriting path from CC and shell defaults.
2024-08-14lint: use standard launchersKlaus Aehlig
2024-07-12test summary defaults: use timesKlaus Aehlig
... as the default summarizer can make good use of that, if provided.
2024-05-23Add shell toolchain for all pkg-config dependenciesKlaus Aehlig
2024-05-15Add default targets for the upcoming shell toolchainv1.4.0-alpha+20240515Klaus Aehlig
2024-05-13boringssl: Add fix for building with gcc-14Oliver Reiche
... which is needed until this is merged: https://boringssl-review.googlesource.com/c/boringssl/+/68227
2024-04-30["CC", "defaults"] target: use "ADD_COMPILE_FLAGS"Klaus Aehlig
... to simplify definition.
2024-04-26deps: Update libarchive to v3.7.4Paul Cristian Sarbu
2024-04-19cleanup: remove left-over "arguments_config"Klaus Aehlig
... that is no longer used since d762bfa1953933dfac0a29a74523c25719396b8c
2024-04-12Update grpc to v1.62.1 and all its dependenciesPaul Cristian Sarbu
- update boringssl to commit ae72a45 - update protobuf to v25.1 - update abseil to v20240116.0 (including patches) Also add mirrors for third-party dependencies where known and hashes correspond.
2024-02-15defaults: Support fully static linkingOliver Reiche
... of all produced binaries, including the intermediate ones: protoc and grpc_cpp_plugin.
2023-09-27Use standard tools for pkg-configKlaus Aehlig
2023-08-28Silence warnings produced by older compilersOliver Reiche
... in particular options like '-Wno-array-parameter', which are needed to silence newer compilers are not supported by older ones. Hence, add '-Wno-unknown-warning-option' for all.
2023-08-24imports: Silence warnings of external codeOliver Reiche
2023-08-24lzma: Add missing definesOliver Reiche
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-17absl: Drop unused variablesOliver Reiche
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-16just: Add defaults for patchOliver Reiche
2023-08-11external: Update libarchive to v3.7.1Paul Cristian Sarbu
2023-08-08grpc and protobuf: use c++17Alberto Sartori
Due to a possible clang issue, protobuf v23.4 fails on debian-12 built with c++20. As such, protobuf and its consumer grpc have been set to build with c++17 until this is resolved upstream. Co-authored: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com>
2023-08-08external: Update protobuf to v23.4Paul Cristian Sarbu
This corresponds to the highest current version found in popular distros (in this case, the one in Arch Linux). The abseil library is now a dependency of protobuf (for logging).
2023-06-20imports: Add liblzmaOliver Reiche
2023-05-30defaults: Separate toolchain from compile flagsOliver Reiche
2023-05-30imports: Compose toolchain via install-with-depsOliver Reiche
... as they could contain run-libs.
2023-05-12external: silence additional warnings from dependencies...Paul Cristian Sarbu
...missed so far. These are not actionable from our side.
2023-05-04external: cleanup warnings from our dependenciesPaul Cristian Sarbu
2023-05-03grpc: fix google_apis proto targets dependenciesPaul Cristian Sarbu
2023-04-28external: Update protobuf to version 3.21.12Sascha Roloff
2023-04-28external: Update ssl to version 6195bf8Paul Cristian Sarbu
2023-04-28external: Update grpc to v1.53.0Sascha Roloff
This update also removes upb as external dependency. Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com>
2023-04-28Update absl to LTS 20230125.0Sascha Roloff
Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com>
2023-04-26imports: Switch to Microsoft GSL implementationOliver Reiche
... with two minor code base changes compared to previous use of gsl-lite: - dag.hpp: ActionNode::Ptr and ArtifactNode::Ptr are not wrapped in gsl::not_null<> anymore, due to lack of support for wrapping std::unique_ptr<>. More specifically, the move constructor is missing, rendering it impossible to use std::vector<>::emplace_back(). - utils/cpp/gsl.hpp: New header file added to implement the macros ExpectsAudit() and EnsureAudit(), asserts running only in debug builds, which were available in gsl-lite but are missing in MS GSL.
2023-04-18defaults: Use self-compiled protoc/grpc toolchainOliver Reiche
2023-03-24libgit2: Remove use of deprecated functions...Paul Cristian Sarbu
...and enforce this through the build description.
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-27libcurl: Update to latest v7.88.1Paul Cristian Sarbu
Main updates to build description: - remove unused defines of type "HAVE_<lib>_H" - add new variables that allow users to set explicitly the presence of some lib symbols - replace most defines of type "HAVE_<lib>" with "USE_<lib>" (to match the flag names) - added GLOBs (where it made sense) for increased maintainability
2023-02-24libarchive: Update to latest v3.6.2Paul Cristian Sarbu
Changes in build description: - fix capitalization of ENABLE_LIBGCC flag. - add new HIDE_SYMBOLS flag to allow hiding of export symbols; used similar logic as for libcurl to circumvent the original CHECK_C_SOURCE_COMPILES macro use.
2023-02-24libgit2: Update to v1.5.0Paul Cristian Sarbu
Changes to build description: - new USE_SHA256 flag - removed "Generic" option for USE_SHA1 - updated to the new source code structure (split "src/git2" into "src/libgit2" and "src/util")
2023-01-31Remove -Werror from externals' cflagsOliver Reiche
... and suppress new warnings thrown by clang-15. Co-authored-by: Michael Thies <mail@mhthies.de>
2022-12-21External: Add libarchive dependencyPaul Cristian Sarbu
2022-12-21External: Add bzip2 dependencyOliver Reiche
2022-12-21External: Add libcurl dependencyPaul Cristian Sarbu
2022-10-26grpc: Do not warn about unkonwn warning optionsOliver Reiche
2022-10-25grpc: Silence warnings depending on compilerOliver Reiche
2022-10-24grpc: silence warningsAlberto Sartori