summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2022-09-14Defaults: Fix setting TARGET_ARCH from ARCH if not setOliver Reiche
2022-09-14Defaults: Fix definition of ar binaryOliver Reiche
2022-09-13Defaults: Use hierarchical defaults for flags and toolchainOliver Reiche
2022-09-13Externals: Propagate ADD_{C,CXX}FLAGS variablesOliver Reiche
2022-09-13Externals: Propagate CC/CXX/CFLAGS/CXXFLAGS variablesOliver Reiche
2022-09-13Externals: Propagate 'COMPILER_FAMILY' and 'DEBUG' variablesOliver Reiche
2022-09-13Externals: Fixes for supporting cross-compilationOliver Reiche
2022-08-31Export targets that just used from external repositoriesKlaus Aehlig
So far, we did not export ["@", "grpc", "", "grpc++_codegen_proto"] and ["@", "grpc", "src/compiler", "grpc_cpp_plugin"]. Those targets where used implicitly in the generation of protobuf. As flexible config we use all variables those targets currently depend upon. This will have to be extended once cross compilation will be added. So far, the "TARGET_ARCH" is only used by targets that have different source files (typically inline assembly) for different target architectures. With cross compilation, also the tool chain will depend on the target architecture.
2022-08-04libgit2: Patch race condition with fake repositoriesOliver Reiche
2022-07-25Test bootstrapping against preinstalled dependenciesKlaus Aehlig
In particular, also add a target that explicitly all dependencies besides python3 and the C++ compiler which also serves as a machine checkable documentation.
2022-07-25Support bootstrapping from preinstalled sourcesKlaus Aehlig
For quick development, it is convenient to only need a C++ compiler and python3 and get all dependencies downloaded at the beginning of the bootstrap process. For packaging the tool, however, this is not a valid approach; dependencies should be managed by the packing tool there (so that security updates have to be fixed only at one place). So, for building our tool, the dependencies look like installed to the ambient environment.
2022-07-06External PCRE: Give meaningful error if OS/ARCH is not setOliver Reiche
2022-07-04Externals: Give meaningful error if OS/ARCH is not setOliver Reiche
... which is required for boringssl, libg2 and grpc.
2022-06-23Add distdir repo to just config and its targets filePaul Cristian Sarbu
2022-06-22Protobuf: Bump version to 3.12.4Oliver Reiche
2022-06-20Export remote-execution APIKlaus Aehlig
In this way, we follow our own standard practices of exporting targets to be used by other repositories. While for a couple of proto files, there shouldn't be a difference in performance, it is still good to have the interfaces cleaned up and documented.
2022-06-13externals: Use TREE reference for fmtlib headersOliver Reiche
2022-06-13grpc: Define as export targetOliver Reiche
2022-06-13zlib: Define as export targetOliver Reiche
2022-05-12Libraries can only depend on other librariesKlaus Aehlig
... and headers should be treated as headers.
2022-05-09external: Update CLI11 header-only library to latest versionOliver Reiche
... supporting trigger_on_parse() option, which allows to call option functions multiple times, instead of collecting the option values in a vector and processing this vector.
2022-05-02import git2: close header directory as a treeKlaus Aehlig
We assume that the git2 directory in the include-file path is owned by git2 and no other targets put files there. Document this by closing it up as a tree. (As a side effect we pass around fewer identifiers and reported runfiles list get easier to read.) Note that for the tree we can't use the TREE constructor, as, besides the source files, there is also a generated file contained in that directory.
2022-04-27repos.json: add stronger checksums for files obtained via the networkKlaus Aehlig
2022-04-27Remove ssl from bootstrap dependencyKlaus Aehlig
As our default (bundled) bootstrap brings a well defined version of ssl, use this also in the initial bootstrap step.
2022-04-27Remove libggit2 as host bootstrap dependencyKlaus Aehlig
Since in default (bundled) bootstrap, we bring our own version of libgit2, also use that for the initial bootstrap step.
2022-04-22rule ["CC", "header directory"]: drop ill-advised "public stage"Klaus Aehlig
The idea, as documented, of a header directory is to have a directory, closed as a tree, owned by the respective library and internally handled in an efficient way (as a single tree). If we open up that directory, we just have staged data, and therefore should treat it as such.
2022-04-19TARGETS.json: use TREE constructor to get whole directoryKlaus Aehlig
... instead of naming every single file. This will, on the one hand keep the targets file more readable and, on the other hand more easy to maintain.
2022-03-23repos.json: add pragma "to_git" for roots used by external projectsKlaus Aehlig
... so that they become fully content-fixed and we can benefit from target caching, once implemented.
2022-03-23remove obsolete targetsAlberto Sartori
By having a proper rule for CC/IDE, these targets are no longer needed
2022-03-23add just-ext-hdrs target to stage external headers is a given folderAlberto Sartori
This is useful when e.g. using an IDE to get access to the definition/ declaration of the symbols of external dependencies
2022-03-23Create IDE rule for CC targetsOliver Reiche
2022-03-16Format: Apply compact JSON formattingOliver Reiche
2022-03-14External libgit2: Inline filegroups used only onceOliver Reiche
2022-03-14External libgit2: Remove duplicate defineOliver Reiche
2022-03-04Patch away unused imports in bytestream.protoKlaus Aehlig
2022-03-03Externals: Set `-O2` and C standard `gnu17`Oliver Reiche
2022-03-03External gRPC: Disable warningsOliver Reiche
2022-03-03External libgit2: Disable warningsOliver Reiche
2022-03-03External re2: Disable warningsOliver Reiche
2022-03-03External absl: Disable warningsOliver Reiche
2022-02-28External libgit2: Fix header declarationOliver Reiche
2022-02-28External protobuf: Add missing zlib dependencyOliver Reiche
2022-02-25External bazel_remote_api: Add target for headers of CC bindingsOliver Reiche
2022-02-25External google_apis: Add target for headers of CC bindingsOliver Reiche
... and remove unused CC proto library target.
2022-02-23Add shell/test ruleKlaus Aehlig
... allowing to run simple tests given by a shell script.
2022-02-22Initial self-hosting commitKlaus Aehlig
This is the initial version of our tool that is able to build itself. In can be bootstrapped by ./bin/bootstrap.py Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com> Co-authored-by: Victor Moreno <victor.moreno1@huawei.com>