Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2022-10-11 22:53:30 +0300
committerStan Hu <stanhu@gmail.com>2022-10-11 22:53:30 +0300
commit30f3025ec1e8b61c86c665d8b7752cc30332aab3 (patch)
tree26b2b34c98bf01b8c6128e26f84c2ab65b31435e
parent75988ddcf291db31dbb60135a1573f074a0e763d (diff)
Disable building of libgit2 tests
The tests require Python, which is not present on Cloud Native GitLab images. Relates to https://gitlab.com/gitlab-org/gitaly/-/merge_requests/4912#note_1132067823
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8cd6e6c1f..66e0aadfd 100644
--- a/Makefile
+++ b/Makefile
@@ -206,6 +206,7 @@ ifeq ($(origin LIBGIT2_BUILD_OPTIONS),undefined)
LIBGIT2_BUILD_OPTIONS += -DUSE_BUNDLED_ZLIB=ON
LIBGIT2_BUILD_OPTIONS += -DUSE_HTTP_PARSER=builtin
LIBGIT2_BUILD_OPTIONS += -DREGEX_BACKEND=builtin
+ LIBGIT2_BUILD_OPTIONS += -DBUILD_TESTS=OFF
endif
ifdef LIBGIT2_APPEND_BUILD_OPTIONS