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:
authorDJ Mountney <dj@gitlab.com>2022-04-29 18:52:41 +0300
committerDJ Mountney <dj@gitlab.com>2022-04-29 18:52:41 +0300
commitd1d0b76bcbe07eebc93d92a29162e799222d09d9 (patch)
tree50052f26fcfb60a286a349f13cca563f26de5775
parentc47bb5beba81703b7c2bb2b3d1c138cb667fa80c (diff)
Build git using symlinks to reduce sizebuild-git-with-symlinks
A recent change to how we build git resulted in 100s of MB of size increase in the omnibus packages and cloud native docker images. This change should bring the sizes back down.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 51160395b..b5b1e3696 100644
--- a/Makefile
+++ b/Makefile
@@ -159,6 +159,7 @@ ifeq ($(origin GIT_BUILD_OPTIONS),undefined)
GIT_BUILD_OPTIONS += NO_TCLTK=YesPlease
GIT_BUILD_OPTIONS += NO_GETTEXT=YesPlease
GIT_BUILD_OPTIONS += NO_PYTHON=YesPlease
+ GIT_BUILD_OPTIONS += INSTALL_SYMLINKS=YesPlease
PCRE_PC=libpcre2-8
ifeq ($(shell pkg-config --exists ${PCRE_PC} && echo exists),exists)
GIT_BUILD_OPTIONS += LIBPCREDIR=$(shell pkg-config ${PCRE_PC} --variable prefix)