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-03-30 14:50:09 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-04-01 10:15:29 +0300
commit4bfe8e844e53595d7f115332d0fd6acc18e84a27 (patch)
treeeb879035fc2d4daa5eda3f29d9c11ce5d4ab8b51
parent8b5fee4161804aabdeeaf5cf549481f5d22889c5 (diff)
Makefile: Silence output when building Gitaly executables
Building Gitaly's Go executables is extremely verbose when generating build IDs. Silence the output so that important signals aren't drowned out by the noise.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index af7bcd529..ba495f7cf 100644
--- a/Makefile
+++ b/Makefile
@@ -288,7 +288,7 @@ ${GITALY_EXECUTABLES}:
@ # If we cannot extract a Go build-id, we punt and fallback to using a random 32-byte hex string.
@ # This fallback is unique but non-deterministic, making it sufficient to avoid generating the
@ # GNU build-id from the empty string and causing guaranteed collisions.
- GO_BUILD_ID=$$( go tool buildid $(addprefix ${BUILD_DIR}/bin/, $@) || openssl rand -hex 32 ) && \
+ ${Q}GO_BUILD_ID=$$( go tool buildid $(addprefix ${BUILD_DIR}/bin/, $@) || openssl rand -hex 32 ) && \
GNU_BUILD_ID=$$( echo $$GO_BUILD_ID | sha1sum | cut -d' ' -f1 ) && \
go install -ldflags '${GO_LDFLAGS}'" -B 0x$$GNU_BUILD_ID" -tags "${GO_BUILD_TAGS}" $(addprefix ${GITALY_PACKAGE}/cmd/, $@)
endif