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:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2022-10-12 09:42:23 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-10-12 16:24:55 +0300
commit4ea8df1174e84758bcc0322491d0457d3aecce2a (patch)
tree3ce475ff86fe7b4dbae0e112bf4393dd0702d8bf
parent374ae6c9473f7158cbcd23e0cf7ad4f189988f77 (diff)
Makefile: Stop building libgit2 CLIpks-libgit2-build-options-fixup
The libgit2 project has started to implement a CLI that tries to mimic Git commands in v1.5.0. This is nothing we need though, but it's still getting built by default and thus needlessly extends build times. Disable building the command line interface.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7614596e6..8d5bf2c37 100644
--- a/Makefile
+++ b/Makefile
@@ -191,6 +191,7 @@ LIBGIT2_INSTALL_DIR ?= ${DEPENDENCY_DIR}/libgit2/install
ifeq ($(origin LIBGIT2_BUILD_OPTIONS),undefined)
## Build options for libgit2.
LIBGIT2_BUILD_OPTIONS ?=
+ LIBGIT2_BUILD_OPTIONS += -DBUILD_CLI=OFF
LIBGIT2_BUILD_OPTIONS += -DBUILD_TESTS=OFF
LIBGIT2_BUILD_OPTIONS += -DBUILD_SHARED_LIBS=OFF
LIBGIT2_BUILD_OPTIONS += -DCMAKE_C_FLAGS=-fPIC