summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2023-01-24Drop spourious bootstrap dependenciesKlaus Aehlig
A lot of the dependencies in the "just" repository are not for building just itself, but are used the the just-mr tool or for testing. As the bootstrap process, however, only bootstraps the just tool itself, drop those dependencies from the bootstrap process.
2023-01-24libgit2: Patch handling of per-remote no proxy settings in gitconfigPaul Cristian Sarbu
2023-01-24libgit2: Update to v1.2.0Paul Cristian Sarbu
2023-01-20tests: pass tls certificates and keyAlberto Sartori
2022-12-23imports: Fix missing link dependency for crypto-libOliver Reiche
... which privately depends on pthreads.
2022-12-22import of boringssl: fix export structureKlaus Aehlig
Both ["", "ssl"] and ["", "crypto"] are targets of "boringssl" that are intended for use outside this repository. Both depend on the ["CC", "library"]-target ["", "crytpo-lib"], in fact even visibly, as ssl has a library-dependency on the crypto library. Therefore, we have to follow the standard export pattern that all uses of this library go through the same (closest) export target. Fix this!
2022-12-21External: Add libarchive dependencyPaul Cristian Sarbu
2022-12-21External: Add bzip2 dependencyOliver Reiche
2022-12-21External: Add libcurl dependencyPaul Cristian Sarbu
2022-12-20libgit: Clean configure targetPaul Cristian Sarbu
Removed superfluous "OS" env var
2022-12-09rules: Refactoring and minor improvementsOliver Reiche
Compared to the previous commit, the action graphs for just and its unit tests are unchanged. - Git hash of action graph for ["",""]: c6e75f17abd7ffaab6ff9bb725ad67ec0bf6c973 - Git hash of action graph for ["test/buildtool","TESTS"]: 8063dfb3dd7daa9ae01d95c177e14946f785c57e Refactor: - "local cflags" to "private-cflags" - "local defines" to "private-defines" - "link externals" to "private-ldflags" - "deps" to "private-deps" for (test) binaries - "proto" to "private-proto" for binaries Improvements: - consistent variable declaration order: OS, ARCH, HOST_ARCH, TARGET_ARCH, CC, CXX, CFLAGS, CXXFLAGS, ADD_CFLAGS, ADD_CXXFLAGS, AR, ENV, PATH - use fields close to their definition (in RULES) - use common expression for binaries and test binaries - split expression "flags" and "compiler" ... to separate ones for CC and CXX. - rename "transition" to "deps-transition" ... to avoid conflicts with other transitions. - support "defaults-transition" for CC expressions Implement: - "cflags" for libraries - "private-cflags" for (test) binaries - "private-defines" for test binaries - "private-ldflags" for test binaries - (public) "defines" for libraries
2022-12-09rules: Drop the ["CC", "header directory"]Oliver Reiche
... in favor of the "tree" built-in rule.
2022-12-06Fix typo in libgit2 gssapi targetPaul Cristian Sarbu
2022-11-23git2: do not enforce configuration transition on depsKlaus Aehlig
In our packaging of git2, do not carry out a configuration transition that is visible to dependencies. While its dependencies, ssl and zlib, accept that TARGET_ARCH is defaulted to ARCH if unset and still return the same result, regardless which export targets are cached, we still should not enforce any configuration transition on dependencies as this has the potential to cause subtle conflicts. The implicit default of TARGET_ARCH to ARCH in zlib and ssl can stay, as those libraries do not depend on any other repositories.
2022-11-21["@", "zlib", "", "zlib"]: let "TARGET_ARCH" default to "ARCH"Klaus Aehlig
And in this way avoid that two configuration differing only in an unset TARGET_ARCH set to ARCH can be different due to one configration being in target-level cache, but not the other.
2022-11-21["@", "ssl", "", "crypto"] default TARGET_ARCH to ARCHKlaus Aehlig
In this way, we achieve that the target to be used by targets outside this repository is the same, regardless if an unset TARGET_ARCH is replaced by the value of ARCH. This is an assumption consuming targets (legitimately) make and that was violated if one of those configs is in target-level cache, but not the other.
2022-11-21git2: sys/features.h let TARGET_ARCH default to ARCHKlaus Aehlig
2022-11-10Move documentation of git2 options to export targetKlaus Aehlig
In this way, they can be more easily found using the standard just-mr --main com_github_libgit2_libgit2 describe '' git2 instead of searching for the documentation file next to the targets files in the import directory.
2022-11-03also honor additional flags in the early bootstrap phaseKlaus Aehlig
2022-11-02add missing variables to export targetsAlberto Sartori
2022-10-31bootstrap: allow overwriting of arKlaus Aehlig
... in the same way, as we support different names for cc and c++.
2022-10-26bootstrap: honor CC and CXX from build configurationKlaus Aehlig
... also in the first phases of the bootstrap procedure. Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com>
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
2022-10-24git2: silence warningsAlberto Sartori
2022-10-21grpc: silence warningsAlberto Sartori
2022-10-21absl: silence warningsAlberto Sartori
2022-10-20Install: Simplify building instructionsOliver Reiche
2022-10-10libgit2: Use new rule ["CC/auto", "config"]Oliver Reiche
2022-10-07libgit2: Configure entire library in high-level targetOliver Reiche
2022-10-05grpc: Simplify target definitionOliver Reiche
2022-09-21grpc: Fix missing propagation of COMPILER_FAMILYOliver Reiche
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-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.