mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
remove netgo tag on win (#7421)
This commit is contained in:
parent
80d06bc385
commit
6a7824c469
@ -14,7 +14,7 @@ builds:
|
||||
env:
|
||||
- CC=o64-clang
|
||||
- CXX=o64-clang++
|
||||
tags: [ nosqlite, noboltdb, netgo ]
|
||||
tags: [ nosqlite, noboltdb ]
|
||||
ldflags: -s -w
|
||||
|
||||
- id: darwin-arm64
|
||||
@ -25,7 +25,7 @@ builds:
|
||||
env:
|
||||
- CC=oa64-clang
|
||||
- CXX=oa64-clang++
|
||||
tags: [ nosqlite, noboltdb, netgo ]
|
||||
tags: [ nosqlite, noboltdb ]
|
||||
ldflags: -s -w
|
||||
|
||||
- id: linux-amd64
|
||||
@ -36,7 +36,7 @@ builds:
|
||||
env:
|
||||
- CC=x86_64-linux-gnu-gcc
|
||||
- CXX=x86_64-linux-gnu-g++
|
||||
tags: [ nosqlite, noboltdb, netgo ]
|
||||
tags: [ nosqlite, noboltdb ]
|
||||
ldflags: -s -w -extldflags "-static" # We need to build a static binary because we are building in a glibc based system and running in a musl container
|
||||
|
||||
- id: linux-arm64
|
||||
@ -47,7 +47,7 @@ builds:
|
||||
env:
|
||||
- CC=aarch64-linux-gnu-gcc
|
||||
- CXX=aarch64-linux-gnu-g++
|
||||
tags: [ nosqlite, noboltdb, netgo ]
|
||||
tags: [ nosqlite, noboltdb ]
|
||||
ldflags: -s -w -extldflags "-static" # We need to build a static binary because we are building in a glibc based system and running in a musl container
|
||||
|
||||
- id: windows-amd64
|
||||
@ -58,7 +58,7 @@ builds:
|
||||
env:
|
||||
- CC=x86_64-w64-mingw32-gcc
|
||||
- CXX=x86_64-w64-mingw32-g++
|
||||
tags: [ nosqlite, noboltdb, netgo ]
|
||||
tags: [ nosqlite, noboltdb ]
|
||||
ldflags: -s -w
|
||||
|
||||
|
||||
|
2
Makefile
2
Makefile
@ -28,7 +28,7 @@ CGO_CFLAGS += -Wno-error=strict-prototypes # for Clang15, remove it when can htt
|
||||
CGO_CFLAGS := CGO_CFLAGS="$(CGO_CFLAGS)"
|
||||
DBG_CGO_CFLAGS += -DMDBX_DEBUG=1
|
||||
|
||||
BUILD_TAGS = nosqlite,noboltdb,netgo # about netgo see: https://github.com/golang/go/issues/30310#issuecomment-471669125
|
||||
BUILD_TAGS = nosqlite,noboltdb # about netgo see: https://github.com/golang/go/issues/30310#issuecomment-471669125 and https://github.com/golang/go/issues/57757
|
||||
PACKAGE = github.com/ledgerwatch/erigon
|
||||
|
||||
GO_FLAGS += -trimpath -tags $(BUILD_TAGS) -buildvcs=false
|
||||
|
@ -413,7 +413,7 @@ $Erigon.Commit = [string]@(git.exe rev-list -1 HEAD)
|
||||
$Erigon.Branch = [string]@(git.exe rev-parse --abbrev-ref HEAD)
|
||||
$Erigon.Tag = [string]@(git.exe describe --tags)
|
||||
|
||||
$Erigon.BuildTags = "nosqlite,noboltdb,netgo"
|
||||
$Erigon.BuildTags = "nosqlite,noboltdb"
|
||||
$Erigon.Package = "github.com/ledgerwatch/erigon"
|
||||
|
||||
$Erigon.BuildFlags = "-trimpath -tags $($Erigon.BuildTags) -buildvcs=false -v"
|
||||
|
Loading…
Reference in New Issue
Block a user