summaryrefslogtreecommitdiff
path: root/etc/import
AgeCommit message (Collapse)Author
2023-05-15Third-party descriptions: be flexible on PKG_CONFIG_PATHKlaus Aehlig
Using only our third-party descriptions, the build is independent of PKG_CONFIG_PATH. However, when combinging our third-party descriptions with dependencies taken from the system via pkg-config there is a dependency of PKG_CONFIG_PATH due to those indirect dependencies. Therefore, allow flexible PKG_CONFIG_PATH to support such a mixed bootstrapping.
2023-05-12Clean up export structure of remaining just dependenciesSascha Roloff
2023-05-12Clean up export structure of libabslSascha Roloff
2023-05-04external: cleanup warnings from our dependenciesPaul Cristian Sarbu
2023-05-03grpc: fix build fail with protobuf in debug modePaul Cristian Sarbu
2023-05-03protobuf: silence invalid-noreturn warningPaul 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 zlib to version 1.2.13Sascha Roloff
2023-04-28external: Update c-ares to version 1.17.2Paul Cristian Sarbu
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-28external: Update google_apis to 2f9af29...Paul Cristian Sarbu
...as required by grpc v1.53.0
2023-04-28Update absl to LTS 20230125.0Sascha Roloff
Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com>
2023-04-27imports: Support pkg-config for curl/archive/ares/zlibOliver Reiche
... and align lib names to commonly used pkg names.
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-26grpc: Fix non-deterministic lib combineOliver Reiche
2023-04-18imports: Fix GRPC dependenciesOliver Reiche
... as the BUILD.bazel files that are the basis for the TARGETS files seen to declare the dependencies in an incomplete way. Target `grpc_base_c` needs `grpc_init()` and `grpc_shutdown()` from target `grpc` (source `init.cc`). Adding this target dependency results in a cycle. This commit solves the issue by producing fewer but larger libraries (as done in GRPC's CMakeLists.txt): - `libgpr.a`: all gpr code - `libgrpc.a`: all gprc code, depending on `libgpr.a` - `libgrpc++.a`: all grpc++ code, depending on `libgrpc.a`
2023-04-18imports: Match original export target namesOliver Reiche
2023-03-30libgit2: Remove fix-fake-repo patchPaul Cristian Sarbu
2023-03-24external: Update libcurl to v8.0.1Paul Cristian Sarbu
Major version release, with important fixes for our use-case.
2023-03-24external: update libgit2 to v1.5.2Paul Cristian Sarbu
This is the last (and recommended) revision of minor v1.5.
2023-03-15catch2: bump to version 3.3.2Alberto Sartori
tests have been updated accordingly
2023-03-15add missing ldflags -pthread and use -pthread consistentlyAlberto Sartori
2023-03-13Update CLI11 to 2.3.2Klaus Aehlig
2023-03-10execution service: implement WaitExecution and ↵Alberto Sartori
google::longrunning::Operations::GetOperation For each action that is executed, an entry is added to a shared thread safe cache. Once the number of operations stored exceeds twice 2^n, where n is given by the option --log-operations-threshold, at most 2^n operations will be removed, in a FIFO scheme.
2023-02-28Various typo fixesPaul Cristian Sarbu
Co-authored-by: Sascha Roloff <sascha.roloff@huawei.com>
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-02-17bugfix: export CXX related config_vars on pure C libs that depend onAlberto Sartori
CXX libs
2023-02-14Targets: Make ares library an export target...Paul Cristian Sarbu
...as it is consumed by both grpc and libcurl. This makes sure that both those libraries see the same ares target.
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
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-02add missing variables to export targetsAlberto Sartori
2022-10-25grpc: Silence warnings depending on compilerOliver Reiche