From 0359ff6f9e4bca849be0779f7c663fd43524a77d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Gajdulewicz?= Date: Tue, 12 Sep 2023 12:10:10 +0200 Subject: [PATCH] Delve for all packages (#56535) --- sg.config.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/sg.config.yaml b/sg.config.yaml index 407d0ca5a0a..4887befc7f5 100644 --- a/sg.config.yaml +++ b/sg.config.yaml @@ -155,7 +155,7 @@ commands: .bin/frontend install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/frontend github.com/sourcegraph/sourcegraph/cmd/frontend checkBinary: .bin/frontend @@ -176,7 +176,7 @@ commands: cmd: .bin/gitserver install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/gitserver github.com/sourcegraph/sourcegraph/cmd/gitserver checkBinary: .bin/gitserver @@ -214,7 +214,7 @@ commands: cmd: .bin/github-proxy install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/github-proxy github.com/sourcegraph/sourcegraph/cmd/github-proxy checkBinary: .bin/github-proxy @@ -229,7 +229,7 @@ commands: .bin/repo-updater install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/repo-updater github.com/sourcegraph/sourcegraph/cmd/repo-updater checkBinary: .bin/repo-updater @@ -244,7 +244,7 @@ commands: cmd: .bin/symbols install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/symbols github.com/sourcegraph/sourcegraph/enterprise/cmd/symbols @@ -267,7 +267,7 @@ commands: .bin/embeddings install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/embeddings github.com/sourcegraph/sourcegraph/enterprise/cmd/embeddings @@ -293,7 +293,7 @@ commands: .bin/worker install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/worker github.com/sourcegraph/sourcegraph/enterprise/cmd/worker watch: @@ -307,7 +307,7 @@ commands: .bin/cody-gateway install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/cody-gateway github.com/sourcegraph/sourcegraph/cmd/cody-gateway @@ -332,7 +332,7 @@ commands: .bin/pings install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/pings github.com/sourcegraph/sourcegraph/cmd/pings @@ -351,7 +351,7 @@ commands: cmd: .bin/searcher install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/searcher github.com/sourcegraph/sourcegraph/cmd/searcher checkBinary: .bin/searcher @@ -492,7 +492,7 @@ commands: .bin/codeintel-worker install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/codeintel-worker github.com/sourcegraph/sourcegraph/cmd/precise-code-intel-worker checkBinary: .bin/codeintel-worker @@ -508,7 +508,7 @@ commands: env TMPDIR="$HOME/.sourcegraph/executor-temp" .bin/executor install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/executor github.com/sourcegraph/sourcegraph/cmd/executor checkBinary: .bin/executor @@ -641,7 +641,7 @@ commands: # Ensure the old blobstore Docker container is not running docker rm -f blobstore if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -o .bin/blobstore github.com/sourcegraph/sourcegraph/cmd/blobstore checkBinary: .bin/blobstore @@ -921,7 +921,7 @@ commands: .bin/sourcegraph install: | if [ -n "$DELVE" ]; then - export GCFLAGS='-N -l' + export GCFLAGS='all=-N -l' fi go build -gcflags="$GCFLAGS" -ldflags="-X github.com/sourcegraph/sourcegraph/internal/conf/deploy.forceType=app" -o .bin/sourcegraph github.com/sourcegraph/sourcegraph/cmd/sourcegraph checkBinary: .bin/sourcegraph