summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-07libgit2: Configure entire library in high-level targetOliver Reiche
2022-10-07Bump suffix after fixing upload of known treesKlaus Aehlig
2022-10-07Fix upload of known source treesOliver Reiche
When a tree is taken from a git root, it is not necessarily known on the remote site. So, as any missing artifact it has to be uploaded, recursively uploading the parts to keep the tree invariant. The function RetrieveToCas was doing the correct recursiv pattern, however inspecting trees incorrectly using the function ReadTreeInfos; the latter function, however, was obtaining all the leafs of the tree as is needed for a compatible action-input description. Add and use a function that reads the direct contents of a tree.
2022-10-07LocalTreeMap: Drop the use of the map entirelyOliver Reiche
... as for remote execution, the map entries are only used for the `install` subcommand. For local execution, much less tree objects are read from CAS when using this map. However, the performance benefit is barely measurable and therefore we rather remove this map entirely to reduce complexity.
2022-10-07LocalTreeMap: Prevent tree objects from being storedOliver Reiche
... to align with the original idea of caching a flat list of blob objects, without the need to recursively traverse any trees. Consequently, we cannot create any map entry in places where we do not have all sub-tree entries at hand (e.g., LocalAPI, BazelAPI, BazelResponse).
2022-10-07BazelNetwork: Fix use of DirectoryMap in native modeOliver Reiche
... which is not using `Directory` messages nor does it support the `GetTree()` rpc.
2022-10-07Tutorial: add section on `just rebuild`Klaus Aehlig
2022-10-07Increase log level for grpc-related failures to warningKlaus Aehlig
... so that any infra structure problem on the remote execution is reported by default.
2022-10-07Improve error message on filure to execute a remote actionKlaus Aehlig
... to emphasize that this is the extensional action identifier, not the intensional one.
2022-10-05Doc: Describe usage of 'configure' built-inOliver Reiche
2022-10-05Test: Add tests for 'configure' built-inOliver Reiche
2022-10-05built-ins: Add new built-in rule 'configure'Oliver Reiche
2022-10-05Doc: Describe usage of 'env' expressionOliver Reiche
2022-10-05Test: Add tests for 'env' expressionOliver Reiche
2022-10-05Expr: Add 'env' expressionOliver Reiche
2022-10-05Bootstrap: Support ARM architecturesOliver Reiche
2022-10-05grpc: Simplify target definitionOliver Reiche
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