Commit 0ddb2bd 1 parent fc66cf7 commit 0ddb2bd Copy full SHA for 0ddb2bd
File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,23 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=sim \
59
59
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT ) \
60
60
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep ) "
61
61
62
+ # DB backend selection
62
63
ifeq (cleveldb,$(findstring cleveldb,$(COSMOS_BUILD_OPTIONS ) ) )
63
64
ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=cleveldb
64
65
endif
66
+ ifeq (badgerdb,$(findstring badgerdb,$(COSMOS_BUILD_OPTIONS ) ) )
67
+ ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=badgerdb
68
+ endif
69
+ # handle rocksdb
70
+ ifeq (rocksdb,$(findstring rocksdb,$(TENDERMINT_BUILD_OPTIONS ) ) )
71
+ CGO_ENABLED =1
72
+ BUILD_TAGS += rocksdb
73
+ endif
74
+ # handle boltdb
75
+ ifeq (boltdb,$(findstring boltdb,$(TENDERMINT_BUILD_OPTIONS ) ) )
76
+ BUILD_TAGS += boltdb
77
+ endif
78
+
65
79
ifeq (,$(findstring nostrip,$(COSMOS_BUILD_OPTIONS ) ) )
66
80
ldflags += -w -s
67
81
endif
Original file line number Diff line number Diff line change @@ -581,8 +581,6 @@ github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2l
581
581
github.com/tendermint/go-amino v0.16.0 /go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME =
582
582
github.com/tendermint/tendermint v0.34.0-rc3 h1:d7Fsd5rdbxq4GmJ0kRfx7l7LesQM7e70f0ytWLTQ/Go =
583
583
github.com/tendermint/tendermint v0.34.0-rc3 /go.mod h1:BoHcEpjfpBHc1Be7RQz3AHaXFNObcDG7SNHCev6Or4g =
584
- github.com/tendermint/tendermint v0.34.0-rc3.0.20200923104252-a2bbc2984bcc h1:3XcxG8ey0/+lHnyxt/qRkZtGkpWirzYDd67z3W4aS2s =
585
- github.com/tendermint/tendermint v0.34.0-rc3.0.20200923104252-a2bbc2984bcc /go.mod h1:yotsojf2C1QBOw4dZrTcxbyxmPUrT4hNuOQWX9XUwB4 =
586
584
github.com/tendermint/tendermint v0.34.0-rc4 h1:fnPyDFz9QGAU6tjExoQ8ZY63eHkzdBg5StQgDoeuK0s =
587
585
github.com/tendermint/tendermint v0.34.0-rc4 /go.mod h1:yotsojf2C1QBOw4dZrTcxbyxmPUrT4hNuOQWX9XUwB4 =
588
586
github.com/tendermint/tm-db v0.6.1 h1:w3X87itMPXopcRPlFiqspEKhw4FXihPk2rnFFkP0zGk =
You can’t perform that action at this time.
0 commit comments