summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-05LocalAction: Improve error message for stagingOliver Reiche
2022-10-05AnalysedTarget: Make shared pointer's content immutableOliver Reiche
... while technically not required, it makes it harder to run into nasty errors.
2022-10-05just-mr.py: for the fetch subcommand acutally fetchKlaus Aehlig
A checkout does not necessarily fetch an archive: if we already have the git tree for that archive, this is enough to create a build root. For the fetch command, however, we need to have the actual archive as we have to copy it to the distdir. Of course, we only create the git tree once we got hold of the archive. However, with the introduction of CAS purging, the invariant that we have the archive whenever we can create a build root will no longer be true. This is acutally a feature as the git trees can be stored more compactly if we accumulate different release archives of the same upstream project. However, it also means that we explicitly have to fetch the archive in the fetch subcommand. Do this.
2022-10-04just: Fix version subcommand; Fix just section-1 man pagePaul Cristian Sarbu
The version subcommand now has no expected command line options, as expected. Also the version subcommand was missing from the man page synopsis.
2022-09-21grpc: Fix missing propagation of COMPILER_FAMILYOliver Reiche
2022-09-16Also log dumping of the action graphKlaus Aehlig
... at INFO level, in the same way as all other dumping of analysis results happen.
2022-09-16Toolchain: Disable ABI warning for 32bit ARM GCCOliver Reiche
2022-09-16externals: Selectively disable remaining warningsOliver Reiche
2022-09-16protobuf: Precisely replicate original flagsOliver Reiche
2022-09-16grpc: Precisely replicate original flagsOliver Reiche
2022-09-16abseil: Precisely replicate original flagsOliver Reiche
2022-09-16libgit2: Precisely replicate original flagsOliver Reiche
2022-09-14rules: Fix ar binary not taken from defaultsOliver Reiche
2022-09-14Defaults: Fix setting TARGET_ARCH from ARCH if not setOliver Reiche
2022-09-14Defaults: Fix definition of ar binaryOliver Reiche
2022-09-13Doc: Update install instructions for cross-compilationOliver Reiche
2022-09-13Just: Set default TARGET_ARCH and COMPILER_FAMILYOliver 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-13Rules: Implement setting ADD_{C,CXX}FLAGS via variablesOliver Reiche
2022-09-13Rules: Implement hierarchical defaultsOliver Reiche
2022-09-13Rules: Extend configure rule by 'compiler_family'Oliver Reiche
2022-09-13Externals: Fixes for supporting cross-compilationOliver Reiche
2022-09-13Fix build with gcc/g++Oliver Reiche
2022-09-13Fix arch-specific type mismatchOliver Reiche
2022-09-13Fix wrongful conversions of object to arraysOliver Reiche
... by dropping curl-brace-initializers for nlohmann::json, which calls the intializer-list constructor converting any JSON type to array.
2022-09-13Executor: Avoid use of dynamic memoryOliver Reiche
2022-09-12Added end-to-end test for the synchronization of target-level cached ↵Sascha Roloff
artifacts between remote and local CAS
2022-09-12Removed prefix from execution backend hash to fix target cache directory nameSascha Roloff
2022-09-12Adapted Executor to upload known artifacts from local CAS to remote CAS in ↵Sascha Roloff
case they got pruned
2022-09-12Adapted TargetCache to download known artifacts from remote CAS to local CASSascha Roloff
2022-09-12Introduced RetrieveToCas function in IExecutionApi to synchronize artifacts ↵Sascha Roloff
between different CASes
2022-09-12BazelApi chunk availability check returns provided ArtifactDigestsSascha Roloff
2022-09-12Removed ArtifactDigest is_tree() predicateSascha Roloff
2022-09-12fix the path of the local tree-cas for compatible modeAlberto Sartori
in daca274041e31636f08927b0cebc56fd33c7bbdf it has been added a local tree-cas. This cas is populated only when just runs in native mode. However, even in compatible mode, a tree must be looked for in the tree-cas. This patch set the path of the tree-cas to be the same of file-cas while running in compatible mode.
2022-09-12Fixed tree handling in compatible mode and added regression testSascha Roloff
2022-08-31Also track the the dependencies on configured targetsKlaus Aehlig
... to be able to report the respective graph for later analysis by other tools.
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-26tutorial/test: demonstrate that the internals of the test are availableKlaus Aehlig
... by explaining how to install the test binary and manually interact with it. This also shows how to inspect an action for debugging.
2022-08-26tutorial/thrid-party-software: clarify tree refrenceKlaus Aehlig
... emphasizing that it constructs only a single artifact. In this way, we avoid confusion with globs (that are introduced later).
2022-08-24Glob tutorial: fix typos and white spaceKlaus Aehlig
2022-08-23Add new tutorial sections to READMEKlaus Aehlig
2022-08-23Add a tutorial section explaining targets vs explicit source referencesKlaus Aehlig
2022-08-23Add a rule to overlay artifact mapsKlaus Aehlig
... in a latest-wins fashion. The intended use case is overlaying globs with individual patched files.
2022-08-23Track tree references that have to be expandedKlaus Aehlig
... as this is relevant for performance of analysis. We log the total numer of trees at performance level and the individual directories at debug level, if requested.
2022-08-22Progress percentage: only count actual workKlaus Aehlig
When reporting the percentage already completed, only report actions that were actually run. Cache hits are considered by reducing the overall work to be considered, i.e., by making the completed actions count more. In practice, however, most cache hits are discovered ayway till the first progress status is reported.
2022-08-22Tutorial: Add minimalistic getting started sectionOliver Reiche
2022-08-19Tutorial: Use sh instead shell for improved renderingOliver Reiche