From 8855d9936fc35a3b306cbb6af7f6742b0f8814bc Mon Sep 17 00:00:00 2001 From: Mircea Colonescu Date: Mon, 17 Jan 2022 17:30:40 -0500 Subject: [PATCH] add rocksdb option to makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index ea7d83fb032..c159e8c3f3c 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,8 @@ endif ifeq (cleveldb,$(findstring cleveldb,$(OSMOSIS_BUILD_OPTIONS))) build_tags += gcc +else ifeq (rocksdb,$(findstring rocksdb,$(OSMOSIS_BUILD_OPTIONS))) + build_tags += gcc endif build_tags += $(BUILD_TAGS) build_tags := $(strip $(build_tags)) @@ -58,6 +60,8 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=osmosis \ ifeq (cleveldb,$(findstring cleveldb,$(OSMOSIS_BUILD_OPTIONS))) ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=cleveldb +else ifeq (rocksdb,$(findstring rocksdb,$(OSMOSIS_BUILD_OPTIONS))) + ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=rocksdb endif ifeq (,$(findstring nostrip,$(OSMOSIS_BUILD_OPTIONS))) ldflags += -w -s