Skip to content

Commit bd4da31

Browse files
authored
Update README.md (#3)
* Update README.md Provide exact OSX build instructions for cosmos chains because it's hard and rocksdb is fast. * Update README.md
1 parent 2c356d6 commit bd4da31

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,13 @@ Please note that this package might upgrade the required RocksDB version at any
1616
Vendoring is thus highly recommended if you require high stability.
1717

1818
*The [embedded CockroachDB RocksDB](https://github.com/cockroachdb/c-rocksdb) is no longer supported in gorocksdb.*
19+
20+
21+
## Exact example of building a cosmos chain on a mac
22+
23+
24+
```bash
25+
CGO_CFLAGS="-I/opt/homebrew/Cellar/rocksdb/6.27.3/include" \
26+
CGO_LDFLAGS="-L/opt/homebrew/Cellar/rocksdb/6.27.3/lib -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd -L/opt/homebrew/Cellar/snappy/1.1.9/lib -L/opt/homebrew/Cellar/lz4/1.9.3/lib/ -L /opt/homebrew/Cellar/zstd/1.5.0/lib/" \
27+
go install -tags rocksdb ./...
28+
```

0 commit comments

Comments
 (0)